I have followed this guide to run Devuan in FreeBSD. I used to be able to jexec into it. But the jail does not get listed again when I run "jls". Surprisingly, I see the jail listed among other jails when I run "ezjail list". I did not create the jail with ezjail.
The problem is not principally that.. Rather, it is about getting rid of the below error so that the jail can autostart like others.
Can anyone please tell me how to get rid of the getpwnam error and start the jail? I have tried several things - copying master pwd in /etc/, creating user, etc - but no luck. I followed the guide step-by-step; I don't know why only me get that error.
The problem is not principally that.. Rather, it is about getting rid of the below error so that the jail can autostart like others.
Can anyone please tell me how to get rid of the getpwnam error and start the jail? I have tried several things - copying master pwd in /etc/, creating user, etc - but no luck. I followed the guide step-by-step; I don't know why only me get that error.
Code:
# jail -c devuan
devuan: created
jail: devuan: getpwnam: No such file or directory
jail: devuan: /etc/init.d/rc 3: failed
devuan: removed
# ezjail-admin start devuan
Starting jails:/etc/rc.d/jail: WARNING: /var/run/jail.devuan.conf is created and used for jail devuan.
cannot start jail "devuan":
10
jail: devuan: getpwnam root: No such file or directory
jail: devuan: /etc/init.d/rc 3: failed
.
/etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf.
Error: Could not start servdevuan.
You need to start it by hand.