[opensuse-factory] systemd test
I've just given systemd a few test runs on an Acer Aspire 1551 netbook. I enabled it by editing the grub boot line each time to say init=/bin/systemd. Here's what I found: - systemd doesn't start X by default, ie. it boots into runlevel 3 or whatever the systemd equivalent is called. I have to use systemctl isolate graphical.target each time. Shouldn't it start X by default? - the NFS client doesn't start: tim@linux-0m5i:~> sudo systemctl status nfs.service nfs.service - LSB: NFS client services Loaded: loaded (/etc/init.d/nfs) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 10min ago Process: 1710 ExecStart=/etc/init.d/nfs start (code=exited, status=3/NOTIMPLEMENTED) CGroup: name=systemd:/system/nfs.service - vboxadd.service fails: tim@linux-0m5i:~> sudo systemctl status vboxadd.service vboxadd.service - LSB: VirtualBox Linux Additions kernel modules Loaded: loaded (/etc/init.d/vboxadd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 11min ago Process: 1704 ExecStart=/etc/init.d/vboxadd start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/vboxadd.service - vmtoolsd.service fails: tim@linux-0m5i:~> sudo systemctl status vmtoolsd.service vmtoolsd.service - LSB: VMWare Tools Daemon Loaded: loaded (/etc/init.d/vmtoolsd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 12min ago Process: 1701 ExecStart=/etc/init.d/vmtoolsd start (code=exited, status=7/NOTRUNNING) CGroup: name=systemd:/system/vmtoolsd.service I see in the messages log: Sep 4 16:56:41 linux-0m5i vmsvc[1266]: [ warning] [vmtoolsd] The vmsvc service needs to run inside a virtual machine. Sep 4 16:56:41 linux-0m5i systemd[1]: vmtoolsd.service: control process exited, code=exited status=7 Sep 4 16:56:41 linux-0m5i auditd[1253]: Init complete, auditd 2.1.1 listening for events (startup state disable) Sep 4 16:56:41 linux-0m5i systemd[1]: Unit vmtoolsd.service entered failed state. Does this just need to be disabled somehow so it only tries to run in a VM? Tim -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le dimanche 04 septembre 2011 à 17:12 +0200, Tim Edwards a écrit :
I've just given systemd a few test runs on an Acer Aspire 1551 netbook. I enabled it by editing the grub boot line each time to say init=/bin/systemd.
You don't say which milestone you are using (or which version of systemd you used).
Here's what I found:
- systemd doesn't start X by default, ie. it boots into runlevel 3 or whatever the systemd equivalent is called. I have to use systemctl isolate graphical.target each time. Shouldn't it start X by default?
This bug is fixed in milestone 5. If you installed from milestone 4, remove /etc/systemd/system/default.target, since now, we are able to use the default runlevel value from /etc/inittab.
- the NFS client doesn't start: tim@linux-0m5i:~> sudo systemctl status nfs.service nfs.service - LSB: NFS client services Loaded: loaded (/etc/init.d/nfs) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 10min ago Process: 1710 ExecStart=/etc/init.d/nfs start (code=exited, status=3/NOTIMPLEMENTED) CGroup: name=systemd:/system/nfs.service
Could you open a bug report for this ? You are the second one to talk about nfs not starting properly.
- vboxadd.service fails: tim@linux-0m5i:~> sudo systemctl status vboxadd.service vboxadd.service - LSB: VirtualBox Linux Additions kernel modules Loaded: loaded (/etc/init.d/vboxadd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 11min ago Process: 1704 ExecStart=/etc/init.d/vboxadd start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/vboxadd.service
Well, you are running on a "physical" system, so of course, Virtualbox addons can't run.. Maybe Yast installer should be smarter to disable (or uninstall) the service.
- vmtoolsd.service fails: tim@linux-0m5i:~> sudo systemctl status vmtoolsd.service vmtoolsd.service - LSB: VMWare Tools Daemon Loaded: loaded (/etc/init.d/vmtoolsd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 12min ago Process: 1701 ExecStart=/etc/init.d/vmtoolsd start (code=exited, status=7/NOTRUNNING) CGroup: name=systemd:/system/vmtoolsd.service
Same as VirtualBox, but with VMWare addons..
Does this just need to be disabled somehow so it only tries to run in a VM?
Nothing new with systemd, it was already the case with sysvinit. Simply, now, thanks to systemd, we have a better way to get status after startup (yay ;) -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, 05 Sep 2011 10:38 +0200, "Frederic Crozat" <fcrozat@suse.com> wrote:
Le dimanche 04 septembre 2011 à 17:12 +0200, Tim Edwards a écrit :
I've just given systemd a few test runs on an Acer Aspire 1551 netbook. I enabled it by editing the grub boot line each time to say init=/bin/systemd.
You don't say which milestone you are using (or which version of systemd you used).
It's Milestone 5 with all the updates applied as of yesterday.
Here's what I found:
- systemd doesn't start X by default, ie. it boots into runlevel 3 or whatever the systemd equivalent is called. I have to use systemctl isolate graphical.target each time. Shouldn't it start X by default?
This bug is fixed in milestone 5. If you installed from milestone 4, remove /etc/systemd/system/default.target, since now, we are able to use the default runlevel value from /etc/inittab.
Yeah it was updated from M3, I'll try this.
- the NFS client doesn't start: tim@linux-0m5i:~> sudo systemctl status nfs.service nfs.service - LSB: NFS client services Loaded: loaded (/etc/init.d/nfs) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 10min ago Process: 1710 ExecStart=/etc/init.d/nfs start (code=exited, status=3/NOTIMPLEMENTED) CGroup: name=systemd:/system/nfs.service
Could you open a bug report for this ? You are the second one to talk about nfs not starting properly.
Done now: https://bugzilla.novell.com/show_bug.cgi?id=715926
- vboxadd.service fails: tim@linux-0m5i:~> sudo systemctl status vboxadd.service vboxadd.service - LSB: VirtualBox Linux Additions kernel modules Loaded: loaded (/etc/init.d/vboxadd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 11min ago Process: 1704 ExecStart=/etc/init.d/vboxadd start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/vboxadd.service
Well, you are running on a "physical" system, so of course, Virtualbox addons can't run.. Maybe Yast installer should be smarter to disable (or uninstall) the service.
- vmtoolsd.service fails: tim@linux-0m5i:~> sudo systemctl status vmtoolsd.service vmtoolsd.service - LSB: VMWare Tools Daemon Loaded: loaded (/etc/init.d/vmtoolsd) Active: failed since Sun, 04 Sep 2011 16:57:47 +0200; 12min ago Process: 1701 ExecStart=/etc/init.d/vmtoolsd start (code=exited, status=7/NOTRUNNING) CGroup: name=systemd:/system/vmtoolsd.service
Same as VirtualBox, but with VMWare addons..
Does this just need to be disabled somehow so it only tries to run in a VM?
Nothing new with systemd, it was already the case with sysvinit. Simply, now, thanks to systemd, we have a better way to get status after startup (yay ;)
Fair enough, I guess I never noticed that with the SysVInit bootup as the errors are not as easy to spot. A couple of questions, will systemd be the default in 12.1 when it's released? To me it looks fairly stable. Has the YAST services module been updated to work with systemd? Tim -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 05 septembre 2011 à 10:58 +0200, Tim Edwards a écrit :
A couple of questions, will systemd be the default in 12.1 when it's released? To me it looks fairly stable. Has the YAST services module been updated to work with systemd?
systemd should be enabled in Factory right now (or in the next days), to get broader coverage and I'm hoping to get Beta with it enabled ;) YAST service module hasn't been updated (as always, patch welcome) but LSB services handled by it will continue to work. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, 05 Sep 2011 11:03 +0200, "Frederic Crozat" <fcrozat@suse.com> wrote:
Le lundi 05 septembre 2011 à 10:58 +0200, Tim Edwards a écrit :
A couple of questions, will systemd be the default in 12.1 when it's released? To me it looks fairly stable. Has the YAST services module been updated to work with systemd?
systemd should be enabled in Factory right now (or in the next days), to get broader coverage and I'm hoping to get Beta with it enabled ;)
YAST service module hasn't been updated (as always, patch welcome) but LSB services handled by it will continue to work.
Yeah it'd be good to see systemd in 12.1. So chkconfig is still the right way to enable/disable services starting at boot (or certain runlevels) but the /sbin/service command is deprecated with systemd? Tim -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 05 septembre 2011 à 11:23 +0200, Tim Edwards a écrit :
On Mon, 05 Sep 2011 11:03 +0200, "Frederic Crozat" <fcrozat@suse.com> wrote:
Le lundi 05 septembre 2011 à 10:58 +0200, Tim Edwards a écrit :
A couple of questions, will systemd be the default in 12.1 when it's released? To me it looks fairly stable. Has the YAST services module been updated to work with systemd?
systemd should be enabled in Factory right now (or in the next days), to get broader coverage and I'm hoping to get Beta with it enabled ;)
YAST service module hasn't been updated (as always, patch welcome) but LSB services handled by it will continue to work.
Yeah it'd be good to see systemd in 12.1. So chkconfig is still the right way to enable/disable services starting at boot (or certain runlevels) but the /sbin/service command is deprecated with systemd?
just use systemctl when running under systemd, it will handle both systemd and LSB services. chkconfig and insserv have been modified to work "better" with systemd. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Frederic Crozat
-
Tim Edwards