FS#19309 - upgrading the kernel -> nonworking system

Attached to Project: Arch Linux
Opened by azure (azure) - Saturday, 01 May 2010, 09:14 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 02 May 2010, 14:53 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The test case is really simple. If i have /boot on another partition and if i do not want /boot to be mounted automatically (e.g. i have noauto param in /etc/fstab) then kernel upgrade breaks the system. The solution is to mount /boot BEFORE upgrading the kernel. But it's so easy to forget... I guess kernel install script should check if /boot can be mounted and mount it if needed.


Additional info:
* package version(s)
kernel26
* config and/or log files etc.


Steps to reproduce:
while installing arch separate the /boot to another partition and make it not to mount automatically. Next kernel upgarade will break everything
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 02 May 2010, 14:53 GMT
Reason for closing:  Won't implement
Comment by Corrado Primier (bardo) - Saturday, 01 May 2010, 12:13 GMT
I don't understand why you filed such a request: you customized your system and you're asking Arch to adapt to your preferences? I think it's just wrong.
Comment by Pierre Schmitz (Pierre) - Saturday, 01 May 2010, 12:41 GMT
I agree, this is pretty much your own fault.
Comment by azure (azure) - Saturday, 01 May 2010, 17:03 GMT
Well, probably. Some linux distributions allow or advice to make separate partition for /boot and it seems to be a good thing cause in that case boot-critical files is located on separate partition that is not normally mounted (because in most cases nobody needs boot files). This makes system more stable to file-system errors and allows to have root filesystem that is not supported bu grub but is supported by kernel. If i remember correctly, ubuntu handles such situation correctly.
Comment by Brian Astrup Mikkelsen (DivineAnt) - Sunday, 02 May 2010, 13:55 GMT
I would say that arch allready has a feature to handle your problem
Put kernel26 in HoldPkg in pacman.conf, and pacman will notify you whenever it wants to upgrade kernel26
Comment by Tobias Powalowski (tpowa) - Sunday, 02 May 2010, 14:52 GMT
NoUpgrade is the correct option for this, i close this with won't implement.
You decided to configure your system like this.

Loading...