[cups] Setup cups and Brother HL-4150CDN on FreeBSD 10

Helge Blischke HelgeBlischke at web.de
Tue Jun 10 03:56:57 PDT 2014


After a quick search for freebsd through the cups lists, I found some  
entries
omplaining on issues with sys/ucred.h in combination with sys/param.h.
Could you rerun your configure script with saving the output messages  
and post them?

Helge

Am 10.06.2014 um 11:12 schrieb Willy Offermans:

> Hello Helga, cups and freebsd friends,
>
> On Mon, Jun 09, 2014 at 10:56:23PM +0200, Helge Blischke wrote:
>> The error message
>> E [08/Jun/2014:17:37:53 +0200] [Client 15] Invalid peer credentials
>> for "root" - got 8, expected 0!
>> states that the efective user id cupsd is runnin under is 8, which
>> certainly is not root.
>> Make sure your cupsd is running as root.
>> (see scheduler/auth.c in your sources directory tree).
>>
>
> I also checked this before.
>
> I ran ``ps waux | grep cups'':
>
> root        1645   0.0  0.0   64032       0  -  SWs  -           
> 0:00.00 /usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf
> root        1962   0.0  0.0   14448       0  -  IWs  -           
> 0:00.00 daemon: /usr/local/sbin/cups-browsed[1969] (daemon)
> root        1969   0.0  0.0   62884    2892  -  S    12:20PM     
> 0:09.49 /usr/local/sbin/cups-browsed
>
> To my belief and according the system, cupsd is run by root.
> Though the error message claims something else.
>
> A look in scheduler/auth.c does not bring me any further to the  
> solution.
> I can detect the error message in the file, but I have no clue why  
> cups
> takes up id 8 (=news) in stead of 0. To debug the code is impossible  
> for
> me.
>
> Does anyone has an idea?
>
>
> -- 
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
>
> Wiel
>
> *************************************
> W.K. Offermans
> e-mail: Willy at Offermans.Rompen.nl
>
>                                       Powered by ....
>
>                                            (__)
>                                         \\\'',)
>                                           \/  \ ^
>                                           .\._/_)
>
>                                       www.FreeBSD.org
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list