[Bug 1408589] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Mon Jan 19 10:39:23 UTC 2015
------- Comment From mainamdar at in.ibm.com 2015-01-19 10:36 EDT-------
Hello Ubuntu,
Any update on this?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1408589
Title:
chfn does not work in chroot environment
Status in shadow package in Ubuntu:
New
Bug description:
== Comment: #0 - Guang Cheng Li <liguangc at cn.ibm.com> - 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 liguangc at cn.ibm.com, Ralph Bellofatto ralphbel at us.ibm.com
---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 at tulgpu002:~# ls
chfn-error-rootimg
root at tulgpu002:~# chroot chfn-error-rootimg
root at 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 at tulgpu002:/#
root at tulgpu002:/# chfn -f 'games user id' games
chfn: PAM: System error
root at tulgpu002:/#
*Additional Instructions for Guang Cheng Li liguangc at cn.ibm.com, Ralph Bellofatto ralphbel at us.ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1408589/+subscriptions
More information about the foundations-bugs
mailing list