getpwnam: root: No such file or directory

Mikhail Goriachev mikhailg at webanoide.org
Sat Jul 19 21:31:23 UTC 2008


Евгений Шаповал wrote:
> Thanks!
> 
> I try:
> # /usr/sbin/pwd_mkdb -d /usr/local/jails/test/etc -p
> /usr/local/jails/test/etc/master.passwd
> 
> and I have:
> 
> # pwd_mkdb: /usr/local/jails/test/etc/master.passwd: No such file or directory
> 
> 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
> =============================

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?


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide


More information about the freebsd-jail mailing list