sgrimes / googlesitemapgenerator

Automatically exported from code.google.com/p/googlesitemapgenerator
Apache License 2.0
0 stars 0 forks source link

Provide LSB-Tags in init-script #181

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Tried to Update the system with the following updates: base-files cpufrequtils 
dpkg libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcpufreq0 libgnutls26 
libperl5.10 libxml2 linux-base linux-image-2.6.32-5-amd64 linux-libc-dev 
locales mdadm module-init-tools perl perl-base perl-modules tzdata

What is the expected output? What do you see instead?
expected clean update, but got this: 

module-init-tools (3.12-2) wird eingerichtet ...
insserv: warning: script 'K10google-sitemap-generator' missing LSB tags and 
overrides
insserv: warning: script 'google-sitemap-generator' missing LSB tags and 
overrides
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service rmnologin and mountnfs if started
insserv:  loop involving service mountnfs at depth 6
insserv:  loop involving service networking at depth 5
insserv: There is a loop between service google-sitemap-generator and 
mountall-bootclean if started
insserv:  loop involving service mountall-bootclean at depth 5
insserv:  loop involving service mountall at depth 4
insserv: There is a loop between service rmnologin and lvm2 if started
insserv:  loop involving service lvm2 at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop at service google-sitemap-generator if started
insserv: There is a loop between service rmnologin and checkroot if started
insserv:  loop involving service checkroot at depth 2
insserv:  loop involving service keyboard-setup at depth 1
insserv:  loop involving service screen-cleanup at depth 10
insserv:  loop involving service mountoverflowtmp at depth 7
insserv:  loop involving service checkfs at depth 4
insserv:  loop involving service mdadm-raid at depth 2
insserv:  loop involving service hwclockfirst at depth 3
insserv:  loop involving service hostname at depth 4
insserv: There is a loop between service rmnologin and mountall if started
insserv:  loop involving service bootlogd at depth 3
insserv: There is a loop between service rmnologin and udev if started
insserv:  loop involving service mountkernfs at depth 1
insserv: There is a loop between service rmnologin and mountoverflowtmp if 
started
insserv:  loop involving service mtab at depth 6
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
<snip>
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service apache2 at depth 1
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
<snip>
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
insserv: Starting google-sitemaconfigured to not write apport reports
                                                                     p-generator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
<snip>
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
insserv: There is a loop between service google-sitemap-generator and 
ifupdown-clean if started
insserv:  loop involving service ifupdown-clean at depth 1
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
<snip>
insserv: Starting google-sitemap-generator depends on rmnologin and therefore 
on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten von module-init-tools (--configure):

What version of the product are you using? On what operating system?
sitemap_linux-x86_64-beta1-20091231 on Debian Squeeze 6.0.4

Please provide any additional information below.
fixed it by including the LSB-Tags from the apache2 initscript.

Original issue reported on code.google.com by christ...@korn.cx on 31 Jan 2012 at 1:56

GoogleCodeExporter commented 8 years ago
just add something like

#!/bin/sh

### BEGIN INIT INFO
# Provides:          google-sitemap-generator
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: google-sitemap-generator
### END INIT INFO

at the beginning of the file

Original comment by joer...@gmail.com on 13 Sep 2012 at 11:58