Re: XATTR_PAX, paxmark.sh, elog, icedtea, and maybe more
"Anthony G. Basile" <[email protected]>
| Newsgroups | gmane.linux.gentoo.hardened |
|---|---|
| Message-ID | <[email protected]> |
On 12/19/14 01:51, James Taylor wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 2014/12/19 17:08, Karl-Johan Karlsson wrote: >> On Thu 18 Dec 2014 19.58.11 Anthony G. Basile wrote: >>> On 12/13/14 18:52, Karl-Johan Karlsson wrote: >>>> So it works on ext4, but not ext3, even though both have the > ext_attr flag >>>> on disk. Any difference in kernel support? >>> >>> Because on ext3 you need to add user_xattr to the mount options. Either >>> `mount -o user_xattr` or in fstab in column 4 like this >>> >>> /dev/sdb5 /tmp ext3 user_xattr 0 1 >>> >>> Its automatic on ext4. `man mount` for more info. Please let me know >>> if this works for you. >> >> Aha! I was unaware of that mount option. mount(8) documents it, but is > unclear >> on what the default value is. attr(5) says it's needed on ext2, ext3 and >> reiserfs, but says nothing about ext4. >> >> Unfortunately, the machine is in production, and since it works > without that >> option when using the ext4 code to read ext3, I would prefer to leave > it alone >> for now. >> > Would mount -oremount,user_xattr be an option? Or am I missing the point :)' This would probably work. -- Anthony G. Basile, Ph. D. Chair of Information Technology D'Youville College Buffalo, NY 14201 (716) 829-8197