LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2021, 01:53 AM   #1
cdek
Member
 
Registered: Jul 2016
Posts: 58

Rep: Reputation: Disabled
Slackware 15: unable to create directory '/run/user/.../dconf': Permission denied.


After a hard reboot I get the following error when trying to launch liferea:

Code:
(liferea:4342): dconf-CRITICAL **: 08:33:11.022: unable to create directory '/run/user/1026/dconf': Permission denied.  dconf will not work properly.
Indeed, in /run/user there's no folder with my UID. After manually creating this folder, I can start liferea again, but now I have to do this every time following a reboot.

Strangely, when I log in with another user, the folder for that user does get created.

I've had this problem before and starting with a fresh home folder temporarily fixed it. Now the problem came back after forcing a shutdown.

So what could have happened and can I fix it properly?

Last edited by cdek; 05-05-2021 at 01:54 AM.
 
Old 05-05-2021, 03:31 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,477

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Quote:
Originally Posted by cdek View Post
After a hard reboot I get the following error when trying to launch liferea:

Code:
(liferea:4342): dconf-CRITICAL **: 08:33:11.022: unable to create directory '/run/user/1026/dconf': Permission denied.  dconf will not work properly.
Indeed, in /run/user there's no folder with my UID. After manually creating this folder, I can start liferea again, but now I have to do this every time following a reboot.

Strangely, when I log in with another user, the folder for that user does get created.

I've had this problem before and starting with a fresh home folder temporarily fixed it. Now the problem came back after forcing a shutdown.

So what could have happened and can I fix it properly?
Did you run the elogind daemon on the init system?

It should manage (dynamically) also that /run directory.
 
Old 05-05-2021, 02:42 PM   #3
cdek
Member
 
Registered: Jul 2016
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Did you run the elogind daemon on the init system?

It should manage (dynamically) also that /run directory.
elogind daemon is running. From what I understand, elogind makes sure that /run/user is created if it doesn't exist.

Code:
start_elogind() {
  if [ -x /lib64/elogind/elogind ]; then
    if [ ! -d /run/user ]; then
      mkdir -p /run/user
    fi
However, the problem is that the subdirectory with the UID, e.g. /run/user/1026, is not created. When another user logs in the system, this folder with their UID does get created.

So I think the problem is not during the boot process, but during login.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dconf fails to configure: requires dconf jr_bob_dobbs Linux From Scratch 3 06-21-2017 05:16 PM
How to edit dconf file (dconf-editor actually can't) ? ardabro Linux - General 3 06-01-2015 11:43 AM
dconf will not work properly, unable to create '/run/user/<username>/dconf AseyMayo Linux - Server 0 08-16-2013 05:44 AM
spoof hitting port 1026 gabsik Linux - Security 3 09-04-2006 10:43 PM
1025-1026-1027 ... Udp gabsik Linux - Security 2 07-10-2006 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration