FS#33930 - [avahi] missing backups

Attached to Project: Arch Linux
Opened by Brian BIdulock (bidulock) - Tuesday, 19 February 2013, 10:42 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 20 February 2013, 02:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There are two user-editable files that are missing from
backups:

usr/share/avahi/service-types
usr/lib/avahi/service-types.db

Please add these to files to backups in PKGBUILD.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

change /usr/share/avahi/service-types

reinstall package
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 20 February 2013, 02:16 GMT
Reason for closing:  Implemented
Additional comments about closing:  in SVN
Comment by Gaetan Bisson (vesath) - Tuesday, 19 February 2013, 12:53 GMT
To the best of my knowledge, /usr/share/avahi/service-types is not meant to be modified (and /usr/lib/avahi/service-types.db is binary, so definitely not). Updates to service-types should go upstream. Or you need to give me a very good reason why you would want to make local changes.
Comment by Brian BIdulock (bidulock) - Tuesday, 19 February 2013, 14:04 GMT
/usr/share/avahi/service-types says

# Feel free to add more service types or translations to this database.

and has a very sparse list of service types and descriptions (and fewer
translations). There are as many types and descriptions as there are
entries in /etc/services. Without additions, services such as _snmp._udp
show up with no description in the browser.

/usr/lib/avahi/service-types.db

is a simple GDBM database version of /usr/share/avahi/service-types and
changing the former without changing the later is pointless.

I can add descriptions and translations from IANA database to both, but
they will be overwritten by a package upgrade of avahi. There is no config
file that can tell avahi utilities where to find descriptions.

Please add to backups.
Comment by Gaetan Bisson (vesath) - Wednesday, 20 February 2013, 02:15 GMT
Alright. I've implemented this in SVN and this will be available as part of the qt5 rebuild (currently in [staging]) when it moves to [testing] and then [extra].

Loading...