[MXS-297] postinstall on debian copies wrong file in /etc/init.d Created: 2015-07-30  Updated: 2015-08-20  Resolved: 2015-08-03

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.2.0
Fix Version/s: 1.3.0

Type: Bug Priority: Trivial
Reporter: Joffrey MICHAIE (Inactive) Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

Hi,

In /usr/share/maxscale/postinst, we copy a file maxscale.conf to /etc/init.d/:

if [ -f "/usr/share/maxscale/maxscale.conf" ]
then
    cp /usr/share/maxscale/maxscale.conf /etc/init.d/
fi

This file contains:

/usr/modules
/usr/lib

I think this file is supposed to go somewhere else, like /etc/ld.so.conf.d

Also, more general, /usr/modules doesn't exist and doesn't contain shared libraries, as far as I know.
And /usr/lib is like a default as well. I have never seen these kind of dependencies for a program...

What is the purpose of this postinstall step ?

Thanks,
Joffrey



 Comments   
Comment by markus makela [ 2015-08-03 ]

Fixed the installation destination to /etc/ld.so.conf.d

Generated at Thu Feb 08 03:58:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.