View previous topic :: View next topic |
Author |
Message |
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Sat Sep 02, 2017 2:10 pm Post subject: [SOLVED] systemd service not working |
|
|
hi guys ,
Sorry it s me again, I am new to the gentoo world , I wish to know what to do to make systemd work correctly
it complaining
Code: | grosdos ~ # localectl
Could not get properties: Launch helper exited with unknown return code 1
grosdos ~ # systemctl
Failed to list units: Launch helper exited with unknown return code 1
grosdos ~ #
|
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Last edited by klas on Fri Sep 22, 2017 4:38 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Sat Sep 02, 2017 11:43 pm Post subject: |
|
|
I don't know what happens nowadays if systemd isn't running. Originally it would be a dbus failure, but anyway, first check:
Code: | $ ps xa|grep " 1 "
1 ? Ss 0:01 /usr/lib/systemd/systemd |
If not, you'll need to make sure that your bootloader specifies init=/usr/lib/systemd/systemd in the kernel command line.
The next step would to be ensure your kernel contains all the systemd necessary options, which should be automatic if you're using gentoo-sources and specify systemd in the Gentoo-specific options at the top of the list. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Mon Sep 04, 2017 10:22 pm Post subject: |
|
|
ps xa|grep " 1 "
1 ? Ss 0:02 init [3]
28356 pts/0 S+ 0:00 grep --colour=auto 1
No systemd running |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Mon Sep 04, 2017 11:22 pm Post subject: |
|
|
Take a look at the systemd guide in the Bootloader section.
You'll need to edit your bootloader. If you're using grub2 you could manually add it, or you could edit /etc/default/grub and uncomment the line:
Code: | # GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" |
and regenerate your grub.cfg. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Fri Sep 22, 2017 4:37 pm Post subject: |
|
|
Thanks for the reply , it was solved |
|
Back to top |
|
|
|