On Thu, Sep 18, 2008 at 04:23:34PM +0200, Petter Reinholdtsen wrote: > Why is the symlink provided? Where is the definition of the > ups-monitor virtual package written down? What is using this symlink? > I assume a good solution should take into account the answers to these > questions. :)
I am not a maintainer, but it looks like this is just to have a common name for any ups-monitor package. As you have found halt uses it to power off the ups without knowledge about which specififc ups daemon is installed. > Is it the only user? If so, perhaps the patch from Kel is the best > way to fix it. It should be ok, whenever we have one init.d linking to itself we have two scripts providing the same facility that is incorrect for insserv. If insserv will check such situation I do not see how it might be harmful. Another idea came to my mind, why can't we use alternatives for init.d scripts? -- Anton Martchukov http://www.martchukov.com 0xFC4FBF28 96BC 3DAB 231A 7FCC 4F49 D783 9A69 65C1 FC4F BF28
signature.asc
Description: Digital signature