[privoxy] Can't get systemctl to start it

Problems with packages? Post here, using [tags] of the package name.

[privoxy] Can't get systemctl to start it

Postby emdeex » Thu Jul 31, 2014 10:47 am

Thanks for any help,

I've tried removing privoxy (pacman -R privoxy) and re-installing (pacman -S privoxy) to get a fresh config.

Trying to start with 'systemctl start privoxy' gives :

$this->bbcode_second_pass_code('', '
Job for privoxy.service failed. See 'systemctl status privoxy.service' and 'journalctl -xn' for details.
')

systemctl -l status privoxy.service returns:

$this->bbcode_second_pass_code('', '
[root@alarmpi ~]# systemctl -l status privoxy.service
* privoxy.service - Privoxy Web Proxy With Advanced Filtering Capabilities
Loaded: loaded (/etc/systemd/system/privoxy.service; enabled)
Active: failed (Result: exit-code) since Thu 2014-07-31 20:26:48 EST; 16s ago
Process: 455 ExecStart=/usr/bin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config (code=exited, status=1/FAILURE)

Jul 31 20:26:47 alarmpi privoxy[455]: 2014-07-31 20:26:47.694 b6f01000 Fatal error: setgroups() failed: Operation not permitted
Jul 31 20:26:48 alarmpi systemd[1]: privoxy.service: control process exited, code=exited status=1
Jul 31 20:26:48 alarmpi systemd[1]: Failed to start Privoxy Web Proxy With Advanced Filtering Capabilities.
Jul 31 20:26:48 alarmpi systemd[1]: Unit privoxy.service entered failed state.
')
emdeex
 
Posts: 2
Joined: Thu Jul 31, 2014 10:43 am

Re: [privoxy] Can't get systemctl to start it

Postby Geoff » Thu Jul 31, 2014 5:05 pm

You need to start privoxy.service as root, in order for setgroups() to succeed. A privoxy user and group (uid=gid=42) should have been created by the install; you might check for those.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: [privoxy] Can't get systemctl to start it

Postby emdeex » Wed Aug 13, 2014 10:03 am

Thanks.

I still can't get it to work.

I am trying to run it as root.

# systemctl start privoxy
$this->bbcode_second_pass_code('', 'Aug 13 19:56:44 alarmpi systemd[1]: Starting Privoxy Web Proxy With Advanced Filtering Capabilities...
Aug 13 19:56:44 alarmpi privoxy[462]: 2014-08-13 19:56:44.917 b6f7d000 Fatal error: setgroups() failed: Operation not permitted
Aug 13 19:56:45 alarmpi systemd[1]: privoxy.service: control process exited, code=exited status=1')

The user and group have been created:

cat /etc/passwd
$this->bbcode_second_pass_code('', 'privoxy:x:42:42::/var/spool/privoxy:/bin/false')

cat /etc/group
$this->bbcode_second_pass_code('', 'privoxy:x:42:')
emdeex
 
Posts: 2
Joined: Thu Jul 31, 2014 10:43 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests