Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Baselayout upgrade broke my server [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Thu Nov 05, 2009 5:33 pm    Post subject: Baselayout upgrade broke my server [SOLVED] Reply with quote

Hi

https://bugs.gentoo.org/show_bug.cgi?id=291916

As per that bug, stable x86 baselayout update last night has rendered my router/firewall box un-bootable.

Does anyone have any suggestions?

It uses a wireless adapter to connect to the 'net so even masking the offending version of baselayout and downgrading is non-trivial (but can be done).

I've taken a pic of the boot failure using my phone - where's the best place to upload?
_________________
Jingle Jangle Jewellery


Last edited by agent_jdh on Sat Nov 07, 2009 1:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Thu Nov 05, 2009 7:00 pm    Post subject: Reply with quote

Anywhere, then link to it.

Have you followed this? http://www.gentoo.org/doc/en/openrc-migration.xml
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Thu Nov 05, 2009 7:30 pm    Post subject: Reply with quote

Openrc is masked as ~x86, this is an all x86 hardened server. Baselayout update was to version 1.12.13.

Problem seems to be /dev is almost completely empty, but if I "mount --bind / /mnt/test" like post #2 of the bug report, I can see /mnt/test/dev looks much more complete. All of my /dev/sd* entries are missing though.

Bugzilla post has a bit more info in it now.

Using imageshack unless anyone knows otherwise -

http://img687.imageshack.us/img687/5991/dsc00030o.jpg
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Thu Nov 05, 2009 10:06 pm    Post subject: Reply with quote

I updated this morning without any problems.

Just rebooted to make sure and it boots fine, udev filling /dev properly

There were 26 ._config* files under /etc that needed to be merged,
and there were a few of them that I discarded, especially in /etc/conf.d
because they got rid of some settings that were proper for my machine.

I always do a diff between the ._config* file and what it is trying to replace.

My system is amd64 mostly stable.

Don't know what to tell you.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Thu Nov 05, 2009 10:40 pm    Post subject: Reply with quote

I ran etc-update after the baselayout change so I don't think that's the problem. I'm wondering if e.g. udev has to be added to a runlevel to make this work.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Thu Nov 05, 2009 10:57 pm    Post subject: Reply with quote

This is how my system is, as far as udev

Code:
 udev                                                                                                       [ stopped  ]
 udev-dev-tarball                                                                                           [ stopped  ]
 udev-mount                                                                                                 [ stopped  ]
 udev-postmount                                                                                             [ started  ]


They are all listed under the UNASSIGNED area
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Sat Nov 07, 2009 12:23 am    Post subject: Reply with quote

Emptying /proc and /sys on the box in question appears to be the fix.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
mrknowitall
Apprentice
Apprentice


Joined: 02 Feb 2005
Posts: 173

PostPosted: Sat Nov 07, 2009 11:37 am    Post subject: Reply with quote

hi,

had the same error. as suggested in the bugreport, deleting the content of proc and sys solved the problem. i can boot again. i suggest marking this thread as solved, since there is a proper solution. as for the reason itself, the bugreport should remain open.


cheers!

alex
_________________
ignorance is a bless!
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Sat Nov 07, 2009 1:59 pm    Post subject: Reply with quote

Done.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum