sudo after upgrade

Andrzej Zawadzki zawadaa at gmail.com
Thu Feb 18 22:16:25 CET 2021


   On 08.02.2021 14:46, Jan Palus wrote:

On 02.02.2021 20:45, Andrzej Zawadzki wrote:

   Hi,

   I've just upgrade to newest test and after restart I'm not at wheel
   group anymore....

   id zawada
   uid=1000(zawada) gid=1000(users) grupy=1000(users)

   but:

   cat /etc/group|grep zawada
   wheel::10:root,zawada

   Bug or feature?

Encountered it on one machine as well... You have outdated
/etc/nsswitch.conf most likely with entry that breaks group membership
completely:

initgroups:     [SUCCESS=continue] files

   Yep! Exactly! Thanks for help!

   I changed this file one day - I added:

         hosts:          files resolve ...

   because:

         resolve                 Use systemd resolved resolver (dns
   subsystem runs much smoother when networks are changing)

   and now, after upgrade I got new nsswitch.conf but with "rpmnew"
   suffix.

   Wrong, old initgroups still was there.

   ps. sometimes debs are better. ;-)

   --

   Andrzej Zawadzki


More information about the pld-devel-en mailing list