phpmyadmin service is not published by Avahi

Bug #1293558 reported by Bruno Nova
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The phpmyadmin package adds, during installation (in the debian/postint script), the link /etc/avahi/services/phpmyadmin.service pointing to ../../phpmyadmin/phpmyadmin.service.
This is so Avahi publishes the PHPMyAdmin service in the network.

However, it's not working (tested in Saucy).
The problem is that, according to the Avahi log messages in /var/log/syslog, the Avahi daemon is running in a chroot, so symbolic links there won't work.

Therefore, the installation of the .service file must be done by copying the file instead of linking it (replace "ln -s" by "cp" in debian/postint in the avahi_install() function).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Erickson (eosrei) wrote :

I replaced the symbolic link with the actual file and phpMyAdmin now shows up in avahi-discover.

Revision history for this message
William Desportes (williamdes) wrote :
Changed in phpmyadmin (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
William Desportes (williamdes) wrote :
Changed in phpmyadmin (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.