On 18/12/11 13:27, Sid Boyce wrote:
On 18/12/11 01:35, Sid Boyce wrote:
On 17/12/11 00:53, Cristian Rodríguez wrote:
On 17/12/11 21:39, Sid Boyce wrote:
On 17/12/11 15:54, Cristian Rodríguez wrote:
On 17/12/11 07:38, Sid Boyce wrote:
It's frustrating to find after switching to systemd,
Which services do not start?
I rebooted a laptop with Factory and a vanilla kernel 3.2-rc5+ and apache2 didn't start up. It looks better than last time I tried it but I have not had a good hunt around. Last time /etc/init.d/vboxdrv didn't work and apache2 also did not start. I had to go into /etc/init.d and use "./vboxdrv setup" and "./apache2 start".
and what makes you think this is a problem with systemd ? virtualbox not loading modules is a bug in virtualbox, that should not load modules with init scripts, see my proposal on the topic.
Just reporting what I saw without apportioning blame to anyone. I shall have to check but I think I posted a bug to the VirtualBox forum some time ago when I also reported a module build problem with latest vanilla kernels. I got a fix and they promised it will be rolled into the next release. No word back on the vboxdrv issue.
post your apache problem in a bug report, CC to me..
btw.. that's odd because I do maintain a webserver that has systemd running and I have not seen this problem.
Bug #737524 submitted.
Regards Sid.
I enabled apache2.service in /lib/systemd/system.preset/default-openSUSE.preset but that didn't fix it on a reboot. I had to issue "service apache2 start".
However, this time VirtualBox modules were automatically loaded.
Bug #737524 updated.
Regards Sid.
Success! There is an apache2.service file in /lib/systemd/system [Unit] Description=apache After=syslog.target network.target Before=getty@tty1.service
[Service] Type=forking PIDFile=/var/run/httpd2.pid EnvironmentFile=/etc/sysconfig/apache2 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -t ExecReload=/bin/kill -HUP $MAINPID ExecStop=/usr/sbin/httpd2 -D SYSTEMD -k stop
[Install] WantedBy=multi-user.target
# ln -s /lib/systemd/system/apache2.service /etc/systemd/system/multi-user.target.wants/ Now apache2 starts automatically on boot. Regards Sid.