Bug#529753: [Pkg-utopia-maintainers] Bug#529753: Processed (with 1 errors): Re: Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-06-30 Thread Michael Biebl
Michael Biebl wrote:
> reassgin 529753 insserv
> thanks
> 
> dbus does not call invoke-rc.d during startup or shutdown, so bouncing back 
> the
> bug report to insserv.
> 
> As kel wrote, it might be a ifupdown.d hook that is calling invoke-rc.d, 
> please
> check the files in /etc/network (grep -r invoke-rc.d /etc/network).
> 
> And regarding the "ugliness" of the dbus script:
>> (By the way I find this /etc/init.d/dbus script ugly: It does on every
>> start/shutdown what insserv alone should do for dependency sake)
> 
> This statement is simply not true (as I already explained to you).
> insserv is for automatically calculation your init script priorities based on
> the lsb header information, nothing more. As such it is not truly a dynamic,
> dependency based init system, which allows to e.g. restart a service + all its
> dependend services.

Maybe this would be a nice feature for insserv, if it shipped a small helper
tool that allows exactly that:
mighty_tool  start|stop|restart
will start,stop,restart all services that depend on  and are currently
running, in the correct order. wishlist bug?

Michael




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#529753: [Pkg-utopia-maintainers] Processed (with 1 errors): Re: Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-06-30 Thread Michael Biebl
Michael Biebl wrote:

> 
> And regarding the "ugliness" of the dbus script:
>> (By the way I find this /etc/init.d/dbus script ugly: It does on every
>> start/shutdown what insserv alone should do for dependency sake)
> 

And as additional information: The function dependend_services() in the dbus
init script immediately exits during boot/shutdown. So this statment is not
correct either.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#529753: [Pkg-utopia-maintainers] Processed (with 1 errors): Re: Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-06-30 Thread Michael Biebl
reassgin 529753 insserv
thanks

dbus does not call invoke-rc.d during startup or shutdown, so bouncing back the
bug report to insserv.

As kel wrote, it might be a ifupdown.d hook that is calling invoke-rc.d, please
check the files in /etc/network (grep -r invoke-rc.d /etc/network).

And regarding the "ugliness" of the dbus script:
> (By the way I find this /etc/init.d/dbus script ugly: It does on every
> start/shutdown what insserv alone should do for dependency sake)

This statement is simply not true (as I already explained to you).
insserv is for automatically calculation your init script priorities based on
the lsb header information, nothing more. As such it is not truly a dynamic,
dependency based init system, which allows to e.g. restart a service + all its
dependend services.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-06-30 Thread Petter Reinholdtsen
reassign 529753 dbus
subject 529753 warning during shutdown because of invoke-rc.d call
thanks

As far as I can see, this is an issue with dbus or invoke-rc.d, not
with insserv.  Reassigning to dbus as invoke-rc.d should really not be
used during shutdown as it is currently implemented.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-06-03 Thread Kel Modderman
On Friday 22 May 2009 19:13:00 Ralph Ulrich wrote:
> Kel Modderman wrote:
> >>
> >> # warning:
> >> # warning: stop script call of invoke-rc.d
> >> # warning: this is not supported by insserv
> >> # warning:
> >>
>   > I am not aware of any message generated by the insserv program which is
> > similar to it.
> 
> I made a photo of the shutdown messages scrolling away:
> 
> ---
> Listening on LPT/eth1/
> Sending on LPT/eth1/
> Sending on Socket/fallback
> DHCPRELEASE on eth1 on 
> send_packet: Network is unreachable
> send_packet: Please consult README file regarding broadcast ...
> invoke-rc.d: 
> invoke-rc.d: Warning: invoke-rc.d called during shutdown 
> invoke-rc.d: initscript policy layer fallback to safe mode
> invoke-rc.d: 
> Reloading /etc/samba/smb.conf: smbd onlyNo process is pid
> bd.pid found running: none killed
> .
> Done.
> Cleaning up ifupdown
> Deactivating swap
> ---

