On 2011-04-19T21:14:09+0200, Axel Beckert <[email protected]> wrote: > Debian Bug Tracking System wrote: > > > severity 602186 normal > > Bug #602186 [debian-goodies] checkrestart: use service instead of direct > > call of initscript > > Severity set to 'normal' from 'wishlist' > > > > > merge 592436 602186 > > Bug#592436: checkrestart: invoke-rc.d in preference of directly running the > > init script > > Bug#602186: checkrestart: use service instead of direct call of initscript > > Merged 592436 602186. > > I'm sorry, but those two bugreports are definitely not the same. They > argue about the same thing, but they head towards two different > solutions. > > And #602186 is not more than a wishlist bug. "service" is far from > being a standard like invoke-rc.d is. > > The standard for maintainer scripts is to use invoke-rc.d and calling > the init.d script directly if that command is not available. > > But checkrestart's output is not for maintainer scripts, so IMHO, Jörg > (submitter of #602186) has a valid point when he says that "service" > may be better suited for manual calling by admins as it seems to clean > up the environment first. > > Javier: What do you think about this?
I would prefer the output to use "service". I usually use service rather than copying and pasting the /etc/init.d output of checkrestart. Other distributions have a service command too (it comes from Red Hat), so I like the consistency it gives, in addition to the environment cleanup. -- Kenyon Ralph
signature.asc
Description: Digital signature

