Fedora 17’s unified filesystem (/usr-move)
Daniel J Walsh
dwalsh at redhat.com
Mon Jan 30 19:32:10 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/30/2012 09:34 AM, Frank Murphy wrote:
> On 30/01/12 14:28, Daniel J Walsh wrote:
>>>
>> Yes grep autorelabel /usr/lib/dracut/modules.d/30usrmove/*
>> /usr/lib/dracut/modules.d/30usrmove/usrmove-convert.sh:echo "Set
>> autorelabel flag."
>> /usr/lib/dracut/modules.d/30usrmove/usrmove-convert.sh:>
>> "$ROOT/.autorelabel"
>
> What about on an already done box. Anything to be aware of?
>
>
Doubt it. It looks like the only things that need to be relabled are
the symlinks /sbin, /bin, /lib, /lib64, best if we did this with
setfiles. /etc/ld.so.cache seems to need a label also.
Here is a patch that I think we should consider, which would eliminate
the relabel, if it works...
Sadly I updated my machine with a previous version of this script and
the script broke. If anyone has a good test environment, that could
try it out, would be great.
Theoretically if this patch works, you would not need to disable
SELinux at all.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8m8DoACgkQrlYvE4MpobO1wACeNjHDlNpntQeu42hprMUIc41y
0L8An1weo4Qt/Ayfce1szzeXC9Qs/03M
=YuXP
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usrmove_selinux.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120130/ec10c868/attachment.bin>
More information about the devel
mailing list