Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58262 - [glibc] gpasswd: nscd did not terminate normally (signal 11)

Attached to Project: Arch Linux
Opened by Curtis Lee Bolin (curtisleebolin) - Wednesday, 18 April 2018, 21:57 GMT
Last edited by Dave Reisner (falconindy) - Monday, 07 January 2019, 11:34 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
gpasswd fails to add user to group.


Additional info:
* package versions:
* core/shadow 4.5-4
* usr/bin/gpasswd
* core/glibc 2.26-11
* usr/bin/nscd


Steps to reproduce:
$ sudo gpasswd -a lee kvm
Adding user lee to group kvm
gpasswd: nscd did not terminate normally (signal 11)
gpasswd: nscd did not terminate normally (signal 11)
gpasswd: nscd did not terminate normally (signal 11)


Thankfully usermod worked
$ sudo usermod -a -G kvm lee
This task depends upon

Comment by Tommy Schmitt (spinka) - Sunday, 29 April 2018, 14:28 GMT
I've seen same message "gpasswd: nscd did not terminate normally (signal 11)" but "sudo gpasswd -a lee kvm" works successfully. I guess in your case it worked also.
Comment by Curtis Lee Bolin (curtisleebolin) - Monday, 30 April 2018, 14:28 GMT
Tommy, that day I was convinced `gpasswd` wasn't changing `/etc/group`, but today after testing, it does seem to be working even with the signal 11 errors.


$ sudo useradd testuser

$ grep testuser /etc/group
testuser:x:1003:

$ sudo gpasswd -a testuser kvm
Adding user testuser to group kvm
gpasswd: nscd did not terminate normally (signal 11)
gpasswd: nscd did not terminate normally (signal 11)
gpasswd: nscd did not terminate normally (signal 11)

$ grep testuser /etc/group
kvm:x:78:testuser
testuser:x:1003:

Loading...