Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] can not mount USB stick as user
Date: Wed, 05 Feb 2014 18:42:24
Message-Id: 20140205184234.GF4093@syscon7.ed.shawcable.net
In Reply to: Re: [gentoo-user] can not mount USB stick as user by Alan McKinnon
1 On 02/05/14 20:06, Alan McKinnon wrote:
2 >On 05/02/2014 19:03, Joseph wrote:
3 >> On 02/05/14 18:35, Alan McKinnon wrote:
4 >>> On 05/02/2014 18:32, Joseph wrote:
5 >>>> Which program is responsible for mounting USB stick on XFCE4?
6 >>>>
7 >>>> After enable "systemd" flag in make.conf USE=
8 >>>> the following packages were rebuild:
9 >>>> sys-apps/busybox
10 >>>> sys-apps/dbus
11 >>>> sys-auth/pambase
12 >>>> sys-auth/polkit
13 >>>> sys-fs/udisks
14 >>>> sys-power/upower
15 >>>> gnome-base/gvfs
16 >>>>
17 >>>> But now I have a BIG problem, I can not mount USB stick at all as user
18 >>>> (only as root).
19 >>>> Eject doesn't work either.
20 >>>>
21 >>>
22 >>> fast reply off the top of the head of someone who has never used systemd:
23 >>>
24 >>>
25 >>> Systemd and udev are tightly interwoven. Did you restart udev?
26 >>>
27 >>> --
28 >>> Alan McKinnon
29 >>> alan.mckinnon@×××××.com
30 >>
31 >> Yes, I restarted the system. I don't have "udev" installed; systemd is
32 >> replacing udev isn't it?
33 >> Before installing systemd I had to unmerge udev.
34 >>
35 >
36 >Here's how I understand how things work:
37 >
38 >There's a body of code called "udev" which when runs performs a service
39 >called "udev".
40 >
41 >There's also a body of code called "systemd" which when it runs is PID 1.
42 >
43 >And there's a project called "systemd" which does all manner of PID 1
44 >things and controls early startup amongst other things. There used to be
45 >a project called udev which has been folded into the systemd project.
46 >
47 >Both bodies of code are these days found in a tarball called "systemd"
48 >from the systemd project which is why you download systemd sources when
49 >installing the Gentoo udev package.
50 >
51 >However, systemd doesn't just magically do what udev does out of thin
52 >air. udev is still a functional running service and must be enabled in
53 >systemd for it to run.
54 >
55 >Confused yet? English is a hugely overloaded language.
56 >
57 >I'm thinking you need systemd with the udev USE flag set.
58 >
59 >--
60 >Alan McKinnon
61 >alan.mckinnon@×××××.com
62
63 If I'm not mistaken my "systemd" is installed with "gudev" flag.
64
65 sys-apps/systemd-208-r2:0/1 USE="filecaps firmware-loader gudev introspection kmod pam policykit tcpd -acl -audit -cryptsetup -doc -gcrypt -http -lzma -python
66 -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
67
68 --
69 Joseph

Replies

Subject Author
Re: [gentoo-user] can not mount USB stick as user Alan McKinnon <alan.mckinnon@×××××.com>