reopen 599273
thanks
Daniel Baumann wrote:
> Robert Edmonds <[email protected]> wrote:
> > the squeeze version of extlinux installs the /etc/kernel/*.d/zz-
> > extlinux files mode 0644
>
> no, it doesn't. i just, again, re-checked it.
did you check more than just i386? the extlinux package on
squeeze/amd64 does not install its kernel post-hooks with the correct
permissions.
root@zappa{0}:~# schroot -c debian-6.0-i386
(debian-6.0-i386)root@zappa:~# cat /etc/debian_version
6.0
(debian-6.0-i386)root@zappa:~# apt-cache policy extlinux
extlinux:
Installed: (none)
Candidate: 2:4.02+dfsg-7
Version table:
2:4.02+dfsg-7 0
500 http://mirrors.kernel.org/debian/ stable/main i386 Packages
(debian-6.0-i386)root@zappa:~# ls -l /etc/kernel/*.d/zz-extlinux
ls: cannot access /etc/kernel/*.d/zz-extlinux: No such file or directory
(debian-6.0-i386)root@zappa:~# apt-get install extlinux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
syslinux-common syslinux-themes-debian
The following NEW packages will be installed:
extlinux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.7 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org/debian/ stable/main extlinux i386
2:4.02+dfsg-7 [84.7 kB]
Fetched 84.7 kB in 0s (232 kB/s)
Preconfiguring packages ...
Selecting previously deselected package extlinux.
(Reading database ... 10282 files and directories currently installed.)
Unpacking extlinux (from .../extlinux_2%3a4.02+dfsg-7_i386.deb) ...
Setting up extlinux (2:4.02+dfsg-7) ...
P: Checking for EXTLINUX directory... found.
ls: cannot access vmlinuz-*: No such file or directory
(debian-6.0-i386)root@zappa:~# ls -l /etc/kernel/*.d/zz-extlinux
----vvvvvvvvvv
-rwxr-xr-x 1 root root 156 Aug 3 2010 /etc/kernel/postinst.d/zz-extlinux
-rwxr-xr-x 1 root root 156 Aug 3 2010 /etc/kernel/postrm.d/zz-extlinux
----^^^^^^^^^^
note correct permissions
(debian-6.0-i386)root@zappa:~#
root@zappa{0}:~# schroot -c debian-6.0-amd64
(debian-6.0-amd64)root@zappa:~# cat /etc/debian_version
6.0
(debian-6.0-amd64)root@zappa:~# apt-cache policy extlinux
extlinux:
Installed: (none)
Candidate: 2:4.02+dfsg-7
Version table:
2:4.02+dfsg-7 0
500 http://mirrors.kernel.org/debian/ stable/main amd64 Packages
(debian-6.0-amd64)root@zappa:~# ls -l /etc/kernel/*.d/zz-extlinux
ls: cannot access /etc/kernel/*.d/zz-extlinux: No such file or directory
(debian-6.0-amd64)root@zappa:~# apt-get install extlinux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
syslinux-common syslinux-themes-debian
The following NEW packages will be installed:
extlinux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 85.4 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org/debian/ stable/main extlinux amd64
2:4.02+dfsg-7 [85.4 kB]
Fetched 85.4 kB in 0s (0 B/s)
Preconfiguring packages ...
Selecting previously deselected package extlinux.
(Reading database ... 54706 files and directories currently installed.)
Unpacking extlinux (from .../extlinux_2%3a4.02+dfsg-7_amd64.deb) ...
Processing triggers for man-db ...
Setting up extlinux (2:4.02+dfsg-7) ...
(debian-6.0-amd64)root@zappa:~# ls -l /etc/kernel/*.d/zz-extlinux
----vvvvvvvvvv
-rw-r--r-- 1 root root 156 Oct 14 23:37 /etc/kernel/postinst.d/zz-extlinux
-rw-r--r-- 1 root root 156 Oct 14 23:37 /etc/kernel/postrm.d/zz-extlinux
----^^^^^^^^^^
note incorrect permissions
(debian-6.0-amd64)root@zappa:~#
--
Robert Edmonds
[email protected]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]