Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Beta One of Open Build Service 2.7 Released
On Montag, 18. April 2016, 16:21:57 wrote Jan Engelhardt:

On Monday 2016-04-18 15:25, Adrian Schröter wrote:
On Monday 2016-04-18 13:03, Henne Vogelsang wrote:
OBS 2.7 Beta 1
[..](fetching the service status or restarting services). To avoid these
problems you should use the init scripts directly to by-pass systemd:

$ cd /etc/init.d
$ ./obssrcserver status|stop|start

That wins you nothing, because /etc/rc.status, as sourced by init
scripts like these, sees that it is being invoked from a systemd
environment and issues a redirect to systemctl.

Try it ;)
Exactly this does not happen when you call it this way...

Ok, I'll bite.

16:18 master:~ # rpm -q obs-server
16:18 master:~ # /etc/init.d/obssrcserver restart
redirecting to systemctl restart obssrcserver.service

Sure it does something different for status, but you mentioned restart,
and I responsed to restart.

it makes a difference when you do "cd /etc/init.d" first and run
it from there...


Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg

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

< Previous Next >