tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2008Q1 bootstrap issues under solaris 10u4?

slightly unrelated to the current compiler woes, but I've bumped into
some issues when installing the bootstrap-mk-files as install tries
to create /usr/pkg with root.root and perms 755 which it doesn't need
to do as this directory already exists with the correct ownership and

The problem for /usr/ucb/install is that /usr is read-only inside this
zone, however I have mounted a lofs filesystem onto /usr/pkg which is
definately available and read-write:

# ls -ald /usr /usr/pkg
drwxr-xr-x  46 root     sys         1024 Apr 17 17:36 /usr
drwxr-xr-x   2 root     root         512 Apr 18 11:01 /usr/pkg
# mount -v | grep usr
/usr on /usr type lofs read-only/setuid/nodevices/nosub/dev=220000b on Fri Apr 
18 10:44:17 2008
/store/pkgsrc/root on /usr/pkg type lofs 
read/write/setuid/devices/zone=compile/dev=220000d on Fri Apr 18 10:44:27 2008
# /usr/ucb/install -d -o root -g root -m 755 /usr/pkg
install: mkdir: /usr/pkg: Read-only file system

There doesn't seem to be an option to this version of install to just
do the right thing - should this be tested against somewhere in the
pkgsrc code?

Malcolm Herbert                                This brain intentionally                                                left 

Home | Main Index | Thread Index | Old Index