fyi, i've filed two bugs on these issues: 14667 compatibility/ucb delivers /export and /home 14668 pkg directory action does work when there is none
ed On Thu, Feb 18, 2010 at 12:05:58PM -0800, Edward Pilatowicz wrote: > hey all, > > so i'm trying to image-update from b132 to b133 and it's failing as > follows: > ---8<--- > Install Phase 33328/101573 > Action install failed for 'export' (pkg://opensolaris.org/compatibility/ucb): > OSError: [Errno 30] Read-only file system: '/tmp/tmp7J4M10/export' > The running system has not been modified. Modifications were only made > to a clone of the running system. This clone is mounted at > /tmp/tmp7J4M10 should you wish to inspect it. > pkg: Could not complete the operation on /tmp/tmp7J4M10/export: > read-only filesystem > ---8<--- > > looking at the ucb package it does deliver /export: > ---8<--- > e...@mcescher$ pkg contents -r -m compatibility/ucb | grep export > dir group=sys mode=0755 owner=root path=export > ---8<--- > > and beadm has indeed lofs mounted /export onto /tmp read only: > ---8<--- > e...@mcescher$ mount | grep "/export " | cut -c -78 > /export on export read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90 > /tmp/tmpp4YmjJ/export on /export read only/setuid/devices/nosub/dev=2d90006 on > ---8<--- > > now my laptop (on which i did the same update, b132 -> b133) didn't hit > this problem. afaik, the difference seems to be that my desktop has > zones installed on it, hence beadm is lofs mounting /export to the > new BE, where as on my laptop, no zones are installed so beadm doesn't > lofs mount /export to the new BE. > > so my first question is, why is ucb delivering /export? > > second, if we look at the perms for /export, they already match those > specified in the ucb package: > ---8<--- > e...@mcescher$ ls -ld /tmp/tmpp4YmjJ/export > drwxr-xr-x 23 root sys 23 Feb 5 12:48 /tmp/tmpp4YmjJ/export/ > ---8<--- > > so why is a pkg install action trying to update /export when its current > attributes match those specified in it's action? > > ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
