
07-11-2012, 10:53 PM
|
|
Senior Member
|
|
Join Date: Aug 2010
Posts: 101
Thanks: 3
Thanked 10 Times in 9 Posts
|
|
9-stable 20120622 warden portsjail stops mounting home directories
I notice that at some point after a fresh install the warden stops mounting home directories inside of ports jails. I tried to even create new ports jails to see if it would mount /usr/home and nothing. Also the autostart stops functioning and I have to start the jails manually. I've been digging around to see if I can find a log file that might explain why. No such luck yet. I suspect it could be the fact I created a separate tank by hand for /usr/home. I'm going to retest with a fresh install with the default zfs file system layout and see what happens as well.
|
|

07-12-2012, 04:49 PM
|
|
Senior Member
|
|
Join Date: Aug 2010
Posts: 101
Thanks: 3
Thanked 10 Times in 9 Posts
|
|
|
The problem seems to occur after the first restart after the jail is created. Home mounts fine until I reboot the machine with the jail autostart enabled. I am going to try again with jail autostart disabled as I was able to stop and start the jail without any problems until the first reboot.
|
|

07-12-2012, 05:46 PM
|
 |
Administrator
|
|
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,442
Thanks: 0
Thanked 106 Times in 88 Posts
|
|
9-stable 20120622 warden portsjail stops mounting home directories
I made some changes for BETA1 which should fix this issue. Can you
retest it on your box when BETA1 hits?
__________________
----
Kris Moore
PC-BSD Founder
|
|

07-12-2012, 06:34 PM
|
|
Senior Member
|
|
Join Date: Aug 2010
Posts: 101
Thanks: 3
Thanked 10 Times in 9 Posts
|
|
Actually I found dru posted some instructions to update to your new version of the control panel that you plan to unclude in beta1 here http://blog.pcbsd.org/2012/07/new-fe...the-impatient/
I updated and it fixed mounting the home directories. The auto start still isn't working yet, although that's less crippling than not mounting the home directories.
|
|

07-12-2012, 06:45 PM
|
 |
Administrator
|
|
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,442
Thanks: 0
Thanked 106 Times in 88 Posts
|
|
9-stable 20120622 warden portsjail stops mounting home directories
Do you have this in /etc/rc.conf?
# Enable the Warden
warden_enable="YES"
__________________
----
Kris Moore
PC-BSD Founder
|
|

07-12-2012, 08:18 PM
|
|
Senior Member
|
|
Join Date: Aug 2010
Posts: 101
Thanks: 3
Thanked 10 Times in 9 Posts
|
|
|
I do have warden_enable="YES" in rc.conf. if I try to start warden manually i get this
[root@pcbsd-6303] /etc# /usr/local/etc/rc.d/wardenrc start
Starting the Warden
/usr/local/share/warden/scripts/rc.d/startup.sh: 30: Syntax error: "(" unexpected (expecting "fi")
i can open warden and start the jail manually just fine.
|
|

07-12-2012, 09:28 PM
|
|
Member
|
|
Join Date: Dec 2011
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Same for me. I have this error on startup.
|
|

07-13-2012, 01:46 PM
|
 |
Administrator
|
|
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,442
Thanks: 0
Thanked 106 Times in 88 Posts
|
|
9-stable 20120622 warden portsjail stops mounting home directories
Re-svn update and reinstall src-sh/warden, it was a misplaced " causing
the issue :P
__________________
----
Kris Moore
PC-BSD Founder
|
|

07-13-2012, 03:11 PM
|
|
Senior Member
|
|
Join Date: Aug 2010
Posts: 101
Thanks: 3
Thanked 10 Times in 9 Posts
|
|
That fixed it. The jails will autostart now and home directories are mounted in ports jails. Thanks
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 09:03 PM.
|
|