Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 232-25 Followup-For: Bug #732209 Hello I am also using Debian Stretch on Cinnamon desktop and the problem seems to be gone. I am no longer getting strange messages in syslog neither the annoying X desktop lock-up. Interestingly, when I do "gksu /usr/bin/x-terminal-emulator", I get a segfault (you read it right, on Debian stable!): " 2017-07-03T20:16:24.930235+02:00 qmitoshiba kernel: [14358.860790] gnome-terminal-[4335]: segfault at 8 ip 560f0872ccb7 sp 7ffca2a0f540 error 4 in gnome-terminal-server[560f08718000+4c000] " Still, I am able to spin-up a new gnome terminal nonetheless. The bug displayed above is less of an issue, as it is not a blocker to your daily routine having to restart your X desktop session like it used to. So, thankfully, the original issue looks like to be gone. Just in case anyone did not notice, the x-terminal-emulator is a gnome-terminal.wrapper Perl script (which in turn runs gnome-terminal) by default: " root@qmitoshiba:~# update-alternatives --display x-terminal-emulator x-terminal-emulator - auto mode link best version is /usr/bin/gnome-terminal.wrapper link currently points to /usr/bin/gnome-terminal.wrapper link x-terminal-emulator is /usr/bin/x-terminal-emulator slave x-terminal-emulator.1.gz is /usr/share/man/man1/x-terminal-emulator.1.gz /usr/bin/gnome-terminal.wrapper - priority 40 slave x-terminal-emulator.1.gz: /usr/share/man/man1/gnome-terminal.1.gz root@qmitoshiba:~# ls -l /usr/bin/gnome-terminal.wrapper -rwxr-xr-x 1 root root 1394 Jun 16 2011 /usr/bin/gnome-terminal.wrapper root@qmitoshiba:~# dpkg -S !$ dpkg -S /usr/bin/gnome-terminal.wrapper gnome-terminal: /usr/bin/gnome-terminal.wrapper root@qmitoshiba:~# file /usr/bin/gnome-terminal.wrapper /usr/bin/gnome-terminal.wrapper: Perl script text executable root@qmitoshiba:~# " After others confirm the same behaviour including on sid, we can close this bug and open a new one against the gnome-terminal. -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-systemd depends on: ii dbus1.10.18-1 ii libc6 2.24-11+deb9u1 ii libpam-runtime 1.1.8-3.6 ii libpam0g1.1.8-3.6 ii libselinux1 2.6-3+b1 ii systemd 232-25 ii systemd-sysv232-25 libpam-systemd recommends no packages. libpam-systemd suggests no packages. -- no debconf information -- Miklos Quartus in...@miklos.info WWW: http://www.miklos.info GPG: 3C4B 1364 A379 7366 7FED 260A 2208 F2CE 3FCE A0D3
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
I had the same problem when upgrading from jessie to stretch (systemd 232-25) with a Cinnamon desktop. Opening a root terminal using "gksu /usr/bin/x-terminal-emulator" (as in the menu) causes lots of dconf-CRITICAL error messages. These vanish if I edit the menu item to "gksudo /usr/bin/x-terminal-emulator" and add the original user u to the sudo group vi "usermod -a -G sudo u". This also seemed to fix a less critical but similar error with fuse complaining about a "bad mount point /run/user/1000/gvfs Permission denied".
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
On Fri, 2017-05-19 at 22:51 +0200, Michael Biebl wrote: > > May 18 11:46:10 learner tracker-extract[5459]: unable to create file > '/run/user/1000/dconf/user': Permission denied. dconf will not work properly. > > That's most certainly a different issue. > tracker uses uses a seccomp sandbox for its extractors nowadays. > The error you get is most likely a result of that. Thanks Michael. I just checked upstream and this issue is reported and fixed already (Probably in version 1.12). https://bugzilla.gnome.org/show_bug.cgi?id=779342 -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: This is a digitally signed message part
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Am 18.05.2017 um 08:06 schrieb Ritesh Raj Sarraf: > Package: libpam-systemd > Version: 232-23 > Followup-For: Bug #732209 > > I see the same problem show up on my GNOME box. In my case, it is > tracker that is complaining, which could be a reason why I haven't > directly witnessed any loss of functionality in my laptop usage. > May 18 11:46:10 learner tracker-extract[5459]: unable to create file > '/run/user/1000/dconf/user': Permission denied. dconf will not work properly. That's most certainly a different issue. tracker uses uses a seccomp sandbox for its extractors nowadays. The error you get is most likely a result of that. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 232-23 Followup-For: Bug #732209 I see the same problem show up on my GNOME box. In my case, it is tracker that is complaining, which could be a reason why I haven't directly witnessed any loss of functionality in my laptop usage. May 18 11:44:52 learner dbus-daemon[5176]: Reloaded configuration May 18 11:45:32 learner tracker-extract[5459]: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly. May 18 11:45:39 learner fdm[29614]: researchut: 17 messages processed (0 kept) in 37.985 seconds (average 2.234) May 18 11:45:57 learner chromium.desktop[6365]: [6365:6365:0518/114557.763909:ERROR:browser_main_loop.cc(279)] Gdk: gdk_window_set_user_time called on non-toplevel May 18 11:45:58 learner chromium.desktop[6365]: [6365:6365:0518/114558.138419:ERROR:browser_main_loop.cc(279)] Gdk: gdk_window_set_user_time called on non-toplevel May 18 11:46:10 learner tracker-extract[5459]: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly. -- System Information: Debian Release: 9.0 APT prefers testing-debug APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.10.13+ (SMP w/4 CPU cores) Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-systemd depends on: ii dbus1.10.18-1 ii libc6 2.24-10 ii libpam-runtime 1.1.8-3.5 ii libpam0g1.1.8-3.5 ii libselinux1 2.6-3+b1 ii systemd 232-23 ii systemd-sysv232-23 libpam-systemd recommends no packages. libpam-systemd suggests no packages. -- no debconf information
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 229-5 Followup-For: Bug #732209 I can see this exact error message repeated over and over again on the console after installing and starting evlution on an otherwhise freshly installed minimal stretch system. I am running evolution under xmonad, which I start directly from my xinitrc via startx. No Gnome desktop is installed, only the minimal dependencies that are pulled when installing evolution and xmonad. I am roporting this with the hope that the fact that the error is 100% reproducible on a very minimal system might lead to new insights concerning the nature of the problem. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-systemd depends on: ii dbus1.10.8-1 ii libc6 2.22-7 ii libpam-runtime 1.1.8-3.2 ii libpam0g1.1.8-3.2 ii libselinux1 2.5-2 ii systemd 229-5 ii systemd-sysv229-5 libpam-systemd recommends no packages. libpam-systemd suggests no packages. -- no debconf information
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Hi, Can you please try the patch for systemd from [1] and check if the issue is still present? [1] https://github.com/linuxmint/systemd/commit/f7ab85f1e1169ac1598dfc1fba1c01063840b3c5.patch
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
I'm able to reproduce this bug using Mate. In my case it always boils down to right-clicking a file or dir and try to delete it in caja (bypasing the 'prullenbak' in Dutch, probably something like trash bin in English), then caja crashes and /run/user/1000/dconf/user is owned by root. Timestamp of /run/user/1000/dconf/user (owned by root) is usualy at least 2 hours before the crash occurs, strange (UTC? my timezone differs 2 hours with utc). Typical this crash happens when doing this right-click and delete in caja more the 10 times. Don't know if that means anything though... Op 17-04-15 om 15:01 schreef Michael Biebl: On Mon, 16 Feb 2015 20:37:26 +0100 Miklos Quartus wrote: Package: libpam-systemd Version: 215-11 Followup-For: Bug #732209 Hi Vlad, Yes, I am still able to reproduce this bug in my GNOME session in my latest Jessie, indeed. After opening the root terminal window and in focus, I can use three ways to trigger: 1. In a standar user terminal open a shell and run "gksu gedit". 2. Type Super key and search dconf-Editor and run it. 3. Type Super key and search for Files file manager and run it. Using GNOME here as well. I'm not able to reproduce the problem with the steps you outlined. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
On Mon, 16 Feb 2015 20:37:26 +0100 Miklos Quartus wrote: > Package: libpam-systemd > Version: 215-11 > Followup-For: Bug #732209 > > Hi Vlad, > > Yes, I am still able to reproduce this bug in my GNOME session in my > latest Jessie, indeed. After opening the root terminal window and in > focus, I can use three ways to trigger: > > 1. In a standar user terminal open a shell and run "gksu gedit". > 2. Type Super key and search dconf-Editor and run it. > 3. Type Super key and search for Files file manager and run it. Using GNOME here as well. I'm not able to reproduce the problem with the steps you outlined. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Weird... today I'm able to reproduce it with "gksu pluma" again, 100%. I'm out of clues :-/
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 215-11 Followup-For: Bug #732209 Hi Vlad, Yes, I am still able to reproduce this bug in my GNOME session in my latest Jessie, indeed. After opening the root terminal window and in focus, I can use three ways to trigger: 1. In a standar user terminal open a shell and run "gksu gedit". 2. Type Super key and search dconf-Editor and run it. 3. Type Super key and search for Files file manager and run it. I do not use MATE so I don't know how that works. My system otherwise is working fine. I don't have access to unstable or experimental distro, so I cannot test it. My system is a healthy Debian Jessie 8 with systemd-sysv: " root@localhost:~# systemctl status sysinit.target ● sysinit.target - System Initialization Loaded: loaded (/lib/systemd/system/sysinit.target; static) Active: active since Sun 2015-02-15 18:57:11 CET; 1 day 1h ago Docs: man:systemd.special(7) root@localhost:~# date Mon Feb 16 20:31:46 CET 2015 root@localhost:~# cat /etc/debian_version 8.0 " gnome-session: 3.14.0-2 libpam-systemd: 215-11 gnome-shell:3.14.2-3+b1 Package gnome-desktop-environment is *not* installed. Regards, -- Miklos -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-systemd depends on: ii dbus 1.8.12-3 ii libc6 2.19-13 ii libcap21:2.24-6 ii libpam-runtime 1.1.8-3.1 ii libpam0g 1.1.8-3.1 ii multiarch-support 2.19-13 ii systemd215-11 ii systemd-sysv 215-11 libpam-systemd recommends no packages. libpam-systemd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Hi Miklos, For some reason, now I'm having trouble reproducing the ownership change of /run/user/1000/dconf/user to root using my method from [1]. I've tried it on two Jessie installations, one has traditional sysvinit and another has systemd-sysv. Both systems are fully updated, the version of systemd is 215-11. Can you confirm whether your method (in Gnome session) still works in the current Jessie or not? Does /run/user/1000/dconf/user get owned by root? [1] https://bugs.debian.org/766464
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 215-8 Followup-For: Bug #732209 > What does systemctl | head say? systemctl | head UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point sys-devices-pci:00-:00:02.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci:00/:00:02.0/backlight/acpi_video0 sys-devices-pci:00-:00:02.0-drm-card0-card0\x2dLVDS\x2d1-intel_backlight.device loaded active plugged /sys/devices/pci:00/:00:02.0/drm/card0/card0-LVDS-1/intel_backlight (...) Also, see below: " root@localhost:~# ps -p1 -o pid,cmd,comm PID CMD COMMAND 1 /sbin/init systemd root@localhost:~# type systemd systemd is /bin/systemd root@localhost:~# readlink /bin/systemd /lib/systemd/systemd root@localhost:~# " Apparently, systemd is in charge. Regards, Miklos -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-systemd depends on: ii dbus 1.8.12-3 ii libc6 2.19-13 ii libcap21:2.24-6 ii libpam-runtime 1.1.8-3.1 ii libpam0g 1.1.8-3.1 ii multiarch-support 2.19-13 ii systemd215-8 ii systemd-sysv 215-8 libpam-systemd recommends no packages. libpam-systemd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
> 1. Init system installed on my system is systemd. > root@localhost:~# ps -p1 f > PID TTY STAT TIME COMMAND > 1 ?Ss 0:03 /sbin/init Well, that's a bit weird. On my systemd system, it looks like this. glaubitz@z6:~> ps -p1 f PID TTY STAT TIME COMMAND 1 ?Ss 0:54 /lib/systemd/systemd --system --deserialize 20 glaubitz@z6:~> What does systemctl | head say? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Hi, Can you please provide step-by-step instructions, how to setup the test environment (which packages are installed, which environment is running) and which commands to use to trigger the problem. The best way I know is to run MATE's text editor (pluma) via gksu, as I've described in [1]. I ran it under MATE desktop environment, but it will probably trigger the issue under other DEs as well. You can easily set up a minimal MATE environment by installing the mate-desktop-environment-core meta-package. After that, only installing pluma is needed. Please also look at the comments by Linas Vepstas in that bug report. [1] https://bugs.debian.org/766464 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
Package: libpam-systemd Version: 215-7 Followup-For: Bug #732209 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear Maintainer, I can still reproduce the problem. > Can you please provide step-by-step instructions, how to setup the test > environment (which packages are installed, which environment is running) > and which commands to use to trigger the problem. Let me give you a few details about my environment in the hopes that you (or someone else) will be able to reproduce it. I'd be grateful if you could provide a few pointers how to get rid of this annoying bug. 1. Init system installed on my system is systemd. root@localhost:~# ps -p1 f PID TTY STAT TIME COMMAND 1 ?Ss 0:03 /sbin/init root@localhost:~# ls -l /sbin/init lrwxrwxrwx 1 root root 20 Nov 28 07:37 /sbin/init -> /lib/systemd/systemd root@localhost:~# 2. This happens under GNOME session after you log in via gdm3 as a regular (non-root) user. Related package versions are as below. gnome-shell:3.14.1-1 gnome-session: 3.14.0-2 gnome-core: 1:3.14+1 gnome-desktop-environment: 1:3.14+1 gdm3: 3.14.1-3 3. It is worth noting that I have a gvfsd-fuse and a tmpfs line showing up in my /etc/mtab. I am not sure they're related. root@localhost:~# grep "/run/user/1000" /etc/mtab tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=394008k,mode=700,uid=1000,gid=1000 0 0 gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0 4. My APT package manager is completely healthy and has got no failed/broken packages, all repositories are used from official Debian mirrors and are brought up-to-date to Jessie. " deb http://ftp.hu.debian.org/debian jessie main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free " I also tried with a clean, newly created user (i.e. test) and the problems happens there, too. So this clears me of any user-specific tweaks. Besides, my GNOME session works completely well. I hope the above helps. Let me know if you need anything else. Regards, Miklos - -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libpam-systemd depends on: ii dbus 1.8.12-1 ii libc6 2.19-13 ii libcap21:2.24-6 ii libpam-runtime 1.1.8-3.1 ii libpam0g 1.1.8-3.1 ii multiarch-support 2.19-13 ii systemd215-7 ii systemd-sysv 215-7 libpam-systemd recommends no packages. libpam-systemd suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJUg3IIAAoJECII8s4/zqDT8BkH/3d7xbFS4QoC8Vc9wnPtmskw etYqiiu7G3JrAhQPSnd1/JKlcLvyglbaOoIKny/5FvCRusn36gfLhYQ6z3Chi9Uz S/qk8z/xFGjHVwi2mJjCegZTdxrYn4BLcF8s7BLbIq8k7eTYGZexU91Hx1RUMPd8 ERzS0eok7wFJQeJol+ISJDjtEHAoV7iXfWlO1O9ZztSHn20FVMalnr/sS1DaGzGF XBOFbcUoAXk7EtaH6gJ1WZe2uMsmm0iMv4tGDqn8rgGN2DXYzL5VWNmk1Fe2FZUL VwYvFE9x1mtvS3KzoXL/X2/u2pi5ZmguqGObkokaDT2WYEysc77Pm1a9xNC602c= =to91 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
control: tags -1 moreinfo unreproducible Am 05.12.2014 um 13:31 schrieb Vlad Orlov: > found 732209 217-3 > thanks > > > Also tried systemd 217-3 from Experimental, the issue is still present. I cannot reproduce this issue with 215-8 Can you please provide step-by-step instructions, how to setup the test environment (which packages are installed, which environment is running) and which commands to use to trigger the problem. The mentioned examples like running "gksu gedit" or opening a root terminal and starting dconf-editor doesn't trigger the issue here when running it under GNOME (and with systemd being PID 1). Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#732209: unable to create file '/run/user/1000/dconf/user': Permission denied
found 732209 217-3 thanks Also tried systemd 217-3 from Experimental, the issue is still present.