On 09/09/11 17:17, Danek Duvall wrote:
Shawn Walker wrote:

On 09/09/11 16:18, Danek Duvall wrote:
In order to fix the issue that "pkg verify" fails verification on libc on
x86 (and in order to avoid the more extensive changes that allow us to
discover mountpoints on the fly), we need to label files which are
mountpoints as such.  There is a corresponding change to ON to put
"mountpoint=true" on /lib/libc.so.1 for x86.  The changes to the packaging
system are almost as simple:

     18903 support for mountpoint labeling

I think this is right, although I'd add a comment above the is_mtpt =
... saying it exists for libc.so.1 so it's immediately obvious.

     # This is a generic mechanism, but only used for libc on
     # x86, where the "best" version of libc is lofs-mounted
     # on the canonical path, foiling the standard verify
     # checks.

+1

There's also a question as to whether this is our intended long-term
fix (which I doubt).

It may be part of it -- it'd be nice to know whether a file is expected to
be a mountpoint or not, regardless of whether we can detect it and check
underneath it.

Ah, ok.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to