public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Changes made by acct-* ebuilds
@ 2020-02-12 18:02 Christopher Head
  2020-02-12 18:11 ` Alec Warner
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Christopher Head @ 2020-02-12 18:02 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

Hi all,
Yesterday something surprised me. I updated my system and got the acct-{user,group}/lighttpd for the first time. Because lighttpd was running, package installation failed to change the home directory—fine, it printed an error message, I stopped the server, changed the home directory by hand, and started the server back up.

What I didn’t realize was that it also, successfully, removed the lighttpd user from a couple of auxiliary groups I had put it in. It did this without telling me, without printing any messages. I only noticed because I happened to look at syslog and discovered that usermod or gpasswd or whatever it called had logged the changes. Presumably this has broken a service or two (nothing too critical) since now Lighttpd won’t be able to connect to SCGI sockets any more.

Does it make sense for these ebuilds to print out all the changes they make to existing users and groups, so that the sysadmin can see what happened and immediately look into alternative solutions if it breaks something, rather than silently changing things? Maybe this could even be limited to cases where the package is being newly installed (not upgraded) and the user or group already exists, to ease migration from the old world where sysadmins are easily able to do anything we want with our users and groups to the new world where we’re expected to leave them alone as the ebuilds make them, or worst case make out changes in an overlay.

Thoughts?
-- 
Christopher Head

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 244 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2020-02-18  4:57 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-12 18:02 [gentoo-dev] Changes made by acct-* ebuilds Christopher Head
2020-02-12 18:11 ` Alec Warner
2020-02-12 18:14 ` Michał Górny
2020-02-13 16:09   ` Christopher Head
2020-02-13 16:17     ` Michał Górny
2020-02-16  6:35     ` Christopher Head
2020-02-16  6:49       ` Michał Górny
2020-02-13  1:32 ` Thomas Deutschmann
2020-02-13  5:26   ` Christopher Head
2020-02-13  5:59   ` Michał Górny
2020-02-13  7:03     ` Alec Warner
2020-02-13  8:10       ` Michał Górny
2020-02-18  4:57         ` desultory
2020-02-13 16:17   ` Mike Gilbert
2020-02-13 23:24     ` Michael 'veremitz' Everitt
2020-02-14  3:37       ` Mike Gilbert
2020-02-14 14:12     ` Thomas Deutschmann
2020-02-14 14:41       ` Michał Górny
2020-02-14 15:38       ` Mike Gilbert
2020-02-14 17:09         ` Thomas Deutschmann
2020-02-14 17:17           ` Michał Górny
2020-02-14 17:42             ` Thomas Deutschmann
2020-02-14 17:55               ` Michał Górny
2020-02-14 19:48                 ` Vadim A. Misbakh-Soloviov
2020-02-14 20:02                   ` Vadim A. Misbakh-Soloviov
2020-02-15  1:17                   ` Michael 'veremitz' Everitt
2020-02-14 19:05               ` Mike Gilbert
2020-02-14 19:49                 ` Rolf Eike Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox