Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: Emerging SILO overwrites silo.conf??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Thu Mar 02, 2006 8:09 pm    Post subject: SOLVED: Emerging SILO overwrites silo.conf?? Reply with quote

Ignore below... I'm a fool and didn't see it in etc update (I usually just lok for etc/conf.d/* changes ).

My Bad.

_____________________________________________________________________________


Hi there,

This has happened a number of times to me.... When I emerge, or re-emerge SILO, it seems to overwrite the /etc/silo.conf. It does not make use of etc-update, it simply overwrites the file. This is annoying if you have kernels named "gentoo-sparc--2.4.32-r1" in /boot because... well, it's often hard to remember exactly what the kernel name was when a reboot fails. So I end up booting from a livecd, looking at the 3 kernels I have in /boot, and rebuilding the silo.conf.

Has anyone else experienced this? I will look to see if a bug has been filed, and will file one if this seems to be a problem that nobody has reported yet.

Thanx Muchly,
Frank Russo
Back to top
View user's profile Send private message
mightyhal
n00b
n00b


Joined: 30 Jan 2006
Posts: 15

PostPosted: Fri Mar 10, 2006 3:38 am    Post subject: Not very nice behavior Reply with quote

I've overwritten my /etc/silo.conf several times... I suppose I need to be more careful when etc-updating, but to be honest, I still don't understand why it is set to update my silo.conf file anyway--the conf file it puts in there is huge, with tons of comments and is never right for anyone's setup...

A far more graceful way would be to have an emerge of silo name the file silo.conf.example, since no one needs the silly thing as their actual silo.conf anyway. And it'd make it harder to overwrite silo.conf... which is a pain to fix =)
_________________
MightyHal
---
Sun Blade 1000 dual 900 MHz...
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Fri Mar 10, 2006 2:17 pm    Post subject: Reply with quote

Sucks, doesn't it? 8O

Whenever I think of it I try to keep copies of critical files (silo.conf, fstab....) stored in rcs or cvs depending on what's available. It may not be the best solution but it has saved me before.
_________________
Go away or I will replace you with a very small shell script.
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Sat Mar 11, 2006 11:55 pm    Post subject: Reply with quote

As a workaround, you can copy your working silo.conf to /boot and silo -c /boot/silo.conf -f or something. This way, /etc/silo.conf can change all it wants, and as long as the format stays the same, you're all good. Thoughts?

Frank
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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