You have been subscribed to a public bug: == Comment: #0 - Guang Cheng Li <[email protected]> - 2015-01-07 01:51:51 == ---Problem Description--- chfn does not work in a chroot environment.
In a chroot environment, the chroot exits with error "chfn: PAM: System error" and does not do anything. This might be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763391 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745082 Contact Information = Guang Cheng Li [email protected], Ralph Bellofatto [email protected] ---uname output--- Linux tulgpu002 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:55:08 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux Machine Type = N/A ---Debugger--- A debugger is not configured ---Steps to Reproduce--- Create a Ubuntu chroot environment, chroot into the directory, then run chfn. root@tulgpu002:~# ls chfn-error-rootimg root@tulgpu002:~# chroot chfn-error-rootimg root@tulgpu002:/# ls bin dev home lib media opt root sbin sys usr vmlinux boot etc initrd.img lib64 mnt proc run srv tmp var xcatpost root@tulgpu002:/# root@tulgpu002:/# chfn -f 'games user id' games chfn: PAM: System error root@tulgpu002:/# *Additional Instructions for Guang Cheng Li [email protected], Ralph Bellofatto [email protected]: -Post a private note with access information to the machine that the bug is occuring on. ** Affects: shadow (Ubuntu) Importance: Undecided Status: New ** Tags: architecture-ppc64le bot-comment bugnameltc-119995 severity-critical targetmilestone-inin--- -- chfn does not work in chroot environment https://bugs.launchpad.net/bugs/1408589 You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shadow in Ubuntu. -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

