Some Bug Reports

122 views
Skip to first unread message

land....@gmail.com

unread,
May 11, 2014, 3:55:51 PM5/11/14
to tunnelbli...@googlegroups.com
Hey,
just a few issues I'm having with 3.4b26. They are not very urgent though.

  1. In VPN Details a button's caption is "Copy to Clipboard$" (see attached screen shot).
  2. After the connection was established, the timer in the HUD is sometimes stuck at 00:00 until the HUD is closed and reopened.
  3. The HUD doesn't appear for me when hovering over the icon in the menubar (Appearance -> "Show when the pointer is over the Tunnelblick icon" is checked)
  4. The log view in VPN Details is not perfectly positioned. (see attached screen shot)
  5. I've got the message that /usr is insecure. Unfortunately there is no entry on the linked page with the proper permissions for /usr. As a result, Tunnelblick froze and was beachballing every time I woke my machine up from sleep. I could however fix the problem with "chown root:wheel /usr; chown root:admin /;"

My system: PowerBook G4, Mac OS X 10.5.8.

jkbull...gmail.com

unread,
May 11, 2014, 6:32:52 PM5/11/14
to tunnelbli...@googlegroups.com, land....@gmail.com
Thank you very much for these reports. I wish more people would report bugs!

I've already found the cause of #1 (the "Copy to Clipboard$" problem) and will fix it in time for the next release. (It only shows up on OS X 10.5 and lower.)

#2 and #3 will take me more time, too -- I'll have to dust off my 10.5 machine.

By #4, "log view in VPN Details is not perfectly positioned", do you mean the top left corner should be higher up and to the left? Good catch! Again, that will be fixed in the next release.

I'll look into #5. I haven't been aware of anything that messes with /usr, so I never compiled a list of what ownership/permissions it should have on various versions of OS X. When I've done that I will either add that to the discussion (which is at https://groups.google.com/d/msg/tunnelblick-discuss/jZnYOL8zIN8/l4ozoQMZN4MJ) or maybe add a Tunnelblick wiki page about the permissions on system folders. I don't even know how to find out the ownership/permissions on "/", though, so I probably won't mess with that. The problem with this whole topic is that the OS X 10.4 and 10.5 Disk Utility doesn't fix ownership/permission on some -- maybe most? -- system files. So I can't know for sure what the correct permissions should be without making a clean install, which is a lot of work.

Thanks again.

land....@gmail.com

unread,
May 12, 2014, 2:49:10 AM5/12/14
to tunnelbli...@googlegroups.com, land....@gmail.com
On Monday, May 12, 2014 3:55:51 UTC+2 jkbull...gmail.com wrote:
Thank you very much for these reports. I wish more people would report bugs!


Thank you for doing such awesome work and keeping everything compatible even with 10.4! 

 
I've already found the cause of #1 (the "Copy to Clipboard$" problem) and will fix it in time for the next release. (It only shows up on OS X 10.5 and lower.)

Awesome!  
 
#2 and #3 will take me more time, too -- I'll have to dust off my 10.5 machine.

I'll test it on my Snow Leopard machine also the next time I get to it.

 
By #4, "log view in VPN Details is not perfectly positioned", do you mean the top left corner should be higher up and to the left? Good catch! Again, that will be fixed in the next release.

 Exactly. css { left: -10px; top: -10px; } should do it ;-) 
 
I'll look into #5. I haven't been aware of anything that messes with /usr, so I never compiled a list of what ownership/permissions it should have on various versions of OS X. When I've done that I will either add that to the discussion (which is at https://groups.google.com/d/msg/tunnelblick-discuss/jZnYOL8zIN8/l4ozoQMZN4MJ) or maybe add a Tunnelblick wiki page about the permissions on system folders. I don't even know how to find out the ownership/permissions on "/", though, so I probably won't mess with that. The problem with this whole topic is that the OS X 10.4 and 10.5 Disk Utility doesn't fix ownership/permission on some -- maybe most? -- system files. So I can't know for sure what the correct permissions should be without making a clean install, which is a lot of work.

To find out the ownership/permissions on "/" I just did "ls -al / | head -n 2 | tail -n 1", but I have absolutely no idea if that's the correct way of doing it.

The thing with Disk Utility is that afaik it just goes through the install recipes and changes the permissions for the files it has a recipe for.

Maybe they have changed that with Snow Leopard or they added a recipe for all the system folders.


jkbull...gmail.com

unread,
May 12, 2014, 10:52:41 PM5/12/14
to tunnelbli...@googlegroups.com, land....@gmail.com
OK. I have figured out what is going on with #3: Leopard's "now" function does not seem to be related to the "timestamps" that it uses for certain events. I knew it was a problem on Tiger, but thought it was OK for Leopard (it's a problem on PPC Leopard, anyway -- maybe it's OK for Intel Leopard).

I haven't been able to reproduce #2 ("After the connection was established, the timer in the HUD is sometimes stuck at 00:00 until the HUD is closed and reopened."). Although I can imagine how it might be due to something similar to the problem with Leopard's "now" function and timestamps, I can't find anything in the code that would cause the problem (that code, although related to a timer, doesn't use event timestamps).

If anyone else is having problem #2, I would appreciate hearing about the circumstances; please include your version of OS X and processor.

I've committed fixes for #1, #3, and #4 to the source code as r2847. r2847 also includes some tweaking of other UI elements.

I have prepared a "snapshot" (pre-release) version of Tunnelblick that includes the fixes (among others). I will email land…@gmail.com with a link to download the snapshot; anyone else who wants a link can email me at jkbullard at gmail for the link.

jkbull...gmail.com

unread,
May 18, 2014, 11:06:55 PM5/18/14
to tunnelbli...@googlegroups.com, land....@gmail.com
I have fixed (for the most part) several problems related to #2 ("the timer in the HUD is sometimes stuck at 00:00…") and a new Snapshot is available with the fixes. I don't know if they will fix this specific problem -- there are still circumstances under which the display will not update (while waiting for Finder to allow access to the Keychain, for example) but most of the time the statistics and timer will update.

Note: the fixes apply only to OS X 10.5 ("Leopard") and higher, so there are additional situations on OS X 10.4 ("Tiger") in which the statistics and timer do not update.

Anyone may email me at jkbullard at gmail to get a link to the Snapshots. (It is the same link as before, so if you already have the link just go there -- the page has been updated.)
Reply all
Reply to author
Forward
0 new messages