Description of problem: when attempting to add user to group vboxusers, from Mageia Control Centre => system => manage users on system => edit user => tab "groups", an error message pops up "An error occured: User could not be modified: Invalid contents of lock '/etc/shadow.lock." cat /etc/shadow.lock returns no result However, user is added to group "vboxusers" Version-Release number of selected component (if applicable):libuser-0.60-8.mga6 How reproducible:every time Steps to Reproduce: 1.update cauldron to latest 2.attempt to add user to any group via MCC 3.when ok button clicked and error message pops up "An error occured: User could not be modified: Invalid contents of lock '/etc/shadow.lock." 4. closing the window [ edit groups] and re-opening to edit groups shows that the previous edit was successful Reproducible: Steps to Reproduce:
Summary: Cauldron Mga6: adding user to groups results in 'Invalid contents of lock `/etc/shadow.lock'' => Cauldron Mga6: adding user to groups results in 'Invalid contents of lock `/etc/shadow.lock'' error
CC: (none) => makowski.mageia, thierry.vignaud
Summary: Cauldron Mga6: adding user to groups results in 'Invalid contents of lock `/etc/shadow.lock'' error => Mga6-dev1: adding user to groups results in 'Invalid contents of lock `/etc/shadow.lock'' error
Certainly because shadow-utils have been not set to default to SHA512 https://bugs.mageia.org/show_bug.cgi?id=16467#c54 Thierry ?
I confirm. This appears to be something left over from install, because if you remove /etc/shadow.lock, it then works fine and the error does not reoccur.
CC: (none) => ftg
*** Bug 17270 has been marked as a duplicate of this bug. ***
CC: (none) => bittwister2
This package has no registered maintainer in our database, so assigning to packagers collectively. Packagers, if one of you is maintaining this package, please update the maintainers database accordingly.
Assignee: bugsquad => pkg-bugs
Whiteboard: (none) => Mga6dev1
valid for Mageia-6-dev1-LiveDVD-PLASMA5-x86_64-DVD.iso Mageia-6-dev1-LiveDVD-PLASMA5-i586-DVD.iso DATE.txt: Sun Jan 17 19:30:00 CET 2016
valid for Mageia-6-dev1-i586-DVD.iso DATE.txt: Thu Mar 10 21:45:52 CET 2016
Keywords: (none) => 6dev1CC: (none) => marja11Whiteboard: Mga6dev1 => (none)
libuser-0.62-3.mga6 should fix this
(In reply to Philippe Makowski from comment #7) > libuser-0.62-3.mga6 should fix this @ all Please report whether that packages fixes it for you in bug 16668 *** This bug has been marked as a duplicate of bug 16668 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE
still valid mga6-sta1 x86_64 following packages installed: userdrake-2.11-2.mga6.x86_64 lib64user1-0.62-4.mga6.x86_64. test is: Install Virtualbox Invoke Mageia Control Centre. Choose "system", Manage users on system. choose user and "edit (selected row)." Choose "Groups." Add "vboxusers." Error popup ocurs, but "vboxuser" is added.
Status: RESOLVED => REOPENEDResolution: DUPLICATE => (none)
Summary: Mga6-dev1: adding user to groups results in 'Invalid contents of lock `/etc/shadow.lock'' error => Mga6-dev1: adding vboxuser to groups results in 'Invalid contents of lock `/etc/shadow.lock'' error
Keywords: 6dev1 => 6sta1
This is being tracked in a new bug report. *** This bug has been marked as a duplicate of bug 17504 ***
Status: REOPENED => RESOLVEDResolution: (none) => DUPLICATE