FS#41111 - [shadow] groupadd segfaults with Samba-AD configuration

Attached to Project: Arch Linux
Opened by Thomas (tommy0910) - Sunday, 06 July 2014, 13:32 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 13 September 2014, 14:21 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I observe errors on updates of the package 'filesystem' when new users are to be created (e.g. the systemd-xxx users). The last update on Jun 23 reported this:

warning: /etc/group installed as /etc/group.pacnew
warning: /etc/passwd installed as /etc/passwd.pacnew
warning: /etc/shadow installed as /etc/shadow.pacnew
/tmp/alpm_iOn5cf/.INSTALL: line 2: 26723 Segmentation fault (core
dumped) groupadd "$@" > /dev/null
useradd: group '194' does not exist
/tmp/alpm_iOn5cf/.INSTALL: line 2: 26728 Segmentation fault (core
dumped) groupadd "$@" > /dev/null
useradd: group '195' does not exist

I suppose this error could be related to my machines being AD members and using winbind instead of local logins.


Additional info:
* filesystem 2014.06-2

Content of /etc/pam.d/system-auth:

auth sufficient pam_winbind.so
auth required pam_unix.so try_first_pass nullok
auth optional pam_permit.so
auth required pam_env.so
account sufficient pam_winbind.so
account required pam_unix.so
account optional pam_permit.so
account required pam_time.so
password required pam_unix.so try_first_pass nullok sha512 shadow
password optional pam_permit.so
session required pam_mkhomedir.so
session required pam_winbind.so
session required pam_limits.so
session required pam_unix.so
session optional pam_permit.so

This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 13 September 2014, 14:21 GMT
Reason for closing:  No response
Comment by Dave Reisner (falconindy) - Sunday, 06 July 2014, 13:45 GMT
Has nothing to do with the filesystem package. Figure out how to replicate the crash in the shadow tools and provide a backtrace.
Comment by Dave Reisner (falconindy) - Tuesday, 26 August 2014, 23:50 GMT
Ping -- any luck reproducing this crash outside of the filesystem upgrade?

Loading...