Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2008 23:21:45 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: installworld chflags failures
Message-ID:  <20081103072145.GA14071@icarus.home.lan>
In-Reply-To: <490EA5D7.3020307@psg.com>
References:  <490E9E2F.2010403@psg.com> <20081103065306.GA13398@icarus.home.lan> <490EA171.8050600@psg.com> <20081103070403.GA13649@icarus.home.lan> <490EA5D7.3020307@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081103072145.GA14071>