Bug 19541

Summary: RFE: Handle files modified by upgrade which are marked immutable
Product: [Retired] Red Hat Linux Reporter: lj herman <yonebone>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-14 04:13:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lj herman 2000-10-22 09:38:28 UTC
dump from anaconda on install .....

My system is down .... I am going to try to install LILO by hand ..

Please let me know when this might be fixed or how to proceed


Traceback (innermost last):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", 
line 20, in run
    rc = self.todo.doInstall ()
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1732, in 
doInstall
    self.upgrade)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/lilo.py", line 247, in 
install
    instRoot + '/etc/lilo.conf.rpmsave')
OSError: [Errno 1] Operation not permitted

Local variables in innermost frame:
self: <lilo.LiloConfiguration instance at 842ef88>
fstab: <fstab.GuiFstab instance at 8491b50>
lilo: #
#Bastille note: this file is normally installed with
#the ext2 "immutable" bit set to prevent editing.
#If you need to edit it, use "chattr" to unset the
#immutable bit first, then re-set the bit once you
#are done.
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.12-20
	label=linux
	initrd=/boot/initrd-2.2.12-20.img
	read-only
	root=/dev/hda1

perms: 384
upgrade: 1
hdList: <comps.HeaderListFromFile instance at 8482768>
instRoot: /mnt/sysimage

ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'progressWindow'
p6

<failed>

Comment 1 Alan Cox 2000-10-27 16:33:15 UTC
Anaconda does not handle people who mark lilo.conf immutable. Interesting one. I
agree we should try and handle it


Comment 2 Michael Fulbright 2000-10-30 19:19:59 UTC
I will make this an enhancement request.

If you have a registration number for your product then Red Hat technical
support should be able to help you get your system booting again.