Bug#427499: Merge a few bugs and provide LSB header

Andre Felipe Machado andremachado at techforce.com.br
Thu Feb 21 14:04:29 UTC 2008


Hello, Petter
Thanks for the fast answer.
 
> It seem mostly ok, but the dependency on '$all' is broken.  They can
> not all start after all other packages.  It will not work.  

The Should-Start: $all is supposed to be a weak dependency, a desired order
that
will not cause a failure if not satisfied.
I imagined that when the init installer, at "first pass", will try to move
each script
to the end of queue as per weak dependency spec, then, at "second pass",
 will try to satisfy the strong dependencies, correctly ordering all.

> In addition, all of them should depend on $remote_fs, to make sure /usr/
> is mounted when the scripts are executed.

My first guess was to specify strong dependencies $remote_fs and $network
for all packages.
But then realized that each script will depend on previously started 
other and only the first (ccs) should have such strong dependencies.
Specifying strong dependencies almost equal to all scripts, may confuse the

installer order resolving. 
I am not sure if the installer could accomplish such task, yet. 
If the DD could make things easier to the installer, the better.
As the redhat-cluster-suite should install all init.d scripts, these
headers
should be enough to guarantee consistency.

Also, I am not sure about needing the non-standard Debian and Suse custom
headers for reverse dependency, given that the package will install all
scripts.
X-Start-Before: boot_facility_1 [boot_facility_2...]
X-Stop-After: boot_facility_1 [boot_facility_2...]

Regards.
Andre Felipe

-- 
"A Debian user never dies. Issues a last command:
shutdown -h now"
http://www.techforce.com.br






More information about the pkg-lvm-maintainers mailing list