Automatic Installation with current version

138 views
Skip to first unread message

D Apple

unread,
Aug 29, 2016, 2:28:14 PM8/29/16
to tunnelblick-discuss
I have previously been able to create a compressed file with the application and an auto-install folder with a tblk profile inside to deploy profiles to my users.  The latest version however will not install with the profiles.  Right after clicking "Only Me" the installation hangs with a message stating "The installation or repair took too long or failed. Try again?"  If they then install the app without the auto-install folder present or by direct download, it will install correctly and their profiles from the compressed folder are already in place.  Previous versions worked correctly and current users are not having any issues upgrading to the current version either.  HAs something changed in the format that is needed for auto-install profiles to work?

Tunnelblick developer

unread,
Aug 29, 2016, 2:54:35 PM8/29/16
to tunnelblick-discuss
Nothing has changed that i know of. What was the last version that worked? What version is not working?

The Console log should have details about what the problem was, so post them if you can, too.

D Apple

unread,
Aug 29, 2016, 3:30:22 PM8/29/16
to tunnelblick-discuss
3.6.5 build 4566 works, 3.6.6 build 4582 does not.  

Console log that appears relevant:
8/29/16 12:24:21.894 PM Tunnelblick[80953]: Beginning installation or repair
8/29/16 12:24:21.905 PM authexec[80965]: executing /Users/davidapple/Documents/Deploy/Current TGZs/david.apple-Tunnelblick/Tunnelblick.app/Contents/Resources/installer
8/29/16 12:24:22.269 PM Tunnelblick[80953]: installer reported failure: /Users/davidapple/Documents/Deploy/Current TGZs/david.apple-Tunnelblick/Tunnelblick.app/Contents/Resources/installer: (
    1,
    "/Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk",
    "/private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk"
)
8/29/16 12:24:24.701 PM Tunnelblick[80953]: Retrying execution of installer
8/29/16 12:24:24.716 PM authexec[80970]: executing /Users/davidapple/Documents/Deploy/Current TGZs/david.apple-Tunnelblick/Tunnelblick.app/Contents/Resources/installer
8/29/16 12:24:25.068 PM Tunnelblick[80953]: installer reported failure: /Users/davidapple/Documents/Deploy/Current TGZs/david.apple-Tunnelblick/Tunnelblick.app/Contents/Resources/installer: (
    0,
    "/Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk",
    "/private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk"
)
8/29/16 12:24:25.668 PM Tunnelblick[80953]: Installation or repair failed; Log:
Tunnelblick installer started 2016-08-29 12:24:21. 3 arguments: 0x0001
     /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
     /private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk
Created directory /Library/Application Support/Tunnelblick with owner 0:80 and permissions 755
Changed ownership of /Library/Application Support/Tunnelblick from 0:80 to 0:0
Created directory /Library/Application Support/Tunnelblick/Logs with owner 0:0 and permissions 755
Created directory /var/log/Tunnelblick with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Shared with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Tblks with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Users with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Users/davidapple with owner 0:0 and permissions 755
Changed ownership of /Users/davidapple/Library/Application Support/Tunnelblick from 501:20 to 501:80
Changed ownership of /Users/davidapple/Library/Application Support/Tunnelblick/Configurations from 501:20 to 501:80
Copied /private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk
    to /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk.temp
Renamed /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk.temp
     to /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
Changed ownership of /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk and its contents from 501:20 to 501:80
Copied /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
    to /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk.temp
Renamed /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk.temp
     to /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk
Changed ownership of /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk and its contents from 501:80 to 0:0
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents/Resources
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents/Resources/config.ovpn
Created secure (shadow) copy of david.apple.tblk
Need to replace and/or reload 'tunnelblickd'
Installed /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist
Used launchctl to load tunnelblickd
Could not find tunnelblickd at '/Applications/Tunnelblick.app/Contents/Resources/tunnelblickd'
Tunnelblick installer started 2016-08-29 12:24:24. 3 arguments: 0x0000
     /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
     /private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk
Copied /private/var/folders/bt/dnzt03ms5vl5mrs7lmccj7t80000gn/T/Tunnelblick-TNLCuQ/david.apple.tblk
    to /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk.temp
Renamed /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk.temp
     to /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
Changed ownership of /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk and its contents from 501:20 to 501:80
Deleted /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk
Copied /Users/davidapple/Library/Application Support/Tunnelblick/Configurations/david.apple.tblk
    to /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk.temp
Renamed /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk.temp
     to /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk
Changed ownership of /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk and its contents from 501:80 to 0:0
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents/Resources
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/davidapple/david.apple.tblk/Contents/Resources/config.ovpn
Updated secure (shadow) copy of david.apple.tblk
Need to replace and/or reload 'tunnelblickd'
Replaced /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist
Used launchctl to load tunnelblickd
Could not find tunnelblickd at '/Applications/Tunnelblick.app/Contents/Resources/tunnelblickd'
8/29/16 12:24:25.668 PM Tunnelblick[80953]: applicationShouldTerminate: termination because of Quit; delayed until 'shutdownTunnelblick' finishes
8/29/16 12:24:25.679 PM Tunnelblick[80953]: Need to replace and/or reload 'tunnelblickd'
8/29/16 12:24:25.679 PM Tunnelblick[80953]: Not unloading kexts and not deleting logs because tunnelblickd is not loaded.
8/29/16 12:24:25.679 PM Tunnelblick[80953]: Finished shutting down Tunnelblick; allowing termination

