GNU bug report logs - #63198
cups-service-type uses PAM-enabled 'cups' by default which prevents authentication

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 1 May 2023 03:09:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Csepp <raingloom <at> riseup.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 63198 <at> debbugs.gnu.org, mail <at> muradm.net, maxim.cournoyer <at> gmail.com
Subject: bug#63198: End-to-end tests Was: bug#63198: cups-service-type uses PAM-enabled 'cups' by default which prevents authentication
Date: Wed, 24 May 2023 13:07:41 +0200
Ricardo Wurmus <rekado <at> elephly.net> writes:

> I’ll second muradm: these changes broke my printing setup:
>
> * my printer is no longer found because cups-minimal has minimal
>   features and does not include dnssd
> * I cannot add a new printer with ipp://192.168.x.x manually because of
>   authentication problems.  The logs tell me that cups-brf needs to run
>   as root.
>
> As a bonus problem I cannot restart Cups with the “cups” package because
> it cannot be killed.  I disabled the “cups” service and stopped it, but
> cups still runs; killing it is of no use because it’s respawned
> immediately.  Shepherd says it didn’t do it.  I also tried deleting the
> cups socket file, but that also didn’t help.

It might be a good idea to have more end-to-end tests in Guix that would
check if common operations like "finding a printer" work.  It's quite a
bit of up-front effort, but it's better than relying on manual testing
and could make things smoother in the long run.
SUSE has a cool testing framework based on screen captures, maybe it
could be adapted to Guix?




This bug report was last modified 2 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.