** Description changed: + [Impact] + + * php-smbclient installs its .ini file in a non-standard location and + thus will not be available to the PHP7.0 core. + + + [Test Case] + + * Install php-smbclient, see if the smbclient.ini file is in /etc/php + /mods-available/ (incorrect) or /etc/php/7.0/mods-available/ (correct). + + [Regresion Potential] + + * The primary chance for regression is if a user edited /etc/php/mods- + available/smbclient.ini but didn't realize the file was still being + used. In that case, dpkg will notice the obsolete conffile is modified + and save it as /etc/php/mods-available/smbclient.ini.dpkg-bak and the + user can copy the contents to the correct location (which will be + created from the package defaults). I believe this is fairly unlikely + and has a clear workaround. + + * If a user manually copied the ini file to the correct location, and + edited it, the rebuilt package should not modify it. + + -- + Hello. I have php 7.0 installed. I installed php-smbclient but it gives an error that /etc/php/7.0/mods-available/smbclient.ini is missing. It turns out that the php-smbclient package installs the file in /etc/php/mods-available/smbclient.ini. To fix I had to copy /etc/php/mods-available/smbclient.ini to /etc/php/7.0/mods-available/smbclient.ini and then re-install php- smbclient. Thank you! _Nacho
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579034 Title: installs smbclient.ini to wrong directory when used with php 7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php-smbclient/+bug/1579034/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