D Apple

unread,
Aug 29, 2016, 3:34:37 PM8/29/16
to tunnelblick-discuss
And the same logs for the 3.6.6 Build 4582 without the auto-install folder:

8/29/16 12:31:00.990 PM Tunnelblick[81045]: Tunnelblick: OS X 10.11.6; Tunnelblick 3.6.6 (build 4582)
8/29/16 12:31:01.366 PM Tunnelblick[81045]: Tunnelblick can only run when it is /Applications/Tunnelblick.app; path = /Users/davidapple/Desktop/Tunnelblick.app.
8/29/16 12:31:05.080 PM Tunnelblick[81045]: Tunnelblick needs to:
  • Be installed in /Applications as Tunnelblick
  • Change ownership and permissions of the program to secure it
  • Secure configurations
8/29/16 12:31:05.080 PM Tunnelblick[81045]: Beginning installation or repair
8/29/16 12:31:05.090 PM authexec[81053]: executing /Users/davidapple/Desktop/Tunnelblick.app/Contents/Resources/installer
8/29/16 12:31:05.876 PM Tunnelblick[81045]: Installation or repair succeeded; Log:
Tunnelblick installer started 2016-08-29 12:31:05. 1 arguments: 0x0017
Copied /Users/davidapple/Desktop/Tunnelblick.app to /Applications/Tunnelblick.app
Removed all 'com.apple.quarantine' extended attributes
Changed ownership of /Applications/Tunnelblick.app and its contents from 501:20 to 0:0
Need to replace and/or reload 'tunnelblickd'
Replaced /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist
Used launchctl to load tunnelblickd
Tunnelblick installer finished without error

Tunnelblick developer

unread,
Aug 29, 2016, 3:37:33 PM8/29/16
to tunnelblick-discuss
Thanks, I will look into this and reply to discussion.

Tunnelblick developer

unread,
Aug 31, 2016, 9:35:04 AM8/31/16
to tunnelblick-discuss
I'm sorry about this bug, which indeed affects 3.6.6 and 3.7beta02. Fixing one problem caused Tunnelblick's auto-repair feature to be overzealous, causing this bug.

I have fixed this in the source code; the fix will be included in the next beta release.

Until then, use Tunnelblick 3.6.5, which does not have this bug.

D Apple

unread,
Aug 31, 2016, 1:12:26 PM8/31/16
to tunnelblick-discuss
Thank you so much for looking into this and I appreciate the quick response.  I will deploy with 3.6.5 for now.

Tunnelblick developer

unread,
Sep 9, 2016, 7:39:52 PM9/9/16
to tunnelblick-discuss
Although the bug is fixed (I think) in the latest Tunnelblick beta release (3.6.7beta04, released a few minutes ago), I want to warn everyone about some problems with auto-install on macOS Sierra (which Apple will release on 2016-09-20).

For details, see this post.

danie...@gmail.com

unread,
Sep 29, 2016, 4:08:09 PM9/29/16
to tunnelblick-discuss
I'm still having problems using auto-install with version 3.6.7c (not using macOS Sierra, just El Captain 10.11.6).

Installing on a clean system (that never had TunnelBlick installed fails). Installing over a previous version, or even after just deleting the app works fine.

The logs from Console follow below.

29/09/16 16:38:29,749 Tunnelblick[59616]: Tunnelblick: OS X 10.11.6; Tunnelblick 3.6.7c (build 4606)
29/09/16 16:38:31,419 Tunnelblick[59616]: Tunnelblick cannot run when it is on /Volumes because the volume has the MNT_NOSUID statfs flag set.
29/09/16 16:38:36,536 Tunnelblick[59616]: O Tunnelblick precisa:
  • Ser instalado na pasta /Aplicativos como Tunnelblick
  • Mudar propriedade e permissões do programa para protegê-lo
  • Instalar ou atualizar configuração(ões)
  • Configurações seguras
