[cups.general] Re: ADVANCED HELP NEEDED on CUPS + WindowsClient->ipp/samba

wtautz wtautz at cs.uwaterloo.ca
Thu Jul 27 08:52:12 PDT 2006


nuno inĂ¡cio wrote:
>> Ubuntu has forked CUPS sources, and patched them to run cupsd as
>> user "cupsys", not root. This does imply all kinds of twists to
>> standard CUPS behavior. And you can't even use "RunAsUser No"
>> like it used to be, when this option was still officially part
>> of CUPS (in the 1.1.x series).
>>     
>
> I've kind of imagined that when searched for that "RunAsUser".
> The /etc/init.d/cupsys file its starnge...
> it creates the pidfile as cupsys:lp
> "chown cupsys:lp `dirname "$PIDFILE"`"
>
> and logs as cupsys:lpadmin
>
> "chown cupsys:lpadmin /var/log/cups/$l"
>
>   
it's interesting to note that /var/log/cups/error_log is root.lp on my
dapper system
and yet the rolled files are cupsys.lp. I've noticed a lot of messages in
syslog:
Jul 27 09:31:26 services200 cupsd: Unable to open log file
"/var/log/cups/error_log" - Permission denied
Jul 27 10:17:02 services200 cupsd: Unable to open log file
"/var/log/cups/error_log" - Permission denied
Jul 27 11:17:01 services200 cupsd: Unable to open log file
"/var/log/cups/error_log" - Permission denied

and yet, the file is being updated... weird. Another side effect of
Ubuntu running cups as non root?

walter






More information about the cups mailing list