Bug 299614 - /boot/grub/menu.lst loses entries on update
Summary: /boot/grub/menu.lst loses entries on update
Status: RESOLVED DUPLICATE of bug 309837
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: i386 openSUSE 10.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Alexander Osthof
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 23:22 UTC by Gerald Pfeifer
Modified: 2007-09-14 11:15 UTC (History)
2 users (show)

See Also:
Found By: Product Management
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
This should contain the logs from the relevant point int time (for my system) (596.33 KB, application/x-gzip)
2007-08-13 09:23 UTC, Gerald Pfeifer
Details
...but for the sake of completness I'm also attaching later logs (416.67 KB, application/x-gzip)
2007-08-13 09:24 UTC, Gerald Pfeifer
Details
YaST2-log (1.31 MB, text/plain)
2007-08-13 09:25 UTC, Jens Nixdorf
Details
second logfile from /var/log/YaST2 (11.37 KB, text/plain)
2007-08-13 09:26 UTC, Jens Nixdorf
Details
third and last logfile from /var/log/YaST2 (3.90 KB, text/plain)
2007-08-13 09:27 UTC, Jens Nixdorf
Details
/var/log/YaST2/perl-BL-standalone-log (14.43 KB, application/octet-stream)
2007-08-13 10:08 UTC, Gerald Pfeifer
Details
config_diff_2007_08_11.log (1.07 KB, text/plain)
2007-08-13 12:24 UTC, Jens Nixdorf
Details
inst_rpmcopy_post.sh.log (169 bytes, text/plain)
2007-08-13 12:24 UTC, Jens Nixdorf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2007-08-11 23:22:36 UTC
When updating from FACTORY as of mid last week (2008-08-07 or so) to
today's version (2008-08-11) via "yast sw_single" and "Update package
if newer version available" an entry I had manually added there to 
boot a copy of 10.2 on the same machine simply got lost.

The entry looked like 

title openSUSE 10.2 - 2.6.18.8-0.5
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.18.8-0.5-default root=/dev/hda2 vga=0x317 resume=/dev/hda1 splash=silent showopts
    initrd /boot/initrd-2.6.18.8-0.5-default

at the end of /boot/grup/menu.lst and I believe it did not have one of
those lines starting with "###" above it.

(YaST logs did not provide anything useful when grepping for "grub" or
"kernel".  Probably some post-install scripts?)
Comment 1 Jens Nixdorf 2007-08-12 17:05:13 UTC
Not all entries will be deleted, as an example: 

In my case i had five entries in my old menu.lst, one for openSUSE, debian, Windows, Failsafe openSUSE and memtest86 . After Update from openSUSE Alpha 7 to Beta 1 via YaST Factory Update i had also five entries, but two for openSUSE (default and big-smp) and two for Failsafe openSUSE (default and big-smp) and still one for Windows. The entries for debian and memtest86 were erased completely (not only commented out). 
And like the original poster states: no entry with "grub" or "menu.lst" in any log within /var/log/YaST2.

Comment 2 Stefan Fent 2007-08-13 06:53:20 UTC
Can you please add the yast2-logs?
Comment 3 Gerald Pfeifer 2007-08-13 09:23:22 UTC
Created attachment 157023 [details]
This should contain the logs from the relevant point int time (for my system)
Comment 4 Gerald Pfeifer 2007-08-13 09:24:15 UTC
Created attachment 157024 [details]
...but for the sake of completness I'm also attaching later logs

Jens, please also provide your logs in addition nevertheless!
Comment 5 Jens Nixdorf 2007-08-13 09:25:47 UTC
Created attachment 157025 [details]
YaST2-log

After the above described update i tried several times to configure a wireless network chip, so maybe there is some useless info in these logs for this special bug.
Comment 6 Jens Nixdorf 2007-08-13 09:26:40 UTC
Created attachment 157026 [details]
second logfile from /var/log/YaST2
Comment 7 Jens Nixdorf 2007-08-13 09:27:44 UTC
Created attachment 157027 [details]
third and last logfile from /var/log/YaST2
Comment 8 Stefan Fent 2007-08-13 10:01:07 UTC
Hmm - there should be a /var/log/YaST2/perl-BL-standalone-log logfile,
if the update >= Beta1, if not booted off of CD.
This is the one I need, as this is done by perl-Bootloader, not YaST
Comment 9 Gerald Pfeifer 2007-08-13 10:08:40 UTC
Created attachment 157036 [details]
/var/log/YaST2/perl-BL-standalone-log

I guess this explains why haven't seen anything in the regular YaST
log files. ;-)

One question: the regular log files are rw-r--r-- while this one is
just rw-------.  How about making it rw-r--r-- as well?  Or is there
sensitive data here?  In that case rather not...
Comment 10 Stefan Fent 2007-08-13 10:59:11 UTC
This logfile only shows an update from 2.6.22.1-14 -> 2.6.22.1.16
At this stage, there is no 10.2 entry anymore.

Assigning to perl-Bootloader maintainer
Comment 11 Jens Nixdorf 2007-08-13 12:24:30 UTC
Created attachment 157051 [details]
config_diff_2007_08_11.log

Sorry, i suppressed two logfiles, coz i thought (and i'm still doing so) that they havent any interesting info regarding this bug. But you have the knowledge and i dont want to be a brake, so here comes two more logfiles from /var/log/YaST2 and thats really the whole content of this drectory.

regards, Jens
Comment 12 Jens Nixdorf 2007-08-13 12:24:56 UTC
Created attachment 157052 [details]
inst_rpmcopy_post.sh.log
Comment 13 Torsten Duwe 2007-09-14 11:15:15 UTC

*** This bug has been marked as a duplicate of bug 309837 ***