[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745082: Bug#763391: chfn and fakechroot



On 02/21/2015 12:12 AM, Daniel Kahn Gillmor wrote:
> On Fri 2015-02-20 18:24:18 -0500, jhcha54008 wrote:
>> May I ask if debootstrap ran in a fakechroot environment or as real root ?
> 
> I'm curious about this too.  Adrian, can you give more details?

I always ran debootstrap as the regular root user. Except that on sh4, I
ran bash in a screen so I could detach the session since debootstrap
takes a while on these machines.

What completely puzzles me that it does work without any issues on m68k
and amd64 using the exact same command line albeit I did not use screen
on both amd64 and m68k. I'm running the command on sh4 without screen
now to see if that fixes it otherwise I don't really know yet what could
be different on sh4.

We need to figure out what part of the chain of scripts is responsible
for taking out the quotes to the option argument of chfn. I am
suspecting some Perl issue as adduser is written in Perl and the
postinst script of systemd which actually runs adduser properly
quotes the option argument for the gecos field.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: