Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1111493

Bug#1016372: uuid-runtime: post-install script gives warnings which seem incorrect

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1016372: uuid-runtime: post-install script gives warnings which seem incorrect
Date 2022-07-30 22:20 +0200
Message-ID <EP16i-eTy2-3@gated-at.bofh.it> (permalink)
References <EOUxP-ePFc-1@gated-at.bofh.it> <EOW6B-eQrf-9@gated-at.bofh.it> <EOUxP-ePFc-1@gated-at.bofh.it> <EOW6B-eQrf-9@gated-at.bofh.it>
Organization Connecting Knowledge

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On zaterdag 30 juli 2022 16:46:57 CEST Chris Hofstaedtler wrote:
> * Diederik de Haas <didi.debian@cknow.org> [220730 15:12]:
> > adduser: Warning: The home dir /run/uuidd you specified can't be accessed:
> > No such file or directory Adding system user `uuidd' (UID 113) ...
> > Adding new user `uuidd' (UID 113) with group `uuidd' ...
> 
> Right. Not sure if we can suppress the warning.

From https://wiki.debian.org/ReleaseGoals/RunDirectory:
"/run is a new cross-distribution location for the storage of transient
state files [...] which does not require preserving across reboots."

My first thought was that /run/ was possibly an inappropriate directory for
a home directory, till I found others do it too (and also remember a warning
wrt pulseaudio about using /var/run instead of /run).

I can create a directory in /run as root, so it doesn't seem to be a permission
issue. Maybe it's a check within 'adduser' which generates the warning
and prevents the creation of /run/uuidd ?

Looking for other (system) user accounts with also a homedir in /run/ and found:
https://salsa.debian.org/pulseaudio-team/pulseaudio/-/blob/master/debian/pulseaudio.postinst

It uses a '--quiet' parameter, which may suppress the warning?

> uuidd.socket listens on /run/uuidd/request, so thats automatically
> created by systemd.
> 
> The warning is only shown on first install, as the user then
> remains on the system, even if uuid-runtime is purged. One way of
> fixing this would probably be switching to DynamicUser.

Not (very) knowledgeable about systemd, so can't comment on that.
But if it can work also outside systemd, I'd prefer it.

I'm fine if you want to close the bug as it is minor indeed :-)

Cheers,
  Diederik

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1016372: uuid-runtime: post-install script gives warnings which seem incorrect Diederik de Haas <didi.debian@cknow.org> - 2022-07-30 15:20 +0200
  Bug#1016372: uuid-runtime: post-install script gives warnings which seem incorrect Chris Hofstaedtler <zeha@debian.org> - 2022-07-30 17:00 +0200
    Bug#1016372: uuid-runtime: post-install script gives warnings which seem incorrect Diederik de Haas <didi.debian@cknow.org> - 2022-07-30 22:20 +0200

csiph-web