Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] systemd service not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
klas
n00b
n00b


Joined: 30 Aug 2017
Posts: 46
Location: Bradford, UK

PostPosted: Sat Sep 02, 2017 2:10 pm    Post subject: [SOLVED] systemd service not working Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6151
Location: almost Mile High in the USA

PostPosted: Sat Sep 02, 2017 11:43 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
klas
n00b
n00b


Joined: 30 Aug 2017
Posts: 46
Location: Bradford, UK

PostPosted: Mon Sep 04, 2017 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6151
Location: almost Mile High in the USA

PostPosted: Mon Sep 04, 2017 11:22 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
klas
n00b
n00b


Joined: 30 Aug 2017
Posts: 46
Location: Bradford, UK

PostPosted: Fri Sep 22, 2017 4:37 pm    Post subject: Reply with quote

Thanks for the reply , it was solved
_________________
... brute force works in coding ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum