You are not logged in.

#1 2012-05-24 11:25:59

siamer
Member
Registered: 2012-04-29
Posts: 132

installing systemd

Hi.

I tried with wiki install systemd (I like know system and play with my system).
I did:

pacman -S systemd initscripts-systemd systemd-arch-units

and adding

init=/bin/systemd

but systemd is not working... system is not starting faster, have exactly same boot time... why ? should I did something else ? or maybe systemd is not stable ? why is not used is arch (bridge) as a default ? What I'm doing wrong or what I'm missing ?

Thanks,
siamer

Offline

#2 2012-05-24 11:56:41

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: installing systemd

There is a dedicated thread considering systemd: https://bbs.archlinux.org/viewtopic.php?id=96316

Also please don't post in Community Contributions if you don't actually have a project to contribute.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-05-24 12:09:02

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: installing systemd

sorry for wrong pleace I wanted to post it in "Newbie Corner" and please some moderator to move tread, my bad !

Thanks

Offline

#4 2012-05-24 12:30:36

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: installing systemd

Moved to Newbie Corner.


To know or not to know ...
... the questions remain forever.

Offline

#5 2012-05-24 18:42:51

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: installing systemd

If your system is not starting faster that does not necessarily mean that systemd is not working / running. I really have no idea what you are trying to say actually. Also, it seems pretty stable to me.

Edit: What is "arch (bridge)"?

Last edited by dodo3773 (2012-05-24 18:43:31)

Offline

#6 2012-05-24 22:04:03

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: installing systemd

It might not end up running faster. However, do you still have the SysVInit (think that's what it's called), the normal startup stuff going? For best results, you want to enable the systemd services and then remove those entries from the daemons in rc.conf, otherwise it may try to call them that way. IMO, there's no reason to keep the old stuff and you can remove the package "initscripts" and just use systemd, and this produced the best results for me.

Offline

#7 2012-05-24 23:58:29

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: installing systemd

Depending on your setup, you might not get a noticeably faster boot.

That said, are you sure systemd is actually being booted? The messages you get on boot look significantly different. Also, to check it out you can try "systemctl" and it should give you the status of your services (if booted with systemd).

Offline

#8 2012-05-25 06:22:26

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: installing systemd

@dodo3773 bridge linux is just livecd arch linux (something easier for start than arch installation) but after installation it's normal arch linux...
@kyla I didn't remove any other staff - wasn't sure if I should - I prefered asked You guys first...
@tomegun NO I'm not sure if systemd is starting... how to check if it's working ? System was starting exactly the same as before . I'm not using too much services, no printer, no scanner etc... I have just GNOME3 configured for home use without any extras I think... So boot time should be at least few seconds faster but is not

Thanks,
siamer

Offline

#9 2012-05-25 06:28:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: installing systemd

siamer wrote:

@tomegun NO I'm not sure if systemd is starting... how to check if it's working ?

tomegun wrote:

Also, to check it out you can try "systemctl" and it should give you the status of your services (if booted with systemd).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2012-05-25 06:47:17

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: installing systemd

@jasonwryan thanks! I didn't see that tongue
I got systemd working now! Problem was grub entry in wrong pleace...
Before I was adding "init=/bin/systemd" to the end of grub entry and didn't work. Now my grub is looking like that

# (0) arch Linux
title  Linux
root   (hd0,1)
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/d5bfc912-2e59-440e-9e0c-d9ebe2dc67fc loglevel=3 ro quiet splash resume=/dev/disk/by-uuid/34c3e336-71c1-4408-9a73-9f7988d7ae64 init=/bin/systemd   
initrd /boot/initramfs-linux.img

and system is starting in around 10 - 15 seconds! That tip was not on wiki tongue Now last question... how to get X start with systemd because now system is starting to my login screen in termianl (X is not starting, have to login and than trype startx). I have autologin anyway but not working anymore... how to fix it ?

[edit]
"systemctl enable gdm.service" enabling gdm but anyway is waiting for a few seconds (around 2 seconds) in termianal with login screen and than is going to gdm... Next question how to speed up that (go to gdm straight after boot).... ?

Last edited by siamer (2012-05-25 07:03:30)

Offline

#11 2012-05-25 08:28:52

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: installing systemd

Speeding up start of gdm should really be done upstream in Gnome (as they are the ones who know about what deps it has). Though I THINK it should be fairly safe to do the following:
copy /usr/lib/systemd/system/gdm.service to /etc/systemd/system/
edit /etc/systemd/system/gdm.service (the point of this is that the file in /etc takes precedence over the one in /usr, and in /etc it is never written over by a package upgrade) to remove the Requires= and After= lines. If this causes you not to be able to log in any more you have to reinstate the After=systemd-user-sessions.service (though the tty stuff is certainly not needed).

Offline

#12 2012-05-25 10:28:31

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: installing systemd

that didn't work but I found already different easy solution.
Just copy file from location that You gave me and is working! I think maybe that was because of plymouth (I'm using it).

cp -a /usr/lib/systemd/system/gdm-plymouth.service /etc/systemd/system/graphical.target.wants/

and now my gdm (mean autologin in gdm) working straight after plymouth...

In /usr/lib/systemd/system/ there is a lot of interesting files... Will have to tak a look better...

Thank You for help!!

Offline

Board footer

Powered by FluxBB