FS#60636 - [squid] setsid failed: (1) Operation not permitted
Attached to Project:
Community Packages
Opened by Eric Wang (enihcam) - Monday, 29 October 2018, 23:15 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 21 February 2019, 15:08 GMT
Opened by Eric Wang (enihcam) - Monday, 29 October 2018, 23:15 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 21 February 2019, 15:08 GMT
|
Details
Description:
squid[586]: setsid failed: (1) Operation not permitted Additional info: * package version(s) * config and/or log files etc. squid 4.4 Kernel 4.18.16 systemd 239.2-1 BTRFS Steps to reproduce: upgrade squid to 4.4 and restart service |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 21 February 2019, 15:08 GMT
Reason for closing: Upstream
Additional comments about closing: and should be fixed
Thursday, 21 February 2019, 15:08 GMT
Reason for closing: Upstream
Additional comments about closing: and should be fixed
if (!opt_foreground)
GoIntoBackground();
// TODO: Fails with --foreground if the calling process is process group
// leader, which is always (?) the case. Should probably moved to
// GoIntoBackground and executed only after successfully forking
if (setsid() < 0) {
int xerrno = errno;
syslog(LOG_ALERT, "setsid failed: %s", xstrerr(xerrno));
}
I guess it is an upstream bug.
ExecStartPre=/usr/sbin/squid --foreground -z
from squid.service?
You can ignore the error. It is harmless.
Do not remove ExecStartPre, otherwise cache dir structure will not be created on new installations.