Routine fsck deactivates swap, changing UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Ubuntu 6.10, all updates installed
On starting up my computer, Ubuntu began a routine fsck (30 startups since the previous one). Once it had done that, it failed to mount the swap partition, and neither "swapon -a" nor restarting could bring it back.
Fabian Rodriguez helped me diagnose the problem. /etc/fstab said:
proc /proc proc defaults 0 0
# /dev/hda1 -- converted during upgrade to edgy
UUID=08cd8430-
# /dev/hda5 -- converted during upgrade to edgy
UUID=cab9c968-
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
But "ls -l /dev/disk/by-uuid" said:
total 0
lrwxrwxrwx 1 root root 10 2007-03-08 09:55 08cd8430-
lrwxrwxrwx 1 root root 10 2007-03-08 09:55 2b2b6707-
After editing /etc/fstab so that the hda5 partition matched that given by /dev/disk/by-uuid, "swapon -a" worked.
What was expected: fsck either should not change the UUIDs of partitions, or should change them in fstab too.
This is not a duplicate of bug 66637, because I haven't run "mkswap" in the past year or so.
description: | updated |
description: | updated |
Changed in util-linux: | |
importance: | Medium → High |
Can someone confirm the package affected ?