Bug 32416

Summary: Запуск cups от пользователя игнорирует параметр PidFile в cupsd.conf
Product: Sisyphus Reporter: Chess <slchess>
Component: cupsAssignee: Fr. Br. George <george>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: boyarsh, george, rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Chess 2016-08-22 11:20:22 MSK
В cupsd.conf указан PidFile /tmp/cups.pid

strace /usr/sbin/cupsd -c cupsd.conf

rt_sigaction(SIGUSR1, {0x55881ffaab90, [USR1], SA_RESTORER, 0x7fc378002e60}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x55881ffaab90, [USR1], SA_RESTORER, 0x7fc378002e60}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [], SA_RESTORER, 0x7fc378002e60}, NULL, 8) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc3796d2b90) = 22418
nanosleep({1, 0}, {0, 991112824})       = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_USER, si_pid=22418, si_uid=500} ---
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
open("/var/run/cupsd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22418, si_uid=500, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
exit_group(0)                           = ?
+++ exited with 0 +++

но он пытается записать pid в /var/run/cupsd.pid
Comment 1 Fr. Br. George 2020-03-05 17:53:57 MSK
В новых версиях нет ни того, ни другого, кажется