getpwnam: root: No such file or directory
000.fbsd at quip.cz
Sun Jul 20 07:37:46 UTC 2008
Mikhail Goriachev wrote:
> Евгений Шаповал wrote:
>> I try:
>> # /usr/sbin/pwd_mkdb -d /usr/local/jails/test/etc -p
>> and I have:
>> # pwd_mkdb: /usr/local/jails/test/etc/master.passwd: No such file or
>> then I make empty file:
>> # touch /usr/local/jails/test/etc/master.passwd
>> all good! no errors, no messages...
>> I try start jail again, and I have: =\
>> /etc/rc.conf: //: Permission denied
>> Configuring jails:.
>> Starting jails: cannot start jail "test":
>> jail: root: no such user
Did you run "make distribution DESTDIR=/path/to/jail/dir" or something
similar? I don't think so and your jail environment seems uncomplete!
Read the man page example section:
and Handbook to build jail properly
> The jail hasn't been completely populated.
> As Miroslav already stated, can you show us the rc.conf of the host and
> the way you populated the jail?
More information about the freebsd-jail