Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856760 - app-admin/openrc-settingsd-1.1.0 - ERROR: Daemon process returned error code 1
Summary: app-admin/openrc-settingsd-1.1.0 - ERROR: Daemon process returned error code 1
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 23:18 UTC by Bogdan
Modified: 2024-03-26 22:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (openrc-settingsd.log,27.42 KB, text/plain)
2022-07-06 23:19 UTC, Bogdan
Details
emerge --info (emerge.info,17.37 KB, text/plain)
2022-07-06 23:20 UTC, Bogdan
Details
kernel config 5.18.9 (.config,268.07 KB, text/plain)
2022-07-06 23:25 UTC, Bogdan
Details
strace output (openrc-settingsd.log,27.21 KB, text/x-log)
2022-07-11 03:44 UTC, Bogdan
Details
systctl -a (sysctl.txt,51.62 KB, text/plain)
2022-07-11 03:50 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
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