Removes trailing newline from /etc/fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Critical
|
Michael Vogt | ||
Intrepid |
Fix Released
|
Critical
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
The dist ugprader tarball includes the following:
if replaced:
This will write a new copy of /etc/fstab _WITHOUT_ the final newline (it only puts newlines between the existant lines).
Removing the final newline means that the shell code in several places that tries to parse /etc/fstab will fail, in particular this will mean:
- if the last entry is a swap partition, it will not be activated
- if the last entry is an ordinary partition, it will not be checked (and may not be mounted!)
- if the last entry is an NFS mount, it will not be mounted
While you could argue those are bugs in themselves, it would be nice if the dist-upgrader didn't cause them :p
Changed in update-manager: | |
assignee: | nobody → mvo |
importance: | Undecided → Critical |
milestone: | none → ubuntu-8.10 |
Changed in update-manager: | |
status: | New → In Progress |
This bug was fixed in the package update-manager - 1:0.93.20
---------------
update-manager (1:0.93.20) intrepid; urgency=low
* DistUpgrade/ DistUpgradeGett ext.py: DistUpgradeQuir ks.py:
- translated the empty "" into "" (the qt frontend
may call this on empty strings in translate_widget)
* DistUpgrade/
- make sure to write a final newline in /etc/fstab
when adding the relatime option (LP: #279093)
-- Michael Vogt <email address hidden> Tue, 07 Oct 2008 10:42:13 +0200