Menu

#1611 Privoxy [Mac} does not reliably restart on reboot

3.0.15
closed-wont-fix
startup (89)
5
2016-03-25
2013-12-01
cjpragman
No

Privoxy v 3.0.21 on Mac 10.9 (13A603).
I don't reboot often. I shut my mac down for the Thanksgiving holiday, and upon restart when returning home, noticed that no web pages were loading. I had rebooted various times a few weeks ago (same version of privoxy and same OS version), without experiencing any problems. This time though, privoxy failed to load upon booting. Launchd messages from the console logs are as follows:

11/30/13 11:21:44.674 PM com.apple.launchd[1]: (org.ijbswa.privoxy[74]) getpwnam("_privoxy") failed
11/30/13 11:21:44.675 PM com.apple.launchd[1]: (org.ijbswa.privoxy[74]) Exited with code: 3

Issuing a launchctl command to unload and reload the launch agent successfully got privoxy started, as follows:

sudo launchctl unload /Library/LaunchDaemons/org.ijbswa.privoxy.plist
sudo launchctl load -w /Library/LaunchDaemons/org.ijbswa.privoxy.plist

Obviously, it would be preferable to not have to do this whenever I reboot.

Any ideas?

Discussion

  • Ian Silvester

    Ian Silvester - 2013-12-01
    • assigned_to: nobody --> diem
    • status: open --> pending
     
  • Ian Silvester

    Ian Silvester - 2013-12-01

    Hi again cjpragman,

    So did you yet completely uninstall (using the provided uninstall.command) and then reinstall from scratch?

    The current belief on this issue is that the upgrade to 10.9 in some way breaks (or completely removes) the _privoxy user account upon which Privoxy depends for running securely (i.e. Not as root).

    Cheers,

    Ian

     
  • cjpragman

    cjpragman - 2013-12-02

    I have previously done the uninstall/reinstall you describe.

     
  • cjpragman

    cjpragman - 2013-12-02
    • status: pending --> open
     
  • Ian Silvester

    Ian Silvester - 2013-12-04

    Hmmm, okay, that's disappointing.

    It suggests that Mavericks places different restrictions on user accounts during startup than it does during normal operation, since the commands you're using to start it manually reference the exact same configuration used during boot.

    Unless or until I can solve this problem the only reliable workaround is to fall back to using the old-style StartupItem. Frustratingly for you, my installation scripts delete that item since it's not the preferred method (not since OS X 10.3!). As such, I've attached the two necessary files (StartupParameters.plist & Privoxy) to this ticket for you. You'll need to create a folder named /Library/StartupItems/Privoxy and place them all in there. All the folders and files you create _must_ be given 755 permissions else it'll not work.

    Kind regards,

    Ian

     
  • Ian Silvester

    Ian Silvester - 2013-12-04

    StartupItem start script

     
  • Ian Silvester

    Ian Silvester - 2013-12-04

    StartupItem parameters file

     
  • Ian Silvester

    Ian Silvester - 2013-12-04
    • status: open --> pending
     
  • cjpragman

    cjpragman - 2014-01-19

    Just a quick update.
    Have rebooted a few times since thanksgiving, and privoxy auto-loaded as expected. Then today I rebooted and privoxy didn't load. Seems to be hit-or-miss kind of thing.

    The error message in the log is the same as last time.
    1/19/14 8:58:11.325 AM com.apple.launchd[1]: (org.ijbswa.privoxy[72]) getpwnam("_privoxy") failed
    1/19/14 8:58:11.325 AM com.apple.launchd[1]: (org.ijbswa.privoxy[72]) Exited with code: 3

    Was able to successfully re-load it using launchctl unload & load.

     
  • cjpragman

    cjpragman - 2014-01-19
    • status: pending --> open
     
  • Fabian Keil

    Fabian Keil - 2016-03-25
    • status: open --> pending
    • Group: --> 3.0.15
     
  • Fabian Keil

    Fabian Keil - 2016-03-25

    Is this still an issue with Privoxy 3.0.24?

     
  • Ian Silvester

    Ian Silvester - 2016-03-25

    This is a problem with Mavericks upgades rather than Privoxy per se. Since it is now very unlikely that any user with Privoxy installed will upgrade to Mavericks, and if they do the files supplied in this ticket can be used to correct the problem, the ticket will now be closed.

    Ian

     
  • Ian Silvester

    Ian Silvester - 2016-03-25
    • status: pending --> closed-wont-fix
     

Log in to post a comment.