[Bug 198169] Creating jail corrupts /etc/passwd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 20 03:14:07 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198169

Allan Jude <allanjude at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed
                 CC|                            |allanjude at FreeBSD.org

--- Comment #2 from Allan Jude <allanjude at FreeBSD.org> ---
(In reply to hbowden from comment #0)

setenv is used for csh, the default root shell

So those instructions work if you type them into a default root shell, but when
you turned it into a script and changed the shell from csh to sh, without
updating the syntax, you never set D, so you ran 'make installworld' and 'make
distribution' with a blank DESTDIR, which defaulted to /, overwriting your
install.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list