unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
@ 2018-04-15 23:02 Lars Ingebrigtsen
  2018-04-16 15:14 ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-15 23:02 UTC (permalink / raw)
  To: 31168


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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
  2018-04-15 23:02 bug#31168: 27.0.50; dconf spews warnings on Emacs startup Lars Ingebrigtsen
@ 2018-04-16 15:14 ` Glenn Morris
  2018-04-16 15:18   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2018-04-16 15:14 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 31168

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.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
  2018-04-16 15:14 ` Glenn Morris
@ 2018-04-16 15:18   ` Lars Ingebrigtsen
  2018-04-16 15:37     ` Robert Pluim
  2018-04-16 18:43     ` Glenn Morris
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-16 15:18 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 31168

Glenn Morris <rgm@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@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
  2018-04-16 15:18   ` Lars Ingebrigtsen
@ 2018-04-16 15:37     ` Robert Pluim
  2018-04-16 18:43     ` Glenn Morris
  1 sibling, 0 replies; 6+ messages in thread
From: Robert Pluim @ 2018-04-16 15:37 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 31168

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Glenn Morris <rgm@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@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
  2018-04-16 15:18   ` Lars Ingebrigtsen
  2018-04-16 15:37     ` Robert Pluim
@ 2018-04-16 18:43     ` Glenn Morris
  2018-04-16 18:47       ` Lars Ingebrigtsen
  1 sibling, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2018-04-16 18:43 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 31168

Lars Ingebrigtsen wrote:

> larsi@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 .





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31168: 27.0.50; dconf spews warnings on Emacs startup
  2018-04-16 18:43     ` Glenn Morris
@ 2018-04-16 18:47       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-16 18:47 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 31168

Glenn Morris <rgm@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-16 18:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-15 23:02 bug#31168: 27.0.50; dconf spews warnings on Emacs startup Lars Ingebrigtsen
2018-04-16 15:14 ` Glenn Morris
2018-04-16 15:18   ` Lars Ingebrigtsen
2018-04-16 15:37     ` Robert Pluim
2018-04-16 18:43     ` Glenn Morris
2018-04-16 18:47       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).