i386, fresh cvsup FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #14: Sun Nov 2 12:13:46 GMT 2008 root@psg.com:/usr/obj/usr/src/sys/PSG i386 single luser mode over serial console :/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 this is new and different, and i am worried. no clue in UPDATING. no clue in head. randy
On Mon, Nov 03, 2008 at 03:46:07PM +0900, Randy Bush wrote:> i386, fresh cvsup > > FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #14: Sun Nov 2 12:13:46 > GMT 2008 root@psg.com:/usr/obj/usr/src/sys/PSG i386 > > single luser mode over serial console > > :/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 > > this is new and different, and i am worried. no clue in UPDATING. no > clue in head.Sounds like kern.securelevel is biting you, or possibly some very odd filesystem mounting flags. -- | 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 |
Jeremy Chadwick wrote:> On Mon, Nov 03, 2008 at 03:46:07PM +0900, Randy Bush wrote: >> i386, fresh cvsup >> >> FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #14: Sun Nov 2 12:13:46 >> GMT 2008 root@psg.com:/usr/obj/usr/src/sys/PSG i386 >> >> single luser mode over serial console >> >> :/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 >> >> this is new and different, and i am worried. no clue in UPDATING. no >> clue in head. > > Sounds like kern.securelevel is biting you,exactly. but in single user root? i thought that was not supposed to happen. certainly did not use to happen. randy
On Mon, Nov 03, 2008 at 04:00:01PM +0900, Randy Bush wrote:> Jeremy Chadwick wrote: > > On Mon, Nov 03, 2008 at 03:46:07PM +0900, Randy Bush wrote: > >> i386, fresh cvsup > >> > >> FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #14: Sun Nov 2 12:13:46 > >> GMT 2008 root@psg.com:/usr/obj/usr/src/sys/PSG i386 > >> > >> single luser mode over serial console > >> > >> :/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 > >> > >> this is new and different, and i am worried. no clue in UPDATING. no > >> clue in head. > > > > Sounds like kern.securelevel is biting you, > > exactly. but in single user root? i thought that was not supposed to > happen. certainly did not use to happen.Did you reboot into single-user, or did you simply drop from multi-user into single-user by killing init? And what does "sysctl kern.securelevel" show you while in single-user mode? -- | 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 |
> 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 real 2m7.290s user 0m30.610s sys 0m40.766s :/usr/src# sysctl kern.securelevel kern.securelevel: -1
On Mon, 03 Nov 2008 16:18:47 +0900 Randy Bush <randy@psg.com> wrote:> :/> cd /usr/src > :/usr/src> bashHmm, what happens if you do _not_ use bash here? bash is non-standard for a FreeBSD install (the procedure), so it might bite you. Or it might not. HTH -- Regards, Torfinn Ingolfsen
On 11/3/08, Randy Bush <randy@psg.com> wrote:> i386, fresh cvsup > > FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #14: Sun Nov 2 12:13:46 > GMT 2008 root@psg.com:/usr/obj/usr/src/sys/PSG i386 > > single luser mode over serial console > > :/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 > > this is new and different, and i am worried. no clue in UPDATING. no > clue in head. >ZFS currently doesn't support chflags(2): FreeBSD hp010.hetzel.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Oct 27 22:02:16 CDT 2008 root@hp010.hetzel.org:/usr/obj/usr/src/8x-zfs/sys/DV8135NR amd64 hp010# touch t ; chflags arch t chflags: t: Operation not supported hp010# touch t ; chflags opaque t chflags: t: Operation not supported hp010# touch t ; chflags nodump t chflags: t: Operation not supported hp010# touch t ; chflags sappnd t chflags: t: Operation not supported hp010# touch t ; chflags schg t chflags: t: Operation not supported hp010# touch t ; chflags sunlnk t chflags: t: Operation not supported hp010# touch t ; chflags uappnd t chflags: t: Operation not supported hp010# touch t ; chflags uchg t chflags: t: Operation not supported hp010# touch t ; chflags uunlnk t chflags: t: Operation not supported hp010# rm t Even though http://wiki.freebsd.org/ZFS tells says that chflags(2) support is done. (see http://perforce.freebsd.org/changeView.cgi?CH=147105), it hasn't been merged from perforce to -CURRENT. Scot