Gentoo Archives: gentoo-hardened

From: James Taylor <james@××××××××××.au>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] XATTR_PAX, paxmark.sh, elog, icedtea, and maybe more
Date: Fri, 19 Dec 2014 07:00:31
Message-Id: 5493CD00.9070607@jtaylor.id.au
In Reply to: Re: [gentoo-hardened] XATTR_PAX, paxmark.sh, elog, icedtea, and maybe more by Karl-Johan Karlsson
1 On 2014/12/19 17:08, Karl-Johan Karlsson wrote:
2 > On Thu 18 Dec 2014 19.58.11 Anthony G. Basile wrote:
3 >> On 12/13/14 18:52, Karl-Johan Karlsson wrote:
4 >>> So it works on ext4, but not ext3, even though both have the ext_attr flag
5 >>> on disk. Any difference in kernel support?
6 >>
7 >> Because on ext3 you need to add user_xattr to the mount options. Either
8 >> `mount -o user_xattr` or in fstab in column 4 like this
9 >>
10 >> /dev/sdb5 /tmp ext3 user_xattr 0 1
11 >>
12 >> Its automatic on ext4. `man mount` for more info. Please let me know
13 >> if this works for you.
14 >
15 > Aha! I was unaware of that mount option. mount(8) documents it, but is unclear
16 > on what the default value is. attr(5) says it's needed on ext2, ext3 and
17 > reiserfs, but says nothing about ext4.
18 >
19 > Unfortunately, the machine is in production, and since it works without that
20 > option when using the ext4 code to read ext3, I would prefer to leave it alone
21 > for now.
22
23 Would mount -oremount,user_xattr be an option? Or am I missing the point :)
24
25 P.S. Sorry for my garbled reply earlier, seems I'd forgotten to set
26 Enigmail up properly.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-hardened] XATTR_PAX, paxmark.sh, elog, icedtea, and maybe more Karl-Johan Karlsson <creideiki+gentoo-hardened@××××××××××.se>