Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2013-04-09 Thread Michael Stapelberg
tags 703571 + pending tags 704923 + pending thanks Hi Roger, Roger Leigh writes: >> Roger, can I commit this (and the other changes) directly to the >> jessie-pending branch? > > Please feel free, likewise for any other related stuff, so long as > it's been tested and has a changelog entry. Tha

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2013-04-07 Thread Roger Leigh
On Sun, Apr 07, 2013 at 10:58:50PM +0200, Michael Stapelberg wrote: > The patch for service(8) has been moved to > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704923 > > As for the invoke-rc.d, an updated version is attached. mbiebl reviewed > it and it looks good to him. The version works di

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2013-04-07 Thread Michael Stapelberg
Hi, The patch for service(8) has been moved to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704923 As for the invoke-rc.d, an updated version is attached. mbiebl reviewed it and it looks good to him. The version works differently than what was posted previously because systemd has gained a he

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-27 Thread Michael Stapelberg
Hi Michael, Quoting Michael Biebl (2012-08-24 16:03:07) > I've been looking at the jessie-pending branch, and I was wondering why > you translate force-reload unconditionally to systemctl restart. > This should only be the case, if the systemd service does not support > reload, i.e. force-reloads

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-27 Thread Michael Stapelberg
Hi Michael, Quoting Michael Biebl (2012-08-23 04:08:58) > In addition to invoke-rc.d/update-rc.d it would be great if the > "service" command had native support for systemd. It already has support > of upstart, so it should be easy to extend in a similar way for systemd. A patch is attached to thi

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-24 Thread Michael Stapelberg
Hi Michael, Quoting Michael Biebl (2012-08-24 16:03:07) > I've been looking at the jessie-pending branch, and I was wondering why > you translate force-reload unconditionally to systemctl restart. > This should only be the case, if the systemd service does not support > reload, i.e. force-reloads

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-24 Thread Michael Biebl
On 24.08.2012 16:03, Michael Biebl wrote: > I've been looking at the jessie-pending branch, and I was wondering why > you translate force-reload unconditionally to systemctl restart. > This should only be the case, if the systemd service does not support > reload, i.e. force-reloads should translat

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-24 Thread Michael Biebl
Hi Michael, I've been looking at the jessie-pending branch, and I was wondering why you translate force-reload unconditionally to systemctl restart. This should only be the case, if the systemd service does not support reload, i.e. force-reloads should translate to: service supports reload → relo

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-22 Thread Michael Biebl
Heya, thanks Michael for working on this! In addition to invoke-rc.d/update-rc.d it would be great if the "service" command had native support for systemd. It already has support of upstart, so it should be easy to extend in a similar way for systemd. Btw, while looking at /usr/sbin/service, I

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-08-07 Thread Michael Stapelberg
Hi Roger, As discussed on IRC, here is another patch which makes the defaults and remove action systemd-aware, too (so that many packages work better without changing them at all). Please have a look if everything’s alright with the patch. Best regards, Michael From 5fd43c4f511d548780a510987b4a5

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-07-28 Thread Roger Leigh
tags 683084 + pending thanks On Sat, Jul 28, 2012 at 04:13:57PM +0200, Michael Stapelberg wrote: > Just like invoke-rc.d and update-rc.d can properly deal with a system > using upstart, it should support systemd as well. > > The attached patches make invoke-rc.d and update-rc.d systemd aware. Th

Bug#683084: Make invoke-rc.d/update-rc.d systemd-aware

2012-07-28 Thread Michael Stapelberg
Package: sysv-rc Version: 2.88dsf-22.1 Severity: wishlist Tags: patch Just like invoke-rc.d and update-rc.d can properly deal with a system using upstart, it should support systemd as well. The attached patches make invoke-rc.d and update-rc.d systemd aware. This means that the enable/disable act