Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188719 - net-dns/avahi - avahi-daemon starts after netmount
Summary: net-dns/avahi - avahi-daemon starts after netmount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-13 15:11 UTC by Peter Budny
Modified: 2007-09-09 20:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Budny 2007-08-13 15:11:59 UTC
Neither netmount nor avahi-daemon specify an order in which they should be started, and so rc calculates that netmount should start first. This causes netmount to fail if you're using avahi (with nss-mdns) to identify hosts by name in /etc/fstab.

Reproducible: Always

Steps to Reproduce:
Add netmount and avahi-daemon to the same runlevel. (To see netmount fail, set up nss-mdns and add an NFS mount to /etc/fstab using its hostname instead of IP.)
Actual Results:  
netmount starts before avahi-daemon, meaning it cannot resolve hostnames via mdns.

Expected Results:  
avahi-daemon should have "before netmount", or netmount should have "use avahi-daemon". Either of these will fix the problem.
Comment 1 Sven Wegener gentoo-dev 2007-09-09 20:38:24 UTC
0.6.21 has an updated init script, that now has a "before netmount" dependency. Thanks!