Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] File-system mounting questions
Date: Fri, 18 Sep 2015 21:14:50
Message-Id: 20150918211415.GA26401@waltdnes.org
1 A while ago, I mentioned that I had problems running cdda2wav as a
2 regular user. While rebuilding cdrtools recently, I noticed that the
3 build finished with the following warnings...
4
5 >>> Installing (1 of 1) app-cdr/cdrtools-3.01_alpha17::gentoo
6 * >>> SetUID: [chmod go-r] /usr/sbin/rscsi ... [ ok ]
7 * >>> SetUID: [chmod go-r] /usr/bin/cdda2wav ... [ ok ]
8 * >>> SetUID: [chmod go-r] /usr/bin/readcd ... [ ok ]
9 * >>> SetUID: [chmod go-r] /usr/bin/cdrecord ... [ ok ]
10 * Could not set caps on '/usr/bin/cdrecord' due to missing filesystem support:
11 * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
12 * * mount the fs with the user_xattr option (if not the default)
13 * * enable the relevant FS_SECURITY option (if configurable)
14 * Could not set caps on '/usr/bin/cdda2wav' due to missing filesystem support:
15 * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
16 * * mount the fs with the user_xattr option (if not the default)
17 * * enable the relevant FS_SECURITY option (if configurable)
18 * Could not set caps on '/usr/bin/readcd' due to missing filesystem support:
19 * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
20 * * mount the fs with the user_xattr option (if not the default)
21 * * enable the relevant FS_SECURITY option (if configurable)
22 >>> Auto-cleaning packages...
23
24 That might explain my problems. So I modified my kernel as below...
25
26 <*> Second extended fs support
27 [*] Ext2 extended attributes
28 [ ] Ext2 POSIX Access Control Lists
29 [ ] Ext2 Security Labels
30 <*> Ext3 journalling file system support
31 [*] Default to 'data=ordered' in ext3
32 [*] Ext3 extended attributes
33 [ ] Ext3 POSIX Access Control Lists
34 [ ] Ext3 Security Labels
35 < > The Extended 4 (ext4) filesystem
36
37 ...rebuilt, and rebooted into it. Still the same warnings on the build.
38 So now it appears that I have to...
39 > mount the fs with the user_xattr option (if not the default)
40 > enable the relevant FS_SECURITY option (if configurable)
41
42 Can someone point me to an example somewhere of how to do it? I
43 prefer not to muck around blindly with unknown options in /etc/fstab
44 BTW, I'm building cdrtools with USE="caps filecaps -acl -nls -unicode"
45 if that matters.
46
47 --
48 Walter Dnes <waltdnes@××××××××.org>
49 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] File-system mounting questions Fernando Rodriguez <frodriguez.developer@×××××××.com>