Package: prelink
Version: 0.0.20050901-1
Severity: normal
Tags: patch
If user have less than 50MB of free space in /usr partition
prelink will complain saying that prelinking may fail.
It then give choice of prelinking anyway or aborting.
Aborting results in not prelinking anything but returning
error status 0:
[EMAIL PROTECTED]:/tmp# prelink
Partition /dev/hda4 (/) has only 28276 KB free.
!! WARNING !!
It's recommended to have at least 50000 KB of disk space.
Prelink would _really_ damage the ELF files on those partitions.
Do you really want to run prelink? (yes/No): No
Aborting prelink.
[EMAIL PROTECTED]:/tmp# echo $?
0
[EMAIL PROTECTED]:/tmp#
While this may seem non-issue, prelink is executed in
openoffice's postinst (if user wished so). If above situation
happens openoffice postinst script may be fooled into thinking
that prelinking was successful. I think this is wrong.
Patch is trivial:
--- prelink 2006-05-01 18:40:31.000000000 +0200
+++ prelink.fixed 2006-05-01 18:40:51.000000000 +0200
@@ -39,7 +39,7 @@
else
echo
echo "Aborting prelink."
- exit 0
+ exit 1
fi
fi >&2
Thanks.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-alice3
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages prelink depends on:
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libelfg0 0.8.6-3 an ELF object file access library
ii libselinux1 1.30-1 SELinux shared libraries
prelink recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]