freebsd-update on jails

Jeffrey Smith jeffrey.smith at futurecis.com
Sun Apr 20 20:16:48 UTC 2008


  I previously posted a howto to use zfs to manage jails.  The first
update through freebsd-update has been released.  Testing this I get

(in jail)
ldap1#freebsd-update install
Installing updates...chflags: ///usr/lib/libssh.a: Operation not
supported

After this error I enabled chflags in sysctl on the host system
#sysctl security.jail.chflags_allowed=1

This did not not work in fixing the issue
after reading the freebsd-update man page I thought this should be
possible

#freebsd-update -b /jails/ldap1/ -d /jails/ldap1/var/db/freebsd-update/
\ install
Installing updates...chflags: /jails/ldap1///usr/lib/libssh.a: Operation
not supported

But I still get that same error.  Does anyone have any idea what would
keep this from working?  If there is a way to update the host and all
subsequent jails vi the host that would be great, as i would prefer not
to allow chflags from within the jails.


thanks in advance



More information about the freebsd-jail mailing list