File system re-created existing files/directories over existing file/directories. Original directories were hidden instead of removed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Lucid |
Invalid
|
High
|
Unassigned | ||
Maverick |
Invalid
|
High
|
Unassigned | ||
Natty |
Invalid
|
High
|
Unassigned | ||
Oneiric |
Invalid
|
High
|
Unassigned | ||
Precise |
Expired
|
High
|
Unassigned |
Bug Description
I have to apologize in advance, because I don't know the exact steps that caused this problem. This is also the first time I've filed a bug report like this. I did a round of upgrades a few days ago using the update-manager. One of the updates was to kernel "2.6.32-
After finally rebooting, I logged in, and most of my "common" files were missing (Documents, Pictures, .local, etc). My account was acting like it was newly created. Default menus, no Desktop icons, etc. It's worth mentioning that I also use ecryptfs.
After freaking out, starting to restore from backups, etc, I realized that when I rmdir'd ~/Documents, ~/Documents still existed, and the old/new ~/Documents had all my missing stuff. I cleared up a few more directories that way and magically "recovered" those missing files. I'm stopping before cleaning everything up, so I can file this report.
Here's an example problematic directory.
eah@spike:~$ ls -d .xine
.xine
eah@spike:~$ ls -d .xine*
.xine .xine
eah@spike:~$ ls -dq .xine*
.xine .xine
eah@spike:~$ ls -dql .xine*
drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
eah@spike:~$ ls -dql .xine* -i
40632959 drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
40632959 drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
eah@spike:~$ ls -qlif .xine*
.xine:
40633015 catalog.cache 40632959 . 23724036 ..
.xine:
40633015 catalog.cache 40632959 . 23724036 ..
eah@spike:~$ mkdir wtf
eah@spike:~$ mv -v .xine wtf
`.xine' -> `wtf/.xine'
eah@spike:~$ ls -dql .xine* -i
25691024 drwxr-xr-x 3 eah eah 4096 2012-03-07 11:54 .xine
eah@spike:~$ ls -la wtf
total 48
drwxr-xr-x 3 eah eah 4096 2012-03-11 19:05 .
drwx--x--x 101 eah eah 36864 2012-03-11 19:05 ..
drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
eah@spike:~$ ls -lai wtf
total 48
24515780 drwxr-xr-x 3 eah eah 4096 2012-03-11 19:05 .
23724036 drwx--x--x 101 eah eah 36864 2012-03-11 19:05 ..
40632959 drwxr-xr-x 2 eah eah 4096 2012-03-08 20:27 .xine
Using "find | sort | uniq -cd", I can easily find all the other problematic directories. I've attached that as "duplicate_inodes".
affects: | ubuntu → ecryptfs-utils (Ubuntu) |
tags: | added: lucid |
tags: | added: lucid2precise rls-mgr-p-tracking |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/952622/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]