mirror of https://github.com/slicer69/insserv.git
Changed location of makefile-style dependency information
from /var/lib/insserv/ to /lib/insserv/ to avoid situations where /var may not be mounted at boot.
This commit is contained in:
parent
e78e61e995
commit
18fd27beff
2
CHANGES
2
CHANGES
|
@ -1,7 +1,7 @@
|
|||
May 2019 (1.20.0) - jsmith@resonatingmedia.com
|
||||
|
||||
- The insserv command now places Makefile-style
|
||||
dependency files in the /var/lib/insserv/ directory.
|
||||
dependency files in the /lib/insserv/ directory.
|
||||
This information was previously kept in /etc/init.d/.
|
||||
The --legacy-path (-l) flag has been added to insserv's
|
||||
command line options which allows the old, /etc/init.d/
|
||||
|
|
10
insserv.8.in
10
insserv.8.in
|
@ -270,13 +270,13 @@ directory. Useful for testing.
|
|||
.TP
|
||||
.BR \-l ,\ \-\-legacy\-path
|
||||
By default, insserv places Makefile-style dependency information in
|
||||
the /var/lib/insserv/ directory. In insserv 1.19.0 and earlier this
|
||||
the /lib/insserv/ directory. In insserv 1.19.0 and earlier this
|
||||
information was stored in /etc/init.d/. Using the \-l flag uses the
|
||||
old, /etc/init.d/ directory to store dependency information.
|
||||
.TP
|
||||
.BR \-i , \ \-\-insserv\-dir
|
||||
The insserv program will try to place dependency information
|
||||
in the /var/lib/insserv/ directory. When using the \-i flag, the
|
||||
in the /lib/insserv/ directory. When using the \-i flag, the
|
||||
user can specify an alternative directory for dependency information.
|
||||
This is typically used when debugging insserv.
|
||||
.TP
|
||||
|
@ -473,11 +473,11 @@ SuSE
|
|||
init script base directory as
|
||||
required by the Linux Standard Base Specification (LSB).
|
||||
.PP
|
||||
.IR /var/lib/insserv/depend.boot ,
|
||||
.IR /lib/insserv/depend.boot ,
|
||||
.br
|
||||
.IR /var/lib/insserv/depend.start ,
|
||||
.IR /lib/insserv/depend.start ,
|
||||
.br
|
||||
.I /var/lib/insserv/depend.stop
|
||||
.I /lib/insserv/depend.stop
|
||||
.in +\n(INu
|
||||
The
|
||||
.BR make (1)
|
||||
|
|
|
@ -185,7 +185,7 @@ static boolean set_override = false;
|
|||
static boolean set_insconf = false;
|
||||
|
||||
/* Legacy and current location for dependency files */
|
||||
#define DEPENDENCY_PATH "/var/lib/insserv/"
|
||||
#define DEPENDENCY_PATH "/lib/insserv/"
|
||||
#define LEGACY_DEPENDENCY_PATH "/etc/init.d/."
|
||||
char *dependency_path = DEPENDENCY_PATH;
|
||||
|
||||
|
@ -2780,8 +2780,8 @@ static void help(const char *restrict const name)
|
|||
printf(" -r, --remove Remove the listed scripts from all runlevels.\n");
|
||||
printf(" -f, --force Ignore if a required service is missed.\n");
|
||||
printf(" -v, --verbose Provide information on what is being done.\n");
|
||||
printf(" -l, --legacy-path Place dependency files in /etc/init.d instead of /var/lib/insserv.\n");
|
||||
printf(" -i, --insserv-dir Place dependency files in a location other than /var/lib/insserv\n");
|
||||
printf(" -l, --legacy-path Place dependency files in /etc/init.d instead of /lib/insserv.\n");
|
||||
printf(" -i, --insserv-dir Place dependency files in a location other than /lib/insserv\n");
|
||||
printf(" -p <path>, --path <path> Path to replace " INITDIR ".\n");
|
||||
printf(" -o <path>, --override <path> Path to replace " OVERRIDEDIR ".\n");
|
||||
printf(" -c <config>, --config <config> Path to config file.\n");
|
||||
|
|
Loading…
Reference in New Issue