Package: insserv
Version: 1.14.0-2
Severity: normal
I attempted to install an open source package named "corekeeper". I noticed
that the init symlinks were not being created
when executing 'insserv corekeeper' or when the system was rebooted.
Executing 'insserv -v corekeeper' output a message to the effect that the
filename is invalid.
Reading the man page, there a Note informing that certain filename regexs are
not accepted, including "*.core" (core files)
Reading the source, the filename is being checked for the presence of the
string "core" and not ".core" (as the man page says).
If the source is changed similar to the patch below, the check for invalid
files with "*.core" in the name would be consistent
with the man page.
This patch has not been tested, it has been submitted for clarity of
communication.
--- insserv.c 2010-02-19 05:08:04.000000000 -0800
+++ insserv.c.new 2011-01-27 11:11:52.000000000 -0800
@@ -2764,7 +2764,7 @@
continue;
}
- if (!strncmp(d->d_name, "core", strlen("core"))) {
+ if (!strncmp(d->d_name, ".core", strlen(".core"))) {
if (isarg)
warn("script name %s is not valid, skipped!\n", d->d_name);
continue;
-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages insserv depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
insserv recommends no packages.
Versions of packages insserv suggests:
pn bootchart <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]