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

Re: Bug#675613: debiandoc-sgml: Does not register itself in /etc/sgml/catalog



Hi Guillem,

Thanks for your quick and helpful response.

On Sat, Jun 02, 2012 at 11:55:48PM +0200, Guillem Jover wrote:
> So on first thought, I think the solution would be to make dpkg
> activate file triggers for the parent directories on configure so that
> this case is handled correctly. In fact when looking to refactor some
> of the triggers code some time ago I came across the missing upwards
> trigger activation, and was already considering doing exactly this, but
> did not think through about the consequences, I guess that means I was
> on the right track back then.

This sounds good. At least in the sgml-base case the behaviour should
completely solve the issue. Please tell me if I can assist with this
change.

Jakub Wilk was kind enough to run some grep[1] on the lintian lab for
me, so I can give an updated list of packages declaring trigger interest
in conffiles. The new list is:

menu				interest /etc/menu-methods
libapache2-mod-php5		interest /etc/php5/conf.d
libapache2-mod-php5filter	interest /etc/php5/conf.d
readahead-fedora		interest /etc/init.d
sgml-base			interest /etc/sgml
ufw				interest /etc/ufw/applications.d
xfonts-traditional		interest /etc/X11/app-defaults/XTerm
xfonts-traditional		interest /etc/X11/fonts/misc/xfonts-base.alias

Note that the php5 case is special, because a number of packages
explicitly activate the trigger.

Helmut

[1] grep /etc /srv/lintian.debian.org/laboratory/pool/*/*/*_binary/control/triggers
    See attached.
cracklib-runtime_2.8.19-1_i386_binary/control/triggers:# These are the directories listed in the default /etc/cracklib/cracklib.conf
man-db_2.6.1-2_i386_binary/control/triggers:# /etc/manpath.config so we register interest in them for completeness.
menu_2.1.46_i386_binary/control/triggers:interest /etc/menu-methods
libapache2-mod-php5_5.4.4~rc2-1_i386_binary/control/triggers:interest /etc/php5/conf.d
libapache2-mod-php5filter_5.4.4~rc2-1_i386_binary/control/triggers:interest /etc/php5/conf.d
php5-common_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-curl_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-enchant_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-fpm_5.4.4~rc2-1_i386_binary/control/triggers:interest /etc/php5/conf.d
php5-gd_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-gmp_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-imap_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-interbase_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-intl_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-ldap_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-mcrypt_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-mysql_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-mysqlnd_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-odbc_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-pgsql_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-pspell_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-recode_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-snmp_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-sqlite_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-sybase_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-tidy_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-xmlrpc_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
php5-xsl_5.4.4~rc2-1_i386_binary/control/triggers:activate /etc/php5/conf.d
readahead-fedora_2_1.5.6-4_i386_binary/control/triggers:interest /etc/init.d
sgml-base_1.26+nmu3_all_binary/control/triggers:interest /etc/sgml
ufw_0.31.1-1_all_binary/control/triggers:interest /etc/ufw/applications.d
xfonts-traditional_1.4_all_binary/control/triggers:interest /etc/X11/app-defaults/XTerm
xfonts-traditional_1.4_all_binary/control/triggers:interest /etc/X11/fonts/misc/xfonts-base.alias

Reply to: