Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Users

update-rc.d: warning: xencommons

 

 

Xen users RSS feed   Index | Next | Previous | View Threaded


cyberhawk001 at gmail

May 10, 2012, 2:40 PM

Post #1 of 7 (393 views)
Permalink
update-rc.d: warning: xencommons

This is maybe nothing, but when using Xen 4.2 unstable, if i run the
command:

*sudo update-rc.d xencommons defaults 19 18*

I always get the warning message:

*update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5) do
not match LSB Default-Start values (2 3 5)*

So far i have just ignored that message, but is that something to worry
about? I do recall that when using the Xen 4.1.2 Stable, i have never
seen that warning message until i started using Xen 4.2 Unstable.


Ian.Campbell at citrix

May 11, 2012, 1:11 AM

Post #2 of 7 (357 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

On Thu, 2012-05-10 at 22:40 +0100, cyberhawk001 [at] gmail wrote:
> This is maybe nothing, but when using Xen 4.2 unstable, if i run the
> command:
>
> sudo update-rc.d xencommons defaults 19 18
>
> I always get the warning message:
>
> update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5) do
> not match LSB Default-Start values (2 3 5)
>
> So far i have just ignored that message, but is that something to
> worry about? I do recall that when using the Xen 4.1.2 Stable, i have
> never seen that warning message until i started using Xen 4.2
> Unstable.

IIRC xencommons is a new initscript in 4.2 (might have been backported
to later 4.1.x, not sure).

I'd have thought this would be fixed in xen-unstable by:
changeset: 24847:0900b1c905f1
user: Olaf Hering <olaf [at] aepfle>
date: Mon Feb 20 18:58:07 2012 +0000
summary: tools/hotplug: remove 4 from default runlevel in xencommons

Are you running xen-unstable from before then?

More recently Olaf fixed another bunch of similar warnings in:
changeset: 25295:7d3d3fece237
user: Olaf Hering <olaf [at] aepfle>
date: Fri May 04 19:38:02 2012 +0200
summary: tools/hotplug: remove 4 from default runlevel in init scripts

(I think the warning is a bit annoying, but it's IMHO harmless)

Ian.


_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xen.org/xen-users


cyberhawk001 at gmail

May 11, 2012, 9:41 AM

Post #3 of 7 (371 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

>
> IIRC xencommons is a new initscript in 4.2 (might have been backported
> to later 4.1.x, not sure).
>
> I'd have thought this would be fixed in xen-unstable by:
> changeset: 24847:0900b1c905f1
> user: Olaf Hering<olaf [at] aepfle>
> date: Mon Feb 20 18:58:07 2012 +0000
> summary: tools/hotplug: remove 4 from default runlevel in xencommons
>
> Are you running xen-unstable from before then?
Well yesterday i was running the latest revision of xen-unstable, which
at that time was, i think revision 25269. I just saw today that more
updates were added, current is revision 25287 i believe.

I have gotten that warning a lot before, with a lot of past revisions,
even with 25219, so i have always just ignored it. But it was only with
xencommons.

I have updated my local build folder with the latest from mercurial
today, revision 25287 and have built xen again. After installing it, and
running the 4 update-rc.d commands i get the following:

*- sudo update-rc.d xencommons defaults 19 18*
- update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5) do
not match LSB Default-Start values (2 3 5)

*- sudo update-rc.d xend defaults 20 21*
- update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not
match LSB Default-Start values (2 3 5)

*- sudo update-rc.d xendomains defaults 21 20*
- update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do
not match LSB Default-Start values (2 3 5)
- insserv: warning: current start runlevel(s) (2 3 4 5) of script
'xendomains' overwrites defaults (2 3 5)

*- sudo update-rc.d xen-watchdog defaults 22 23*
- update-rc.d: warning: xen-watchdog start runlevel arguments (2 3 4 5)
do not match LSB Default-Start values (2 3 5)
- insserv: warning: current start runlevel(s) (2 3 4 5) of script
'xen-watchdog' overwrites defaults (2 3 5)

SO, now i am getting a lot more warnings that i have ever got....lol.

Could this be because of the many times i uninstall / removed Xen, and
reinstalled? Not sure if there is always something remnant that gets
left behind each time you do that. At least coming from the Windows
world, that usually happens all the time.


> More recently Olaf fixed another bunch of similar warnings in:
> changeset: 25295:7d3d3fece237
> user: Olaf Hering<olaf [at] aepfle>
> date: Fri May 04 19:38:02 2012 +0200
> summary: tools/hotplug: remove 4 from default runlevel in init scripts
>
> (I think the warning is a bit annoying, but it's IMHO harmless)
>
> Ian.

Thank you for the reply Ian, i figured it was just annoying as so far i
just ignored it. Granted, with the revision 25287, i am getting a lot
more warnings, so again i will have to ignore it unless it is a big
issue, at which time i will just revert back to revision 25269 or
something like that.


Ian.Campbell at citrix

May 11, 2012, 9:43 AM

Post #4 of 7 (362 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

On Fri, 2012-05-11 at 17:41 +0100, cyberhawk001 [at] gmail wrote:
>
> - sudo update-rc.d xencommons defaults 19 18
> - update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5)
> do not match LSB Default-Start values (2 3 5)

Does /etc/init.d/xencommons have the same contents as
tools/hotplug/Linux/init.d/xencommons in the Xen source? (similarly for
the other initscripts)

