Modify

Opened 7 years ago

Last modified 4 years ago

#129 assigned enhancement

LSB tags or overrides not provided for rcS.firstboot and rcS.debian

Reported by: ciusss89 <ciusss@…> Owned by: amain
Priority: minor Milestone: milestone:next-release
Component: debian/rootfs Version: trunk
Severity: severity 4 Keywords: After first boot.
Cc:

Description

Hi,

After performed first boot, is possible to delete file
'/etc/init.d/rcS.firstboot' ?

wher perform dpkg --configure PACKAGE , i have thi error:
{{{insserv: warning: script 'rcS.firstboot' missing LSB tags and overrides
insserv: warning: script 'rcS.debian' missing LSB tags and overrides
}}}
For resolve missing LSB of 'rcS.debian' if possible to follow this on debian wiki?http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

In wiki is reported:
'insserv: warning: script 'X' missing LSB tags and overrides
The /etc/init.d/X script is lacking the LSB fields. Adding them to the script header or as a override file in /etc/insserv/overrides/X would solve it.'

Attachments (0)

Change History (13)

comment:1 in reply to: ↑ description Changed 7 years ago by amain

Replying to ciusss89 <ciusss@…>:

After performed first boot, is possible to delete file
'/etc/init.d/rcS.firstboot' ?

Yes, it is only used for the firstboot. However, this should not be needed. /etc/init.d/rcS is a symlink to rcS.firstboot. During second stage install rcS should be replaced with the one Debian is using.

wher perform dpkg --configure PACKAGE , i have thi error:
{{{insserv: warning: script 'rcS.firstboot' missing LSB tags and overrides
insserv: warning: script 'rcS.debian' missing LSB tags and overrides
}}}
For resolve missing LSB of 'rcS.debian' if possible to follow this on debian wiki?http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

Is it just a warning, or does it break? If so, which version of Debian are you using for rootfs?

comment:2 Changed 7 years ago by ciusss89 <ciusss@…>

hi,

I don't know how identify rootfs version, but i have compilated debwrt about 20day ago. And from menuconfig of debwrt, i choose testing for rootfs. This means that now rootfs is the same of debian 6.

Now:
I have this problem when try to install nfs-common, (procedure is blocked from this error [statd idmapd failed])
path "/etc/insserv/overrides/" is empty...

root@debwrt:~# ls -lsh /etc/init.d/rcS.debian 
4,0K -rwxr-xr-x 1 root root 117  1 gen 05.34 /etc/init.d/rcS.debian
root@debwrt:~# cat /etc/init.d/rcS.debian
#! /bin/sh
#
# rcS
#
# Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order
#

exec /etc/init.d/rc S
root@debwrt:~# }}}
What i do?

comment:3 Changed 7 years ago by amain

Probably we should provide LSB tags or overrides for rcS.firstboot and rcS.debian. Basically insserv should ignore these 2 files. I think if you delete these 2 files or move then outside /etc/init.d/, things should work again. Keep us informed.

comment:4 Changed 7 years ago by amain

  • Status changed from new to accepted

Accepting ticket. We should make insserv ignore these file.

comment:5 Changed 7 years ago by amain

  • Summary changed from After first boot. to LSB tags or overrides not provided for rcS.firstboot and rcS.debian

comment:6 Changed 7 years ago by amain

  • Milestone 2.2 deleted

comment:7 Changed 7 years ago by amain

Could you provide a reproduction path? Did you perform second stage install and then did a dpkg-configure <SOME_PACKAGE>?

comment:8 Changed 7 years ago by stappers

I think r251 helps, but I haven't checked yet.

comment:9 Changed 7 years ago by ciusss89 <ciusss@…>

During second stage installation i have followed all tips by "Second stage install instructions":

/bin/echo "- /debootstrap/debootstrap --second-stage"
/bin/echo "- rm -rf /var/cache/apt/archives"
/bin/echo "- mkdir -p /var/cache/apt/archives/partial"
/bin/echo "- echo \"deb http://ftp.debian.org/debian squeeze main\" >>/etc/apt/sources.list"

This notice about LSB tags was always present from when i start to install some packages. It is present with 'apt-get install' also 'dpkg-configure'.

comment:10 Changed 7 years ago by stappers

In r257 is code that can remove /etc/init.d/rcS.debian

comment:11 Changed 6 years ago by edgrootjans@…

The file /etc/init.d/rcS.debian stil exists in rev314

I have moved it away to a tempory directory and i can use insserv now.

comment:12 Changed 4 years ago by SMM

I appreciate you sharing this blog article.Really thank you! Really Cool.

comment:13 Changed 4 years ago by amain

  • Milestone set to next-release
  • Status changed from accepted to assigned

Add Comment

Modify Ticket

Action
as assigned The owner will remain amain.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.