[Pkg-sysvinit-devel] Bug#431224: deinstallation does not work either with + or * in package name

Petter Reinholdtsen pere at hungry.com
Sat Dec 15 17:32:42 UTC 2007


[Steffen Moeller]
> please apply that patch, packages cannot be deinstalled
> either..which probably is not much of a surprise to you who you know
> the code, it just hit me on another system.

The patch seem sane enough, but one thing make we wonder.  Are init.d
scripts supposed to have names with + or * in them?  Especially the *
might confuse other parts of the boot system (for example
/etc/init.d/rc), and I am thus unsure if this is something we should
fix there, or if the fix should be done in the packages with the
problematic init.d scripts.

Do you know?  From policy section 5.6.7, I notice that * is not
allowed in package names:

  Package names must consist only of lower case letters (a-z), digits
  (0-9), plus (+) and minus (-) signs, and periods (.). They must be
  at least two characters long and must start with an alphanumeric
  character.

Section 9.3.2 about the names of init.d scripts indicate that init.d
scripts should have the same limitations to the name as packages:

  These scripts should be named /etc/init.d/{package}, [...]

This make me believe that it would be correct to accept + in init.d
file names, but not *.

Am I wrong?  Which package include init.d scripts with * in the name?
Which include +?

Happy hacking?
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list