[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Daniel J Blueman
A candidate fix is to pass the vmlinuz-3.11.0-12-generic (or whatever) filename into the test_relative() function for the 'Test File' parameter, when it's called for the non-existent initrd.img-* file, since the vmlinuz is guaranteed to be present. -- You received this bug notification because

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Daniel J Blueman
apport information ** Tags added: apport-collected saucy staging ** Description changed: When the linux-image package is installed, it creates symlinks from the root directory: # ls -l / initrd.img - /boot/initrd.img-3.11.0-13-generic vmlinuz - boot/vmlinuz-3.11.0-13-generic

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Daniel J Blueman
Just for the record, viewing the report data crashed apport-collect: root@zbox:~# apport-collect 1248053 ... The collected information can be sent to the developers to improve the application. This might take a few minutes. ..dpkg-query: no packages found matching linux ... *** Send problem

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Andy Whitcroft
@Daniel -- that 'V' view bug should be reported against apport, that is rather, sad. I think you are saying that if the file already exists then the linking code will emit a non-absolute link, if it is missing then an absolute one. I think this is born out by my system which clearly has a

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Andy Whitcroft
This actually occurs because test_relative() as used in the really_move_link() call will fail as the destination file actually does not exist, triggering a failure in that incantation. This also highlights we are going to incorrectly indicate that the link is dandling in the case of installing

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Andy Whitcroft
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Andy Whitcroft (apw) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248053

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Daniel J Blueman
I don't think it's directly related, but I also see the umask not being consistent: $ ls -l boot/ total 42968 -rw-r--r-- 1 root root 1005798 Oct 10 00:49 abi-3.11.0-12-generic -rw-r--r-- 1 root root 1003704 Nov 4 08:44 abi-3.12.0-031200-generic -rw-r--r-- 1 root root 163251 Oct 10 00:49

[Bug 1248053] Re: initrd.img symlink is absolute

2013-11-05 Thread Andy Whitcroft
** Also affects: linux (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Saucy) Status: New = Triaged ** Changed in: linux (Ubuntu Saucy) Importance: Undecided = Medium ** Changed in: linux (Ubuntu Saucy) Assignee: (unassigned) = Andy