← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1579034] Re: installs smbclient.ini to wrong directory when used with php 7

 

This bug was fixed in the package php-smbclient - 0.8.0~rc1-2build1

---------------
php-smbclient (0.8.0~rc1-2build1) xenial; urgency=medium

  * No-change rebuild to fix conffile location with updated dh-php
    (LP: #1579034).
    - No maintscript is needed, as dh-php handles this already.

 -- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx>  Thu, 20 Oct
2016 16:41:07 -0700

** Changed in: php-smbclient (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1579034

Title:
  installs smbclient.ini to wrong directory when used with php 7

Status in php-smbclient package in Ubuntu:
  Fix Released
Status in php-smbclient source package in Xenial:
  Fix Released

Bug description:
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-smbclient/+bug/1579034/+subscriptions