[Bug 811185] New: ACLs for devices are not set - no active user (GNOME DE)
https://bugzilla.novell.com/show_bug.cgi?id=811185 https://bugzilla.novell.com/show_bug.cgi?id=811185#c0 Summary: ACLs for devices are not set - no active user (GNOME DE) Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: arvidjaar@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 I notice this when I tried to import pictures from camera. It did not work and root cause was wrong permissions. Here is what happens with udevd log level == debug: 2013-03-23T12:44:50.756559+04:00 opensuse systemd-udevd[19217]: RUN 'uaccess' /usr/lib/udev/rules.d/73-seat-late.rules:15 2013-03-23T12:44:50.757172+04:00 opensuse systemd-udevd[19217]: handling device node '/dev/bus/usb/002/013', devnum=c189:140, mode=0664, uid=0, gid=0 2013-03-23T12:44:50.757629+04:00 opensuse systemd-udevd[19217]: set permissions /dev/bus/usb/002/013, 020664, uid=0, gid=0 Note uid=0, gid=0. This is obviously wrong and bogus. The apparent problem is, I have two inactive users for the same seat: bor@opensuse:~> loginctl --no-pager list-sessions SESSION UID USER SEAT 4 0 root seat0 6 501 bor seat0 2 sessions listed. bor@opensuse:~> loginctl --no-pager show-session -p Name -p Active 4 6 Active=no Name=root Active=no Name=bor bor@opensuse:~> who root tty2 2013-03-23 07:51 bor :0 2013-03-23 07:52 (console) bor console 2013-03-23 07:52 (:0) bor pts/0 2013-03-23 08:02 (:0) bor pts/1 2013-03-23 08:56 (:0) bor pts/2 2013-03-23 09:50 (:0) But I do work under this session ... so this *is* active. bor@opensuse:~> loginctl --no-pager session-status 4 6 4 - root (0) Since: Sat, 2013-03-23 07:51:15 MSK; 5h 2min ago Leader: 3156 (login) Seat: seat0; vc2 TTY: tty2 Service: login; type tty; class user State: online CGroup: name=systemd:/user/root/4 ├ 3156 login -- root └ 3239 -bash 6 - bor (501) Since: Sat, 2013-03-23 07:52:03 MSK; 5h 1min ago Leader: 3516 (gdm-session-wor) Seat: seat0 Display: :0 Service: gdm-password; type x11; class user State: online CGroup: name=systemd:/user/bor/6 ├ 3516 gdm-session-worker [pam/gdm-password] ├ 3521 /usr/bin/gnome-keyring-daemon --daemonize --login ├ 3524 /usr/bin/ck-launch-session /usr/bin/dbus-launch --... ├ 3569 /usr/bin/gnome-session ├ 3572 /usr/bin/dbus-launch --sh-syntax --exit-with-sessi... ├ 3573 /bin/dbus-daemon --fork --print-pid 5 --print-addr... ├ 3575 /usr/lib/at-spi2/at-spi-bus-launcher ├ 3579 /bin/dbus-daemon --config-file=/etc/at-spi2/access... ├ 3582 /usr/lib/at-spi2/at-spi2-registryd --use-gnome-ses... ├ 3586 /usr/lib/gvfs/gvfsd ├ 3590 /usr/lib/gvfs//gvfsd-fuse -f /run/user/501/gvfs ├ 3611 /usr/bin/pulseaudio --start ├ 3613 /usr/lib/gnome-settings-daemon-3.0/gnome-settings-... ├ 3626 /usr/lib/dconf-service ├ 3630 /usr/lib/pulse/gconf-helper ├ 3632 /usr/lib/GConf/2/gconfd-2 ├ 3638 /usr/lib/gvfs/gvfs-udisks2-volume-monitor ├ 3642 /usr/lib/gvfs/gvfs-afc-volume-monitor ├ 3647 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor ├ 3652 /usr/bin/gnome-shell ├ 3657 syndaemon -i 1.0 -t -K -R ├ 3673 /usr/lib/tracker-store ├ 3675 /usr/lib/gnome-settings-daemon-3.0/gsd-printer ├ 3676 /usr/bin/python /usr/share/system-config-printer/a... ├ 3684 /usr/lib/tracker-miner-fs ├ 3686 zeitgeist-datahub ├ 3691 nm-applet ├ 3697 /usr/bin/zeitgeist-daemon ├ 3702 /usr/lib/evolution/3.6/evolution-alarm-notify ├ 3713 /usr/lib/gnome-shell/gnome-shell-calendar-server ├ 3714 /usr/lib/zeitgeist-fts ├ 3729 /usr/lib/evolution-data-server/evolution-source-re... ├ 3732 /bin/cat ├ 3754 /usr/lib/gvfs/gvfsd-metadata ├ 3758 /usr/lib/goa-daemon ├ 3760 /usr/lib/evolution-data-server/evolution-calendar-... ├ 3764 /usr/lib/mission-control-5 ├ 3789 /usr/lib/libsocialweb-core ├ 3793 /usr/lib/evolution-data-server/evolution-addressbo... ├ 3998 /usr/lib64/firefox/firefox ├ 4022 claws-mail ├ 4153 /usr/lib/gvfs/gvfsd-http --spawner :1.4 /org/gtk/g... ├ 4186 gnome-terminal ├ 4192 gnome-pty-helper ├ 4193 bash ├ 4653 dbus-launch --autolaunch=40527be2480f8cf60f4e8d4b0... ├ 4654 /bin/dbus-daemon --fork --print-pid 5 --print-addr... ├ 6165 bash ├ 12615 bash ├ 14138 sudo view /var/log/messages ├ 14140 view /var/log/messages ├ 14886 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/... ├ 14896 /usr/lib/gvfs/gvfsd-burn --spawner :1.4 /org/gtk/g... ├ 19271 view udev-builtin-uaccess.c └ 19377 loginctl --no-pager session-status 4 6 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c1
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c2
--- Comment #2 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c3
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c4
--- Comment #4 from Andrey Borzenkov
Does it work if you add "plymouth.enable=0" on your kernel command line ?
Yes, it works. There is also no delay after "init 5". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c6
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c7
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c9
--- Comment #9 from Andrey Borzenkov
It fixes both "rd.plymouth=0" and "boot in runlevel 3 and starting init 5 later" issues.
This fixed permissions issues in both cases for me. Remaining cosmetic glitch - long delay after init 5 before X server is launched. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c10
Wolfgang Bauer
please test plymouth from http://download.opensuse.org/repositories/home:/fcrozat:/debugplymouth/stand... . Should be available in few minutes.
It fixes both "rd.plymouth=0" and "boot in runlevel 3 and starting init 5 later" issues.
I can confirm that those packages fix the ACL issues for me (and VT switching not working) when booting to runlevel 3 and running "init 5". And KDM seems to start consistently on VT7 now when booting to runlevel 5 (was VT8 most of the time before). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c11
Frederic Crozat
This fixed permissions issues in both cases for me. Remaining cosmetic glitch - long delay after init 5 before X server is launched.
I'm not convinced this delay is related to plymouth (in the init 5 case, plymouth isn't running anymore when init 5 is being started). Or maybe there is some KMS buffers not cleared.. Anyway, if you don't see it when booting with "plymouth.enable=0 rd.plymouth=0 3", fill a new bug. Requesting maintenance update (mr#178561) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c13
--- Comment #13 from Andrey Borzenkov
(In reply to comment #9)
This fixed permissions issues in both cases for me. Remaining cosmetic glitch - long delay after init 5 before X server is launched.
I'm not convinced this delay is related to plymouth (in the init 5 case, plymouth isn't running anymore when init 5 is being started).
plymouth is (attempted to be) started on every run-level change. If there is no framebuffer, we have 60 second delay due to two udevadm settle calls.
fill a new bug.
https://bugzilla.novell.com/show_bug.cgi?id=824442 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c15
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c16
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c17
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=811185
https://bugzilla.novell.com/show_bug.cgi?id=811185#c18
--- Comment #18 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com