[cups.general] touble with 'make test'

Michael Sweet msweet at apple.com
Mon May 21 08:12:04 PDT 2012


Michael,

It didn't register the first time, but are you trying to run "make test" as root? That's not a configuration we've ever supported for a variety of reasons.

The umask trick *should* have been enough, but if you (or the system profile) set the umask in a .bash_rc or .profile file it could be getting overridden.  Try adding the command near the top of the test/run-stp-test.sh script to see if that helps.


On May 20, 2012, at 12:46 PM, michael at onkel-karl-lernt-surfen.de wrote:

> Hello,
> The order "umask 022" did not change the rights to access
> 
> [code]
> Directory "/tmp/cups-root/bin/notifier" has insecure permissions  
> (040775/uid=501/gid=0).
> [/code]
> 
> but I observe the report of error_log "775" does not fit to rights of
> the filesystem
> 
> [code]
> drwxr-xr-x 10 root lp 4096 20. Mai 14:24 cups-root
> [/code]
> 
> That is I think "755"
> 
> A look into the debug_log
> 
> [code]
> Will not use User root (UID=0) as specified on line 5 for security  
> reasons.  You must use a non-privileged account instead.
> [/code]
> 
> Zitat von Michael Sweet <msweet at apple.com>:
> 
>> Run:
>> 
>>   umask 022
>> 
>> before running "make test".
>> 
>> 
>> 
>> On May 17, 2012, at 9:40 AM, michael at onkel-karl-lernt-surfen.de wrote:
>> 
>>> Hello,
>>> error_log is a huge file. I splitted it into smaller parts, an editor
>>> can read it.
>>> The following excerpt repeats several times:
>>> [code]
>>> E [17/May/2012:13:24:07.518788 +0000] Directory
>>> "/tmp/cups-root/bin/notifier" has insecure permissions
>>> (040775/uid=501/gid=0).
>>> D [17/May/2012:13:24:07.518798 +0000] Notifier testnotify started - PID = 0
>>> d [17/May/2012:13:24:07.518808 +0000] sub->pipe=14
>>> W [17/May/2012:13:24:07.518820 +0000] Notifier for subscription 1
>>> (testnotify://) went away, retrying!
>>> d [17/May/2012:13:24:07.518830 +0000] cupsdEndProcess(pid=0, force=0)
>>> E [17/May/2012:13:24:07.518854 +0000] Directory
>>> "/tmp/cups-root/bin/notifier" has insecure permissions
>>> (040775/uid=501/gid=0).
>>> D [17/May/2012:13:24:07.518865 +0000] Notifier testnotify started - PID = 0
>>> d [17/May/2012:13:24:07.518875 +0000] sub->pipe=14
>>> [/code]
>>> What should I do?
>>> 
>>> Zitat von Michael Sweet <msweet at apple.com>:
>>> 
>>>> Michael,
>>>> 
>>>> On May 14, 2012, at 12:22 PM, michael at onkel-karl-lernt-surfen.de wrote:
>>>>> Hello
>>>>> 
>>>>> Linux gcc-4.3 kernel-2.6.38 libc-2.7
>>>>> cups-1.5.2
>>>>> 
>>>>> I did:
>>>>> ./configure --prefix=/opt/printer --enable-static
>>>>> make
>>>>> make test
>>>>> 
>>>>> The 'make test' occupied the last free space (31GB) of the hard
>>>>> disk. I canceled his process by hand. What was going wrong?
>>>> 
>>>> It is possible that one of the tests was failing and retrying
>>>> endlessly; you should be able to look in /tmp/cups-<username>/log
>>>> for details.
>>>> 
>>>> ________________________________________________________________________
>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>>> 
>>>> _______________________________________________
>>>> cups mailing list
>>>> cups at easysw.com
>>>> http://lists.easysw.com/mailman/listinfo/cups
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> cups mailing list
>>> cups at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups
>> 
>> __________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>> 
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>> 
> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list