Red Hat Bugzilla – Bug 25368
Last modified: 2005-10-31 17:00:50 EST
While upgrading from Redhat 6.2 to 7.0 the installation produce the
following. I cannot get the system to boot because of this. HELP!
Traceback (innermost last):
line 20, in run
rc = self.todo.doInstall ()
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1732, in
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/lilo.py", line 247, in
instRoot + '/etc/lilo.conf.rpmsave')
OSError: [Errno 1] Operation not permitted
Local variables in innermost frame:
self: <lilo.LiloConfiguration instance at 8426de8>
fstab: <fstab.GuiFstab instance at 83ae050>
hdList: <comps.HeaderListFromFile instance at 84a0a80>
Do you have the emergency boot floppy that the installer allows you to create?
Yes, to both your questions.
However, I solved the problem.
Due to security concerns, I had chattr the file /etc/lilo.conf.
chattr +i lilo.conf
so the install script couldn't update the kernel info in /etc/lilo.conf
When I chattr -i lilo.conf and re-upgraded everything seemed to work
Shame that the install script doesn't check the attributes of the files it
is trying to write to and issue warnings/error messages.
RPM under 6.2. didn't warn about this either. This was actually where my probs
began. I was trying to upgrade the kernel.
Ok glad you were able to resolve your problem.