Mailinglist Archive: opensuse-factory (564 mails)

< Previous Next >
Re: [opensuse-factory] [RFC DRAFT] Phasing out sysvinit
On 18/12/11 17:27, Vahis wrote:
Cristian Rodríguez wrote:
On 18/12/11 11:12, Sid Boyce wrote:

I enabled apache2.service in
/lib/systemd/system.preset/default-openSUSE.preset but that didn't
fix ce

That for sure is the wrong place.


Success!
There is an apache2.service file in /lib/systemd/system

# ln -s /lib/systemd/system/apache2.service
/etc/systemd/system/multi-user.target.wants/
Now apache2 starts automatically on boot.
Regards
Sid.


SO, it is not a bug after all, you simple missed what systemctl enable
apache2.service is all about...

I did same thing (just copied it from the post) with postfix in my 64 bit 12.1:

ln -s /lib/systemd/system/postfix.service /etc/systemd/system/multi-user.target.wants

and now it starts.

This is like great but how was I supposed to come up with this?
How can anybody know about these things and is it really meant to be done this way?

I mean it's system mail that is supposed to be there like always?

Vahis
It's quite a bit of a disappointment when services that automatically work with sysvinit do not get launched by systemd.
When I found there was a apache2.service file and no symlink in /etc/systemd to match the other services I thought that must have been the problem.

I have the x86_64 laptop and another x86_64 box running systemd now and everything I looked at so far is OK. Just seeing if over the next days something else will come to light.

When I first tried systemd there were problems with VirtualBox, apache2 and pulseaudio not starting automatically, so there have been improvements. No doubt much more needs to be done.
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot,
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread