[sles-beta] SLES12 beta4 systemd compatibility mode for sysvinit startup files?

Frederic Crozat fcrozat at suse.com
Thu Apr 10 10:21:59 MDT 2014


Le jeudi 10 avril 2014 à 16:13 +0000, urs.frey at post.ch a écrit :
> Hi
>  
> I have SLES12 Beta4 x86_64 installed on HP Proliant DL380-G7.
> I am trying to work with systemd service 
>  
> When installing a sysvinit rc-startup script under /etc/init.d, I
> thought it would be possible to run it in compatibility mode.

It should work out of the box. Let's try to debug what is going wrong.

> So I try to invoke the sysvinit rc-startscript as it is working on
> SLES11-SP3.
> But startup fails on SLES12 Beta4 x86_64
>  
> v03er9:~ # ls -lsa /etc/init.d/redis
> 8 -rwxr-xr-x 1 root root 7679 Apr 10 16:50 /etc/init.d/redis
> v03er9:~ # /etc/init.d/redis start
> redirecting to systemctl start redis.service
> Failed to start redis.service: Access denied

> v03er9:~ #
> v03er9:~ # service redis start
> Job for redis.service failed. See 'systemctl status redis.service' and
> 'journalctl -xn' for details.

Could you attach both systemctl status redis.service and journalctl -xn
output ?

You'll need to remove /etc/systemd/system/redis.service file you
created, since it will be used instead of /etc/init.d/redis. You must
also run "systemctl daemon-reload" after remove the redis.service file.

If you could also share the initscript, that would be helpful.


-- 
Frederic Crozat
Project Manager Enterprise Desktop
SUSE



More information about the sles-beta mailing list