29/09/16 16:38:36,551 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn at line 36: Copied ca.crt
29/09/16 16:38:36,551 Tunnelblick[59616]: Changed permissions from 644 to 740 on /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk/Contents/Resources/ca.crt
29/09/16 16:38:36,553 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn at line 37: Copied daniel.crt
29/09/16 16:38:36,553 Tunnelblick[59616]: Changed permissions from 644 to 740 on /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk/Contents/Resources/daniel.crt
29/09/16 16:38:36,555 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn at line 38: Copied daniel.key
29/09/16 16:38:36,555 Tunnelblick[59616]: Changed permissions from 644 to 740 on /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk/Contents/Resources/daniel.key
29/09/16 16:38:36,556 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn at line 50: Copied ta.key
29/09/16 16:38:36,557 Tunnelblick[59616]: Changed permissions from 644 to 740 on /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk/Contents/Resources/ta.key
29/09/16 16:38:36,558 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn: Copied Info.plist
29/09/16 16:38:36,559 Tunnelblick[59616]: Converting/Installing /Volumes/CobliVPN-daniel/auto-install/CobliConfigurations.tblk/Cobli-daniel.tblk/daniel.ovpn: Converted OpenVPN configuration
29/09/16 16:38:36,562 Tunnelblick[59616]: localNameFromDisplayName: 'Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel' is not a known displayName
29/09/16 16:38:36,565 Tunnelblick[59616]: O Tunnelblick precisa executar uma ação que requer autorização administrativa.
29/09/16 16:38:36,565 Tunnelblick[59616]: Beginning installation or repair
29/09/16 16:38:36,681 authexec[59630]: executing /Volumes/CobliVPN-daniel/Tunnelblick.app/Contents/Resources/installer
29/09/16 16:38:36,853 Tunnelblick[59616]: installer reported failure: /Volumes/CobliVPN-daniel/Tunnelblick.app/Contents/Resources/installer: (
    1,
    "/Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk",
    "/private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk"
)
29/09/16 16:40:07,614 Tunnelblick[59616]: Installation or repair failed; Log:
Tunnelblick installer started 2016-09-29 16:38:36. 3 arguments: 0x0001
     /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk
     /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk

Created directory /Library/Application Support/Tunnelblick with owner 0:80 and permissions 755
Changed ownership of /Library/Application Support/Tunnelblick from 0:80 to 0:0
Created directory /Library/Application Support/Tunnelblick/Logs with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Shared with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Tblks with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Users with owner 0:0 and permissions 755
Created directory /Library/Application Support/Tunnelblick/Users/cobli with owner 0:0 and permissions 755
Copied /private/var/folders/36/fj00vly53hj7hd48_qr66r7c0000gn/T/Tunnelblick-zvvKwU/Cobli-daniel.tblk
    to /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk.temp
Renamed /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk.temp
     to /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk
Changed ownership of /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk and its contents from 501:20 to 501:80
Changed permissions from 644 to 740 on /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk/Contents/Info.plist
Copied /Users/cobli/Library/Application Support/Tunnelblick/Configurations/Cobli-daniel.tblk
    to /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk.temp
Renamed /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk.temp
     to /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk
Changed ownership of /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk and its contents from 501:80 to 0:0
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents
Changed permissions from 740 to 644 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Info.plist
Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources/ca.crt
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources/config.ovpn
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources/daniel.crt
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources/daniel.key
Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/cobli/Cobli-daniel.tblk/Contents/Resources/ta.key
Created secure (shadow) copy of Cobli-daniel.tblk
checkSetOwnership: '/Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist' does not exist
29/09/16 16:40:07,615 Tunnelblick[59616]: applicationShouldTerminate: termination because of Quit; delayed until 'shutdownTunnelblick' finishes
29/09/16 16:40:07,627 Tunnelblick[59616]: Need to replace and/or reload 'tunnelblickd'
29/09/16 16:40:07,627 Tunnelblick[59616]: Not unloading kexts and not deleting logs because tunnelblickd is not loaded.
29/09/16 16:40:07,628 Tunnelblick[59616]: Finished shutting down Tunnelblick; allowing termination


---

Regards,
Daniel

Tunnelblick developer

unread,
Sep 29, 2016, 6:08:22 PM9/29/16
to tunnelblick-discuss, danie...@gmail.com
Does this happen with 3.6.8beta10?

ma...@fundraisingcoach.com

unread,
Sep 30, 2016, 12:55:58 PM9/30/16
to tunnelblick-discuss, danie...@gmail.com
I'm still having this with 3.6.7c (build 4606) on El Capitan 10.11.6 as well.

Tunnelblick developer

unread,
Sep 30, 2016, 2:58:01 PM9/30/16
to tunnelblick-discuss, danie...@gmail.com, ma...@fundraisingcoach.com
Again, does this happen with 3.6.8beta10?

danie...@gmail.com

unread,
Sep 30, 2016, 3:38:54 PM9/30/16
to tunnelblick-discuss, danie...@gmail.com, ma...@fundraisingcoach.com
I just tested 3.6.8beta10 and the issue is still present.

Tunnelblick developer

unread,
Sep 30, 2016, 5:03:09 PM9/30/16
to tunnelblick-discuss, danie...@gmail.com, ma...@fundraisingcoach.com
Thanks. I'll look into it.


On Friday, September 30, 2016 at 3:38:54 PM UTC-4, <> wrote:
I just tested 3.6.8beta10 and the issue is still present.
On Thursday, September 29, 2016 at 4:08:09 PM UTC-4, <> wrote:

Tunnelblick developer

unread,
Oct 3, 2016, 9:14:10 AM10/3/16
to tunnelblick-discuss, danie...@gmail.com, ma...@fundraisingcoach.com, da...@applefamily.net
I have committed a fix for this to the source code. The fix will be included in the next beta release.
Reply all
Reply to author
Forward
0 new messages