[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717693: apache2: make possible to use "apache2_invoke disconf" in postinst



Package: apache2
Version: 2.4.6-2
Severity: normal

Dear maintainers,

While trying to fix #669803 (Sympa package) I noticed that it's not possible
to use "apache2_invoke disconf" from the postinst script.

Sympa is shipped with a web interface and a SOAP web service. In order to
switch to apache 2.4, we will provide the following configuration
files:
 - /etc/apache2/conf-available/sympa.conf
 - /etc/apache2/conf-available/sympa-soap.conf

(They were previously located in /etc/sympa with symlinks from
/etc/apache2/conf.d/)

Historically, we had a debconf question asking to enable or not the SOAP
webservice. It means that we need to be able to 'enconf' or 'disconf'
sympa-soap.conf from the postinst but it's not possible using the
apache2_invoke helper.

Is there a reason why "apache2_invoke disconf" is disabled in postinst?

Is it possible to enable it?


Thanks for your answers.

Regards,


-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-bin   2.4.6-2
ii  apache2-data  2.4.6-2
ii  lsb-base      4.1+Debian12
ii  mime-support  3.54
ii  perl          5.14.2-21
ii  procps        1:3.3.8-2

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2 suggests:
pn  apache2-doc              <none>
ii  apache2-suexec-pristine  2.4.6-2
ii  apache2-utils            2.4.6-2
ii  lynx-cur [www-browser]   2.8.8dev.15-2

Versions of packages apache2-bin depends on:
ii  libapr1                  1.4.8-1
ii  libaprutil1              1.5.2-1
ii  libaprutil1-dbd-sqlite3  1.5.2-1
ii  libaprutil1-ldap         1.5.2-1
ii  libc6                    2.17-7
ii  libcap2                  1:2.22-1.2
ii  libldap-2.4-2            2.4.31-1+nmu2
ii  liblua5.1-0              5.1.5-4
ii  libpcre3                 1:8.31-2
ii  libssl1.0.0              1.0.1e-3
ii  libxml2                  2.9.1+dfsg1-2
ii  perl                     5.14.2-21
ii  zlib1g                   1:1.2.8.dfsg-1

Versions of packages apache2-bin suggests:
pn  apache2-doc              <none>
ii  apache2-suexec-pristine  2.4.6-2
ii  lynx-cur [www-browser]   2.8.8dev.15-2

Versions of packages apache2 is related to:
ii  apache2      2.4.6-2
ii  apache2-bin  2.4.6-2

-- no debconf information


Reply to: