GNU bug report logs - #31168
27.0.50; dconf spews warnings on Emacs startup

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Sun, 15 Apr 2018 23:03:02 UTC

Severity: normal

Tags: notabug

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31168 in the body.
You can then email your comments to 31168 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Sun, 15 Apr 2018 23:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 15 Apr 2018 23:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 01:02:13 +0200
When I start Emacs, I get several screenfuls of this:

(emacs:22926): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

(emacs:22926): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

(emacs:22926): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

I assume that this means that my Emacs is compiled with settings that
aren't present when I'm running Emacs, but I think Emacs shouldn't be
outputting these messages, either.  "CRITICAL".  (I don't care about
"dconf", whatever that is.)

If it is Emacs that's outputting it, that is, and not some library we
have no way of shutting up?


In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2018-04-15 built on corrigan
Repository revision: 1c16fbd1b281a46b07028ca78dbaab9a0ec6fd2f
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Mon, 16 Apr 2018 15:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 31168 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31168 <at> debbugs.gnu.org
Subject: Re: bug#31168: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 11:14:30 -0400
Lars Ingebrigtsen wrote:

> When I start Emacs, I get several screenfuls of this:
>
> (emacs:22926): dconf-CRITICAL **: unable to create file
> /run/user/1000/dconf/user': Permission denied. dconf will not work
> properly.

Is this after "su" by any chance?

If so, this is not specific to Emacs.
See eg explanation at https://bugs.debian.org/772910#15
and https://bugzilla.redhat.com/show_bug.cgi?id=753882

If not after su, then I guess your desktop session didn't initialize
properly, or somesuch.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Mon, 16 Apr 2018 15:19:01 GMT) Full text and rfc822 format available.

Message #11 received at 31168 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 31168 <at> debbugs.gnu.org
Subject: Re: bug#31168: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 17:18:26 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Is this after "su" by any chance?

Hm...  I may have su-d at some point, but this is as my own user, but
you may be onto something:

larsi <at> corrigan:~$ ls -l /run/user/1000/dconf/user 
-rw------- 1 root root 2 Apr 15 21:36 /run/user/1000/dconf/user

That file is owned by root, so ...  er...  I may have su-d and started
an Emacs before and that left that file behind?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Mon, 16 Apr 2018 15:38:01 GMT) Full text and rfc822 format available.

Message #14 received at 31168 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31168 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#31168: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 17:37:30 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Glenn Morris <rgm <at> gnu.org> writes:
>
>> Is this after "su" by any chance?
>
> Hm...  I may have su-d at some point, but this is as my own user, but
> you may be onto something:
>
> larsi <at> corrigan:~$ ls -l /run/user/1000/dconf/user 
> -rw------- 1 root root 2 Apr 15 21:36 /run/user/1000/dconf/user
>
> That file is owned by root, so ...  er...  I may have su-d and started
> an Emacs before and that left that file behind?

Youʼre running some variant of Debian, so 1000 is your uid, I
assume. Those files are owned by the user with uid 1000 on my debian
box.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Mon, 16 Apr 2018 18:44:02 GMT) Full text and rfc822 format available.

Message #17 received at 31168 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31168 <at> debbugs.gnu.org
Subject: Re: bug#31168: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 14:43:17 -0400
Lars Ingebrigtsen wrote:

> larsi <at> corrigan:~$ ls -l /run/user/1000/dconf/user 
> -rw------- 1 root root 2 Apr 15 21:36 /run/user/1000/dconf/user
>
> That file is owned by root, so ...  er... 

That's definitely wrong.

> I may have su-d and started an Emacs before and that left that file
> behind?

Sounds plausible (and should be easy to test), but in any kind of modern
desktop environment I would expect that file to be created with
appropriate permissions when you first login to a graphical session.
Maybe this was in a ssh login or somesuch though?
Anyway, I don't think it's an Emacs issue, really.
It's certainly not new, eg https://bugzilla.redhat.com/show_bug.cgi?id=921689 .




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31168; Package emacs. (Mon, 16 Apr 2018 18:48:01 GMT) Full text and rfc822 format available.

Message #20 received at 31168 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 31168 <at> debbugs.gnu.org
Subject: Re: bug#31168: 27.0.50; dconf spews warnings on Emacs startup
Date: Mon, 16 Apr 2018 20:47:25 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Sounds plausible (and should be easy to test), but in any kind of modern
> desktop environment I would expect that file to be created with
> appropriate permissions when you first login to a graphical session.
> Maybe this was in a ssh login or somesuch though?

It could be.

> Anyway, I don't think it's an Emacs issue, really.

Nope.  So I'm closing this bug report.

Thanks for the help.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Apr 2018 18:48:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31168 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Apr 2018 18:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 May 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.