]> git.pld-linux.org Git - packages/autofs.git/blob - autofs-5.0.4-fix-lsb-init-script-header.patch
- updated to 5.0.5, nfy.
[packages/autofs.git] / autofs-5.0.4-fix-lsb-init-script-header.patch
1 autofs-5.0.4 - fix lsb init script header
2
3 From: Ian Kent <raven@themaw.net>
4
5 It truns out that "Should-Start:" is not sufficient to enforce
6 the required ordering of services and a "Required-Start:" is
7 needed instead.
8 ---
9
10  CHANGELOG             |    1 +
11  redhat/autofs.init.in |    4 ++--
12  samples/rc.autofs.in  |    4 ++--
13  3 files changed, 5 insertions(+), 4 deletions(-)
14
15
16 diff --git a/CHANGELOG b/CHANGELOG
17 index 91edd14..2be7683 100644
18 --- a/CHANGELOG
19 +++ b/CHANGELOG
20 @@ -35,6 +35,7 @@
21  - use misc device ioctl interface by default, if available.
22  - fix call restorecon when misc device file doesn't exist.
23  - clear rpc client on lookup fail.
24 +- fix lsb init script header.
25  
26  4/11/2008 autofs-5.0.4
27  -----------------------
28 diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
29 index a9a33c8..fded1d8 100644
30 --- a/redhat/autofs.init.in
31 +++ b/redhat/autofs.init.in
32 @@ -9,8 +9,8 @@
33  #
34  ### BEGIN INIT INFO
35  # Provides: $autofs
36 -# Should-Start: $network $ypbind
37 -# Should-Stop: $network $ypbind
38 +# Required-Start: $network $ypbind
39 +# Required-Stop: $network $ypbind
40  # Default-Start: 3 4 5
41  # Default-Stop: 0 1 2 6
42  # Short-Description: Automounts filesystems on demand
43 diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
44 index 78cbec2..b193a4e 100644
45 --- a/samples/rc.autofs.in
46 +++ b/samples/rc.autofs.in
47 @@ -8,8 +8,8 @@
48  #
49  ### BEGIN INIT INFO
50  # Provides: $autofs
51 -# Should-Start: $network $ypbind
52 -# Should-Stop: $network $ypbind
53 +# Required-Start: $network $ypbind
54 +# Required-Stop: $network $ypbind
55  # Default-Start: 3 4 5
56  # Default-Stop: 0 1 2 6
57  # Short-Description: Automounts filesystems on demand
This page took 0.032263 seconds and 3 git commands to generate.