Skip to contentSkip to conversation

tools/hotplug/Linux: LSB header modify

PATCH In review Fantu 2 participants 6 messages Jun 3, 2011

lore
Share & tools
lore

Fantu

author
#0 lore raw

PATCH 1/1 tools/hotplug/Linux: LSB header modify

# HG changeset patch
# User Fabio Fantoni
# Date 1307084346 -7200
# Node ID b9233d24dc410102c9e82edd4e394546efcc5e48
# Parent 01842fdf5d51975587e208000edf21e2ec1fa5ac tools/hotplug/Linux: LSB Header:
Start all xen daemons in runlevel 2 and remove Default-Enabled Fix other runlevel on xencommons

tools/hotplug/Linux/init.d/xencommons +2 -3
diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xencommons
@@ -13,9 +13,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      1
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xenstored and xenconsoled
 # Description:       Starts and stops the daemons neeeded for

xl/libxenlight
### END INIT INFO

tools/hotplug/Linux/init.d/xend +2 -3
diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xend
@@ -12,9 +12,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xend
 # Description:       Starts and stops the Xen control daemon.
 ### END INIT INFO
tools/hotplug/Linux/init.d/xendomains +2 -3
diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xendomains
@@ -20,9 +20,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs xend
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop secondary xen domains
 # Description:       Start / stop domains automatically when domain 0 
 #                    boots / shuts down.

--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-4-0-testing-tools-hotplug-Linux-LSB-header-modify-tp4450370p4450370.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

#1 lore raw
Quoted 8 lines · Fantu

# HG changeset patch
# User Fabio Fantoni
# Date 1307084346 -7200
# Node ID b9233d24dc410102c9e82edd4e394546efcc5e48
# Parent 01842fdf5d51975587e208000edf21e2ec1fa5ac tools/hotplug/Linux: LSB Header:
Start all xen daemons in runlevel 2 and remove Default-Enabled Fix other runlevel on xencommons

You should mention that this is a backport of 23411:99e9bed36e2e from unstable. In general explicit backports are not required, unless there are conflicts it is enough to simply ask for a backport to be done.

Quoted 1 line

Your mail client (nabble?) seems to be HTML escaping your plain text mail. It's merely annoying in commit messages but it is actively harmful in the patch parts.

I recommend you subscribe (and post) to xen-devel directly. You should probably also raise a bug against nabble.

Ian.

Quoted 56 lines

diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xencommons

tools/hotplug/Linux/init.d/xencommons +2 -3
@@ -13,9 +13,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      1
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xenstored and xenconsoled
 # Description:       Starts and stops the daemons neeeded for

xl/libxenlight
### END INIT INFO
diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xend

tools/hotplug/Linux/init.d/xend +2 -3
@@ -12,9 +12,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xend
 # Description:       Starts and stops the Xen control daemon.
 ### END INIT INFO

diff -r 01842fdf5d51 -r b9233d24dc41 tools/hotplug/Linux/init.d/xendomains

tools/hotplug/Linux/init.d/xendomains +2 -4
@@ -20,9 +20,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs xend
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
-# Default-Enabled:   yes
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop secondary xen domains
 # Description:       Start / stop domains automatically when domain 0 
 #                    boots / shuts down.
 
 
--

View this message in context: http://xen.1045712.n5.nabble.com/PATCH-4-0-testing-tools-hotplug-Linux-LSB-header-modify-tp4450370p4450370.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Is not only backports of 23411, there are also remove of default-enabled and fix of other runlevel in xencommons
I have do this patch for 4.0 and the other for 4.1 for how have systems following the lsb and how must always manually change inits on package create or installation from source otherwise

--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-4-0-testing-tools-hotplug-Linux-LSB-header-modify-tp4450370p4450516.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

#3 lore raw
Quoted 2 lines · Fantu

Is not only backports of 23411, there are also remove of default-enabled and fix of other runlevel in xencommons

Then you need to ask for a backport of 23411 plus whichever other patches are need (which might mean you need to get a patch into xen-unstable.hg first).

Quoted 3 lines

I have do this patch for 4.0 and the other for 4.1 for how have systems following the lsb and how must always manually change inits on package create or installation from source otherwise

#5 lore raw

(please try and quote some context in your mails, maybe it looks fine in nabbles forum layout but the majority of people consume the list via email)

Quoted 2 lines · Fantu

These changes are already in unstable, in this case backports of unstable patch can be ok (21862-22771-23411)

These seem like a reasonable set of changes to backport.

21862 and 22771 are already in 4.1-testing so I guess you are asking for them to go into 4.0 too. I'm not sure if another 4.0 release is planned after the current one but if so then these seem like reasonable candidates.

23411 looks good for 4.1 and 4.0.

Ian.

changeset:   21862:c33055fcda42
user:        Ian Jackson <[email protected]>
date:        Mon Jul 26 11:15:40 2010 +0100
summary:     tools/hotplug etc.: remove Default-Enabled from LSB header
changeset:   22771:726c616fca5e
user:        Ian Campbell <[email protected]>
date:        Mon Jan 17 17:52:39 2011 +0000
summary:     tools/hotplug/Linux: start xen daemons in runlevel 2.
changeset:   23411:99e9bed36e2e
user:        Fabio Fantoni <[email protected]>
date:        Thu May 26 14:38:56 2011 +0100
summary:     tools/hotplug/Linux: start all xen daemons in runlevel 2