unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 45836@debbugs.gnu.org
Subject: bug#45836: cups-service-type duplicates lp group
Date: Thu, 14 Jan 2021 12:38:19 +0100	[thread overview]
Message-ID: <87turj695g.fsf@gnu.org> (raw)
In-Reply-To: <cfbfaf9013c68f0cee70a476f9272d4048837a11.camel@student.tugraz.at> (Leo Prikler's message of "Wed, 13 Jan 2021 13:06:56 +0100")

Hi Leo,

Leo Prikler <leo.prikler@student.tugraz.at> skribis:

>> I’d be pragmatic here:
>> 
>>   1. Ignore duplicates that are identical (don’t report them).
> Is that still not a problem, because either definition could change?

Sure, but that’s a separate issue, which is what #2 addresses.

>>   2. Remove “lp” from %base-groups since it has no use without CUPS
>>      (right?).
> That's probably true, but I fear, that some have already added "lp" to
> their config.scm.  Would that cause issues?

Presumably everyone uses ‘%base-groups’ and thus everyone already has a
definition of “lp”, coming from Guix itself.

On second thought, my proposal was not so good because as the comment in
(gnu system shadow) suggests, there are default udev rules that refer to
the “lp” group.  So it has to exist (to be on the safe side at least).

So perhaps we can leave things unchanged and simply add a comment in
(gnu services cups) that the “lp” group definition is redundant but kept
here for clarity.

WDYT?

If the two “lp” eventually come to differ, we’ll notice via system
tests… and bug reports.

> We could also add CUPS to
> %base-services or %desktop-services in some way, but that would
> probably cause issues with configurations, that already have it.

Adding CUPS by default is not a reasonable option, no.  :-)

Thanks,
Ludo’.




  reply	other threads:[~2021-01-14 11:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13  1:09 bug#45836: cups-service-type duplicates lp group Leo Prikler
2021-01-13 11:28 ` Ludovic Courtès
2021-01-13 12:06   ` Leo Prikler
2021-01-14 11:38     ` Ludovic Courtès [this message]
2021-01-14 13:06 ` bug#45836: [PATCH] services: Let cups-service-type reuse base " Leo Prikler
2021-01-16 18:37   ` Ludovic Courtès
2021-01-16 19:49     ` Leo Prikler
2021-01-18 14:47       ` Ludovic Courtès
2021-01-20  8:16         ` Leo Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87turj695g.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=45836@debbugs.gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).