This is the information the initial bug report should have included! The
information in initial report must be fictional.

There is nothing here to suggest insserv related problems. Possibly
something in /etc/network/if-*/ is calling invoke-rc.d, and this can happen
at shutdown/reboot time when networking service is stopped.

Kel.


Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-22 Thread Ralph Ulrich

I meant:

/etc/init.d/DBUS it is NOT the cause




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-22 Thread Ralph Ulrich

Kel Modderman wrote:


# warning:
# warning: stop script call of invoke-rc.d
# warning: this is not supported by insserv
# warning:


 > I am not aware of any message generated by the insserv program which is

similar to it.


I made a photo of the shutdown messages scrolling away:

---
Listening on LPT/eth1/
Sending on LPT/eth1/
Sending on Socket/fallback
DHCPRELEASE on eth1 on 
send_packet: Network is unreachable
send_packet: Please consult README file regarding broadcast ...
invoke-rc.d: 
invoke-rc.d: Warning: invoke-rc.d called during shutdown 
invoke-rc.d: initscript policy layer fallback to safe mode
invoke-rc.d: 
Reloading /etc/samba/smb.conf: smbd onlyNo process is pid
bd.pid found running: none killed
.
Done.
Cleaning up ifupdown
Deactivating swap
---

In the startscripts I found invoce-rc.d only in cups, which is
not called during shutdown and in dbus where this function is called
with a stop parameter:

---
dependent_services()

services=$(grep -s -l "^# Required-Start:.*dbus" /etc/rc${r}.d/S??*

invoke-rc.d $service $action || true
---

I tested by commenting out this invoke-rc.d for a shutdown:
/etc/init.d it is NOT the cause of my scary shutdown messages!

(By the way I find this /etc/init.d/dbus script ugly: It does on every
start/shutdown what insserv alone should do for dependency sake)

As an experimental affine sidux user I installed insserv half a year
earlier than this package reached debian unstable.
Now I guess there was a bad insserv installation long time ago.

Why does my network and samba want to start when shuting down?
What can I do to fix my system ?



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-21 Thread Kel Modderman
On Friday 22 May 2009 08:31:50 Ralph Ulrich wrote:
> Kel Modderman wrote:
> >> which insserv does not seem to like: There comes a warning message. Why?
> > 
> > What warning message? What does insserv have to do with it?
> 
> I see this on every shutdown, something like it (it is scrolling fast):
> 
> # warning:
> # warning: stop script call of invoke-rc.d
> # warning: this is not supported by insserv
> # warning:
> 
> As only service dbus calls "invoke-rc.d dbus stop" on shutdown.

I am not aware of any message generated by the insserv program which is
similar to it.

Kel.


Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-21 Thread Ralph Ulrich

Kel Modderman wrote:

which insserv does not seem to like: There comes a warning message. Why?


What warning message? What does insserv have to do with it?


I see this on every shutdown, something like it (it is scrolling fast):

# warning:
# warning: stop script call of invoke-rc.d
# warning: this is not supported by insserv
# warning:

As only service dbus calls "invoke-rc.d dbus stop" on shutdown.

Ralph



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-21 Thread Kel Modderman
tags 529753 moreinfo
thanks

On Thursday 21 May 2009 20:48:04 Ralph Ulrich wrote:
> Package: insserv
> Version: 1.12.0-4
> Severity: minor
> 
> 
> At shutdown the scripts /etc/init.d/dbus makes a call
> 
> "invoke-rc.d service stop"
> 
> which insserv does not seem to like: There comes a warning message. Why?

What warning message? What does insserv have to do with it?

Kel.


Bug#529753: insserv: at shutdown critics about invoke-rc.d stop

2009-05-21 Thread Ralph Ulrich

Package: insserv
Version: 1.12.0-4
Severity: minor


At shutdown the scripts /etc/init.d/dbus makes a call

"invoke-rc.d service stop"

which insserv does not seem to like: There comes a warning message. Why?




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org