Reply
 
Thread Tools Display Modes
  #1  
Old 07-11-2012, 10:53 PM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default 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.
Reply With Quote
  #2  
Old 07-12-2012, 04:49 PM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default
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.
Reply With Quote
  #3  
Old 07-12-2012, 05:46 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default 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
Reply With Quote
  #4  
Old 07-12-2012, 06:34 PM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default
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.
Reply With Quote
  #5  
Old 07-12-2012, 06:45 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default 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
Reply With Quote
  #6  
Old 07-12-2012, 08:18 PM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default
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.
Reply With Quote
  #7  
Old 07-12-2012, 09:28 PM
srivo srivo is offline
Member
 
Join Date: Dec 2011
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Same for me. I have this error on startup.
Reply With Quote
  #8  
Old 07-13-2012, 01:46 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
Default 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
Reply With Quote
  #9  
Old 07-13-2012, 03:11 PM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default
That fixed it. The jails will autostart now and home directories are mounted in ports jails. Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:33 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.