Ian.



_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xen.org/xen-users


cyberhawk001 at gmail

May 11, 2012, 10:07 AM

Post #5 of 7 (377 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

On 5/11/2012 12:43 PM, Ian Campbell wrote:
> On Fri, 2012-05-11 at 17:41 +0100, cyberhawk001 [at] gmail wrote:
>> - sudo update-rc.d xencommons defaults 19 18
>> - update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5)
>> do not match LSB Default-Start values (2 3 5)
> Does /etc/init.d/xencommons have the same contents as
> tools/hotplug/Linux/init.d/xencommons in the Xen source? (similarly for
> the other initscripts)
>
> Ian.

I have compared the files line by line:

*/etc/init.d/xencommons
/etc/init.d/xend
/etc/init.d/xendomains
/etc/init.d/xen-watchdog*

With the exact same files in the
[*xen-unstable.hg/tools/hotplug/Linux/init.d/*] folder and all 4 files
are 100% identical in content.


cdelorme at gmail

May 11, 2012, 10:09 AM

Post #6 of 7 (366 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

First, I got the same errors when I ran update-rc.d, second I ignore them
and I will explain why, but Third you do not have to re-run update-rc.d
every Xen reinstall.


To explain why I ignore them, if you have tried installing Xen on a fresh
system and rebooting without running update-rc.d the four scripts do not
execute and your toolstack and various features are not running.

You can manually run them, update-rc.d is the tool that tells them to
execute at boot, and the numbers you pass tell it the order.

In conclusion, I ignore them because if the command did not work and the
scripts either A) Did not Load, or B) Loaded out of order; then you would
not have a functioning Xen system. Simple as that.


As far as not having to run update-rc.d everytime, the Xen installer does
not run those commands for you, so when you uninstall it does not undo
those commands either.

When you run the command, it adds a record in the system saying "Run file X
located in /etc/init.d/ at boot time." Uninstalling Xen does not remove
those records, if you reboot after uninstalling Xen you'll notice four
errors with the missing files. No harm done, just unnecessary attempts to
execute non-existent scripts.

Point in case, unless they change the names of the four scripts, you can
run the update-rc.d command once, and anytime you reinstall Xen the scripts
are put back in the same location, and run automatically.



I hope this helps answer at least some of your concerns, but I don't
exactly know all that much about update-rc.d, I just know that the numbers
are a representation of importance, hence xencommons loads sooner than the
rest. Perhaps some change in Wheezy's numeric representations is creating
the warning, but I haven't bothered investigating since as stated it works.

~Casey

On Fri, May 11, 2012 at 12:43 PM, Ian Campbell <Ian.Campbell [at] citrix>wrote:

> On Fri, 2012-05-11 at 17:41 +0100, cyberhawk001 [at] gmail wrote:
> >
> > - sudo update-rc.d xencommons defaults 19 18
> > - update-rc.d: warning: xencommons start runlevel arguments (2 3 4 5)
> > do not match LSB Default-Start values (2 3 5)
>
> Does /etc/init.d/xencommons have the same contents as
> tools/hotplug/Linux/init.d/xencommons in the Xen source? (similarly for
> the other initscripts)
>
> Ian.
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users [at] lists
> http://lists.xen.org/xen-users
>


cyberhawk001 at gmail

May 11, 2012, 11:09 AM

Post #7 of 7 (351 views)
Permalink
Re: update-rc.d: warning: xencommons [In reply to]

Well, that makes perfect sense. I just figured it was strange that all
previous revisions of Xen 4.2-Unstbale gave a warning at xencommons
only, and the latest one gives you a lot more warnings and with all 4
init scripts. But, will just ignore that as well.




> First, I got the same errors when I ran update-rc.d, second I ignore
> them and I will explain why, but Third you do not have to re-run
> update-rc.d every Xen reinstall.
>
>
> To explain why I ignore them, if you have tried installing Xen on a
> fresh system and rebooting without running update-rc.d the four
> scripts do not execute and your toolstack and various features are not
> running.
>
> You can manually run them, update-rc.d is the tool that tells them to
> execute at boot, and the numbers you pass tell it the order.
>
> In conclusion, I ignore them because if the command did not work and
> the scripts either A) Did not Load, or B) Loaded out of order; then
> you would not have a functioning Xen system. Simple as that.
>
>
> As far as not having to run update-rc.d everytime, the Xen installer
> does not run those commands for you, so when you uninstall it does not
> undo those commands either.
>
> When you run the command, it adds a record in the system saying "Run
> file X located in /etc/init.d/ at boot time." Uninstalling Xen does
> not remove those records, if you reboot after uninstalling Xen you'll
> notice four errors with the missing files. No harm done, just
> unnecessary attempts to execute non-existent scripts.
>
> Point in case, unless they change the names of the four scripts, you
> can run the update-rc.d command once, and anytime you reinstall Xen
> the scripts are put back in the same location, and run automatically.
>
>
>
> I hope this helps answer at least some of your concerns, but I don't
> exactly know all that much about update-rc.d, I just know that the
> numbers are a representation of importance, hence xencommons loads
> sooner than the rest. Perhaps some change in Wheezy's numeric
> representations is creating the warning, but I haven't bothered
> investigating since as stated it works.
>
> ~Casey
>


_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xen.org/xen-users

Xen users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.