Ticket #30 (closed defect: invalid)

Opened 3 years ago

Last modified 2 years ago

some errors on first stage of booting

Reported by: Vasiliy Tolstov <v.tolstov@selfip.ru> Owned by: roy
Priority: normal Milestone:
Component: init.d scripts Version:
Keywords: Cc:

Description

1) waitpid: Interrapted system call displays after OpenRC logo

2) displays following message - you have cruft in /proc , what is the message ?

3) fsck displays error if /boot in fstab is auto
(/dev/sdb1 /boot ext3 noatime,auto 1 2)

Change History

comment:152 Changed 3 years ago by roy

1) Did you press CTRL-C?

2) It means that you really have cruft there.
Basically you don't have /proc mounted and yet /proc/uptime exists OR isn't working. You should do this once booted

mkdir -p /mnt/tmp
mount --bind / /mnt/tmp
ls -aR /mnt/tmp/proc
rm -rf /mnt/tmp/proc/*

3) Works fine for me. Could you post the text of your error?

Lastly, what kernel version are you running? If non standard, could you try a vanilla or gentoo-sources?

comment:153 Changed 3 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

(In reply to comment #1)

1) Did you press CTRL-C?

No

2) It means that you really have cruft there.
Basically you don't have /proc mounted and yet /proc/uptime exists OR isn't
working. You should do this once booted

mkdir -p /mnt/tmp
mount --bind / /mnt/tmp
ls -aR /mnt/tmp/proc
rm -rf /mnt/tmp/proc/*

Done. After some time i'm reboot and tell about result.

3) Works fine for me. Could you post the text of your error?

One moment, please :)

Lastly, what kernel version are you running? If non standard, could you try a
vanilla or gentoo-sources?

i'm using gentoo-sources latest unstable
(Linux vase 2.6.24-gentoo-r2 #3 PREEMPT Mon Feb 18 08:52:50 MSK 2008 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux)

comment:154 Changed 3 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

2) Probles dissapeared after i'm done
mkdir -p /mnt/tmp
mount --bind / /mnt/tmp
ls -aR /mnt/tmp/proc
rm -rf /mnt/tmp/proc/*

3) checkfs fsck.ext3: Device or resource bysy while trying to open /dev/sdb1
file system mounted or opened exclusively by another process.

comment:155 Changed 3 years ago by roy

(In reply to comment #3)

3) checkfs fsck.ext3: Device or resource bysy while trying to open /dev/sdb1
file system mounted or opened exclusively by another process.

Aha!
You should do this
rc-update del checkfs boot
rc-update del checkroot boot
rm -f /etc/init.d/checkfs /etc/init.d/checkroot

Portage should have removed those init scripts though.

comment:156 Changed 3 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

(In reply to comment #4)

(In reply to comment #3)

3) checkfs fsck.ext3: Device or resource bysy while trying to open /dev/sdb1
file system mounted or opened exclusively by another process.

Aha!
You should do this
rc-update del checkfs boot
rc-update del checkroot boot
rm -f /etc/init.d/checkfs /etc/init.d/checkroot

Portage should have removed those init scripts though.

Yes! Work's ok now.

comment:157 Changed 3 years ago by roy

What package manager do you use? portage? paludis? pkgcore?

comment:158 Changed 3 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

(In reply to comment #6)

What package manager do you use? portage? paludis? pkgcore?

paludis

comment:159 Changed 3 years ago by roy

  • Status changed from new to resolved
  • Resolution set to invalid

 http://paludis.pioto.org/trac/ticket/417

Basically either paludis needs a fix for the Gentoo profile needs a fix
Either way, the non removal of init scripts isn't an OpenRC bug as such.

comment:160 Changed 2 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

(In reply to comment #8)

 http://paludis.pioto.org/trac/ticket/417

Basically either paludis needs a fix for the Gentoo profile needs a fix
Either way, the non removal of init scripts isn't an OpenRC bug as such.

Hm... Thank you for help.
If You using gentoo linux, can You provide full listing of /etc/init.d ?

comment:161 Changed 2 years ago by roy

(In reply to comment #9)

Hm... Thank you for help.
If You using gentoo linux, can You provide full listing of /etc/init.d ?

Not really, as each user has different versions of different packages installed.
I suggest you contact the paludis team about how to configure paludis to correctly remove init scripts.

comment:162 Changed 2 years ago by Vasiliy Tolstov <v.tolstov@selfip.ru>

(In reply to comment #10)

(In reply to comment #9)

Hm... Thank you for help.
If You using gentoo linux, can You provide full listing of /etc/init.d ?

Not really, as each user has different versions of different packages
installed.
I suggest you contact the paludis team about how to configure paludis to
correctly remove init scripts.

I'm understand how to remove unneeded files (CONFIG_PROTECT_MASK=/etc/init.d)(In reply to comment #10)

(In reply to comment #9)

Hm... Thank you for help.
If You using gentoo linux, can You provide full listing of /etc/init.d ?

Not really, as each user has different versions of different packages
installed.
I suggest you contact the paludis team about how to configure paludis to
correctly remove init scripts.

Thank's for help!

Note: See TracTickets for help on using tickets.