Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 188719

Summary: net-dns/avahi - avahi-daemon starts after netmount
Product: Gentoo Linux Reporter: Peter Budny <gtg655b>
Component: New packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!