All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove Default-Enabled from LSB header
@ 2010-07-23 12:19 Olaf Hering
  2010-07-23 16:52 ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2010-07-23 12:19 UTC (permalink / raw)
  To: xen-devel


Default-Enabled: is not a LSB keyword.
Move it out of the LSB section to avoid an openSuSE buildcheck warning.

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---

It may be removed altogether, even google has no hits besides the old Debian bug #458502

 tools/hotplug/Linux/init.d/xencommons |    2 +-
 tools/hotplug/Linux/init.d/xend       |    2 +-
 tools/hotplug/Linux/init.d/xendomains |    2 +-
 tools/xenballoon/xenballoond.init     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

--- xen-unstable.hg-4.1.21836.orig/tools/hotplug/Linux/init.d/xencommons
+++ xen-unstable.hg-4.1.21836/tools/hotplug/Linux/init.d/xencommons
@@ -14,10 +14,10 @@
 # Should-Stop:
 # Default-Start:     3 4 5
 # Default-Stop:      1
-# Default-Enabled:   yes
 # Short-Description: Start/stop xenstored and xenconsoled
 # Description:       Starts and stops the daemons neeeded for xl/xend
 ### END INIT INFO
+# Default-Enabled:   yes
 
 test -f /etc/sysconfig/xencommons && . /etc/sysconfig/xencommons
 
--- xen-unstable.hg-4.1.21836.orig/tools/hotplug/Linux/init.d/xend
+++ xen-unstable.hg-4.1.21836/tools/hotplug/Linux/init.d/xend
@@ -14,10 +14,10 @@
 # Should-Stop:
 # Default-Start:     3 4 5
 # Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
 # Short-Description: Start/stop xend
 # Description:       Starts and stops the Xen control daemon.
 ### END INIT INFO
+# Default-Enabled:   yes
 
 shopt -s extglob
 
--- xen-unstable.hg-4.1.21836.orig/tools/hotplug/Linux/init.d/xendomains
+++ xen-unstable.hg-4.1.21836/tools/hotplug/Linux/init.d/xendomains
@@ -22,11 +22,11 @@
 # Should-Stop:
 # Default-Start:     3 4 5
 # Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
 # Short-Description: Start/stop secondary xen domains
 # Description:       Start / stop domains automatically when domain 0 
 #                    boots / shuts down.
 ### END INIT INFO
+# Default-Enabled:   yes
 
 CMD=xm
 $CMD list &> /dev/null
--- xen-unstable.hg-4.1.21836.orig/tools/xenballoon/xenballoond.init
+++ xen-unstable.hg-4.1.21836/tools/xenballoon/xenballoond.init
@@ -16,10 +16,10 @@
 # Should-Stop:
 # Default-Start:     3 4 5
 # Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
 # Short-Description: Start/stop xend
 # Description:       Starts and stops the Xen ballooning daemon.
 ### END INIT INFO
+# Default-Enabled:   yes
 
 # Source function library
 . /etc/init.d/functions

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove Default-Enabled from LSB header
  2010-07-23 12:19 [PATCH] remove Default-Enabled from LSB header Olaf Hering
@ 2010-07-23 16:52 ` Ian Jackson
  2010-07-23 18:39   ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2010-07-23 16:52 UTC (permalink / raw)
  To: Olaf Hering; +Cc: xen-devel

Olaf Hering writes ("[Xen-devel] [PATCH] remove Default-Enabled from LSB header"):
> Default-Enabled: is not a LSB keyword.
> Move it out of the LSB section to avoid an openSuSE buildcheck warning.

I'm pretty sure it was put there for a reason by the people who added
these files.  If we move it out of the INIT INFO section it's probably
going to stop working.

Is it actually a breach of the LSB spec to include nonstandard
keywords ?

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove Default-Enabled from LSB header
  2010-07-23 16:52 ` Ian Jackson
@ 2010-07-23 18:39   ` Olaf Hering
  2010-07-26 10:12     ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2010-07-23 18:39 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

On Fri, Jul 23, Ian Jackson wrote:

> Olaf Hering writes ("[Xen-devel] [PATCH] remove Default-Enabled from LSB header"):
> > Default-Enabled: is not a LSB keyword.
> > Move it out of the LSB section to avoid an openSuSE buildcheck warning.
> 
> I'm pretty sure it was put there for a reason by the people who added
> these files.  If we move it out of the INIT INFO section it's probably
> going to stop working.

Its not clear what the intention was, LSB does not mention this keyword.
Google has some hits about X-UnitedLinux-Default-Enabled: which implies
what someone tried to get rid of the vendor part from this old string
from end of 2002.
I'm sure nothing will break if the lines disappear.

> Is it actually a breach of the LSB spec to include nonstandard
> keywords ?

I havent checked if LSB forbids it. Most likely the tools should
tolerate unknown keywords.

Olaf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] remove Default-Enabled from LSB header
  2010-07-23 18:39   ` Olaf Hering
@ 2010-07-26 10:12     ` Ian Jackson
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Jackson @ 2010-07-26 10:12 UTC (permalink / raw)
  To: Olaf Hering; +Cc: xen-devel

Olaf Hering writes ("Re: [Xen-devel] [PATCH] remove Default-Enabled from LSB header"):
> Its not clear what the intention was, LSB does not mention this keyword.
> Google has some hits about X-UnitedLinux-Default-Enabled: which implies
> what someone tried to get rid of the vendor part from this old string
> from end of 2002.

Thanks for investigating.

> I'm sure nothing will break if the lines disappear.

OK, right, I'll apply your patch.

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-26 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-23 12:19 [PATCH] remove Default-Enabled from LSB header Olaf Hering
2010-07-23 16:52 ` Ian Jackson
2010-07-23 18:39   ` Olaf Hering
2010-07-26 10:12     ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.