https://bugzilla.novell.com/show_bug.cgi?id=653513
https://bugzilla.novell.com/show_bug.cgi?id=653513#c3
Max M changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |max_m@bk.ru
--- Comment #3 from Max M 2011-02-03 11:32:38 UTC ---
As I see, the root cause of this issue is that 'bacula-director-mysql' and
other RPMs contain zero-sized binaries packaged inside RPM file:
-rwxr-xr-x 1 root root 0 Feb 1 14:44 bacula-dir
-rwxr-xr-x 1 root root 964367 Feb 1 14:44 bacula-dir.mysql
-rwxr-xr-x 1 root root 0 Feb 1 14:44 dbcheck
-rwxr-xr-x 1 root root 436831 Feb 1 14:44 dbcheck.mysql
And following post-install script will _not_ overwrite existing zero-sized
files. However, if zero-sized files are not packaged into RPM, it will create
correct symlinks.
/usr/sbin/update-alternatives --install \
/usr/sbin/bacula-dir bacula-dir /usr/sbin/bacula-dir.mysql 50
So, the solution looks like not include zero-sized binaries into RPM package.
Moreover, to fix the issue on the installed base, postinstall script should
remove existing zero-sized files first.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.