should not remove ecryptfs-utils when in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson | ||
user-setup (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Binary package hint: ubiquity
I installed today's image (2009-04-15, amd64, Ubuntu) on my desktop, with manual partitioning. I re-used my existing /home, which uses ecryptfs for two users.
ubiquity tried to remove ecryptfs-utils, which failed:
Apr 15 10:05:49 ubuntu ubiquity: Entferne ecryptfs-utils ...
Apr 15 10:05:50 ubuntu ubiquity: ERROR: Cannot remove ecryptfs-utils, as it appears to be in use:
Apr 15 10:05:50 ubuntu ubiquity: [/home/
Apr 15 10:05:53 ubuntu ubiquity: dpkg: Fehler beim Bearbeiten von ecryptfs-utils (--purge):
Apr 15 10:05:53 ubuntu ubiquity: Unterprozess pre-removal script gab den Fehlerwert 1 zurück
But even after failure, it removed its dependencies, which left the installed system in a broken state:
Apr 15 10:06:01 ubuntu ubiquity: dpkg: libecryptfs0: Abhängigkeitspr
Apr 15 10:06:01 ubuntu ubiquity: ecryptfs-utils hängt ab von libecryptfs0 (>= 48).
Apr 15 10:06:01 ubuntu ubiquity: Entferne libecryptfs0 ...
Apr 15 10:06:01 ubuntu ubiquity: Lösche Konfigurationsd
Apr 15 10:06:01 ubuntu ubiquity: dpkg: keyutils: Abhängigkeitspr
Apr 15 10:06:01 ubuntu ubiquity: ecryptfs-utils hängt ab von keyutils; aber:
Apr 15 10:06:01 ubuntu ubiquity: Paket keyutils soll entfernt werden.
Apr 15 10:06:01 ubuntu ubiquity: Entferne keyutils ...
Apr 15 10:06:02 ubuntu ubiquity: Lösche Konfigurationsd
Thus now I still had ecryptfs-utils installed, but keyutils and libecryptfs0 were gone, which meant that I could not log in.
In the installation log I also noticed several lines like
Apr 15 09:50:55 ubuntu python: Not copying usr/lib/
Does that mean it suppresses the copying of ecryptfs stuff at all?
affects: | ubiquity (Ubuntu) → user-setup (Ubuntu) |
Changed in user-setup (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in user-setup (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in ubiquity (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: iso-testing |
This bug was fixed in the package user-setup - 1.23ubuntu19
---------------
user-setup (1.23ubuntu19) jaunty; urgency=low
* Install ecryptfs-utils if it's already in use by users on an existing
/home (LP: #361627).
-- Colin Watson <email address hidden> Wed, 15 Apr 2009 12:29:32 +0100