installworld chflags failures

Jeremy Chadwick koitsu at FreeBSD.org
Sun Nov 2 23:21:47 PST 2008


On Mon, Nov 03, 2008 at 04:18:47PM +0900, Randy Bush wrote:
> > Did you reboot into single-user, or did you simply drop from
> > multi-user into single-user by killing init?
> 
> rebooted and was in out of band on serial console
> 
> > And what does "sysctl kern.securelevel" show you while in single-user
> > mode?
> 
> doh.  i shoulda looked, eh?
> 
> <the idiot reboots>
> 
> Enter full pathname of shell or RETURN for /bin/sh:
> id: not found
> grep: not found
> :/> sysctl kern.securelevel
> kern.securelevel: -1
> :/> /etc/rc.d/hostid start
> Setting hostuuid: 6b70e4ac-874d-11dc-873e-003048293754.
> Setting hostid: 0x5ef5842d.
> :/> /etc/rc.d/zfs start
> :/> sysctl kern.securelevel
> kern.securelevel: -1
> :/> cd /usr/src
> :/usr/src> bash
> :/usr/src# time make installworld 2>&1 > installworld.log
> install: /usr/lib/libkse.so.3: chflags: Operation not supported
> install: /usr/lib/librt.so.1: chflags: Operation not supported
> chflags: /usr/bin/chpass: Operation not supported
> install: /usr/bin/login: chflags: Operation not supported
> install: /usr/bin/opieinfo: chflags: Operation not supported
> install: /usr/bin/opiepasswd: chflags: Operation not supported
> chflags: /usr/bin/passwd: Operation not supported
> install: /usr/bin/rlogin: chflags: Operation not supported
> install: /usr/bin/rsh: chflags: Operation not supported
> install: /usr/bin/su: chflags: Operation not supported
> install: /usr/bin/crontab: chflags: Operation not supported
> install: /usr/sbin/sliplogin: chflags: Operation not supported

Is /usr a ZFS filesystem or part of a zpool?  If so, possibly you have
some ZFS settings on your pool or filesystem which are inhibiting the
ability to use chflags in some way?  "zfs get all" will help.

Otherwise, I don't have any immediate ideas.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list