[Petter Reinholdtsen]
> It just occured to me. Another way is to let the lvm2 package
> reverse depend on the key scripts that should run after it, and drop
> the depend from checkfs, mountall, the others. I am positive to
> dropping the optional lvm dependency from initscripts.
Here is a new he
[Bastian Blank]
> Why lvm here, not lvm2?
After discovering that insserv refuses to install scripts providing
the same service as a nother script (see bugs #458346 and #458486),
I've concluded that it is not a good idea to let lvm10 and lvm2
provide the same service, and thus I believe it is bette
[Petter Reinholdtsen]
> To avoid having to change the script currently depending on lvm. In
> my test setup, it is checkfs.sh, cryptdisks, mountall.sh and
> resize_lvm. I have no idea which other scripts also depend on lvm
> and not lvm2. I can update checkfs.sh, mountall.sh and resize_lvm,
> bu
[Bastian Blank]
> Why lvm here, not lvm2?
To avoid having to change the script currently depending on lvm. In
my test setup, it is checkfs.sh, cryptdisks, mountall.sh and
resize_lvm. I have no idea which other scripts also depend on lvm and
not lvm2. I can update checkfs.sh, mountall.sh and res
On Sun, Dec 30, 2007 at 08:06:31PM +0100, Petter Reinholdtsen wrote:
> --- lvm2-2.02.26.orig/debian/lvm2.init 2007-12-30 20:01:45.0 +0100
> +++ lvm2-2.02.26/debian/lvm2.init 2007-12-30 20:03:17.0 +0100
> @@ -1,4 +1,13 @@
> #!/bin/sh
> +### BEGIN INIT INFO
> +# Provides:
severity 426108 normal
tags 426108 + patch
thanks
Here is a complete patch.
--- lvm2-2.02.26.orig/debian/lvm2.init 2007-12-30 20:01:45.0 +0100
+++ lvm2-2.02.26/debian/lvm2.init 2007-12-30 20:03:17.0 +0100
@@ -1,4 +1,13 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides:
To make sure lvm2 is stopped before umountroot (and thus before /
become read-only) in runlevels 0 and 6 as it is today, I believe it is
a good idea to specify that it should stop before umountroot. This is
the improved header:
### BEGIN INIT INFO
# Provides: lvm
# Required-Start:
7 matches
Mail list logo