phpmyadmin service is not published by Avahi

Bug #1293558 reported by Bruno Nova on 2014-03-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)

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).

Launchpad Janitor (janitor) wrote :

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

Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
Brad Erickson (eosrei) wrote :

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers