https://bugzilla.redhat.com/show_bug.cgi?id=726715
1. # ipa automountlocation-tofiles pune /etc/auto.master: /- /etc/auto.direct --------------------------- /etc/auto.direct: 2. I do not have "/- /etc/auto.direct" in auto.master since it gets created by default while adding an automountlocation. # cat /etc/auto.master | grep -v "#" /ipashare /etc/auto.pune # cat /etc/auto.direct /share -rw,fsid=0,insecure,no_root_squash,sync,anonuid=65534,anongid=65534 bumblebee.lab.eng.pnq.redhat.com:/usr/share/man # cat /etc/auto.pune * -rw,fsid=0,insecure,no_root_squash,sync,anonuid=65534,anongid=65534 bumblebee.lab.eng.pnq.redhat.com:/tmp 3. # ipa automountlocation-import pune /etc/auto.master Imported maps: Added auto.pune Imported keys: Added /ipashare to auto.master Added * to auto.pune Actual results: Importing /etc/auto.master does not detect and import /etc/auto.direct # ipa automountlocation-tofiles pune /etc/auto.master: /- /etc/auto.direct /ipashare /etc/auto.pune --------------------------- /etc/auto.direct: <<<<<<<<<<<< --------------------------- /etc/auto.pune: * -rw,fsid=0,insecure,no_root_squash,sync,anonuid=65534,anongid=65534 bumblebee.lab.eng.pnq.redhat.com:/tmp Expected results: Should detect and import /etc/auto.direct Additional info: The only work-around I could figure out is # ipa automountkey-del pune auto.master --key="/-" --info=auto.direct -------------------------- Deleted automount key "/-" -------------------------- # ipa automountmap-del pune auto.direct ----------------------------------- Deleted automount map "auto.direct" ----------------------------------- # cat /etc/auto.master | grep -v "#" /- /etc/auto.direct /ipashare /etc/auto.pune # ipa automountlocation-import pune /etc/auto.master Imported maps: Added auto.direct Added auto.pune Imported keys: Added /- to auto.master Added /ipashare to auto.master Added * to auto.pune Added /share to auto.direct <<<<<<<<<<<< # ipa automountlocation-tofiles pune /etc/auto.master: /- /etc/auto.direct /ipashare /etc/auto.pune --------------------------- /etc/auto.direct: /share -rw,fsid=0,insecure,no_root_squash,sync,anonuid=65534,anongid=65534 bumblebee.lab.eng.pnq.redhat.com:/usr/share/man <<<<<<<<<<<<<<<< --------------------------- /etc/auto.pune: * -rw,fsid=0,insecure,no_root_squash,sync,anonuid=65534,anongid=65534 bumblebee.lab.eng.pnq.redhat.com:/tmp
master: e856310
ipa-2-1: 2e9d614
Metadata Update from @rcritten: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)
Login to comment on this ticket.