Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 856760

Summary: app-admin/openrc-settingsd-1.1.0 - ERROR: Daemon process returned error code 1
Product: Gentoo Linux Reporter: Bogdan <bogdan.pylypenko107>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal CC: onigino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace output
emerge --info
kernel config 5.18.9
strace output
systctl -a

Description Bogdan 2022-07-06 23:18:51 UTC
Service openrc-settingsd does not start.

Reproducible: Always

Actual Results:  
$ rc-service openrc-settingsd start
openrc-settingsd          | * Starting openrc-settingsd ...
openrc-settingsd          | * start-stop-daemon: failed to start `/usr/libexec/openrc-settingsd'   [ !! ]
openrc-settingsd          | * ERROR: openrc-settingsd failed to start
Comment 1 Bogdan 2022-07-06 23:19:53 UTC
Created attachment 790436 [details]
strace output

strace --output /tmp/openrc-settingsd.log /usr/libexec/openrc-settingsd --debug
Comment 2 Bogdan 2022-07-06 23:20:45 UTC
Created attachment 790439 [details]
emerge --info
Comment 3 Bogdan 2022-07-06 23:25:26 UTC
Created attachment 790442 [details]
kernel config 5.18.9
Comment 4 Bogdan 2022-07-08 01:03:02 UTC
error was resolved with 'emerge -e system'
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-08 01:24:41 UTC
>openat(AT_FDCWD, "/usr/lib64/charset.alias", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)

I can't read the strace logs as they're not in English. Anyway, glad it's OK now.
Comment 6 Bogdan 2022-07-11 03:44:38 UTC
Created attachment 790946 [details]
strace output

LC_ALL=en_US strace --output /tmp/openrc-settingsd.log /usr/libexec/openrc-settingsd --debug
Comment 7 Bogdan 2022-07-11 03:45:40 UTC
Error was not resolved.
After the next reboot error still exists.
Comment 8 Bogdan 2022-07-11 03:50:54 UTC
Created attachment 790949 [details]
systctl -a
Comment 9 Gino McCarty 2024-03-26 22:31:43 UTC
this problem still exists (sorta)

as far as I can tell what is happening is a dbus call (for hostname or locale) is spawning openrc-settingsd prior to your init.d startup of openrc-settings.d thus the pid in /run/openrc-settingsd.pid remains incorrect.

to fix this I moved openrc-settingd from default runlevel to boot runlevel in openrc.


good luck. (yes this is an old issue)

I am on version 1.4.0 FYI