Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487808 - =net-fs/autofs-5.0.7-r4 with sys-apps/systemd-208-r2 - get_exports: lookup(hosts): exports lookup failed
Summary: =net-fs/autofs-5.0.7-r4 with sys-apps/systemd-208-r2 - get_exports: lookup(ho...
Status: RESOLVED DUPLICATE of bug 488886
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-12 20:25 UTC by Juergen Rose
Modified: 2013-10-25 03:02 UTC (History)
4 users (show)

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 Juergen Rose 2013-10-12 20:25:23 UTC
I can't access the directories under /net/hostname/directory. The directory is empty. 'systemctl status autofs' says:

root@lynx:/root(7)# systemctl status autofs
autofs.service - Automounts filesystems on demand
   Loaded: loaded (/usr/lib64/systemd/system/autofs.service; enabled)
   Active: inactive (dead) since Sat 2013-10-12 22:16:41 CEST; 2min 45s ago
  Process: 4268 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
 Main PID: 4270 (code=exited, status=0/SUCCESS)

Oct 12 21:06:21 lynx systemd[1]: Started Automounts filesystems on demand.
Oct 12 21:10:01 lynx automount[4270]: get_exports: lookup(hosts): exports lookup failed for leopard
Oct 12 21:10:01 lynx automount[4270]: key "leopard" not found in map source(s).
Oct 12 21:15:01 lynx automount[4270]: get_exports: lookup(hosts): exports lookup failed for leopard
Oct 12 21:15:01 lynx automount[4270]: key "leopard" not found in map source(s).
Oct 12 22:16:39 lynx systemd[1]: Stopping Automounts filesystems on demand...
Oct 12 22:16:39 lynx automount[4270]: umount_autofs_indirect: ask umount returned busy /net
Oct 12 22:16:41 lynx systemd[1]: Stopped Automounts filesystems on demand.
Comment 1 Pacho Ramos gentoo-dev 2013-10-18 17:03:18 UTC
You specified 208 in summary, is this a regression?

It's using the upstream unit files, did you try to run the same command as unit tries to run?
Comment 2 Juergen Rose 2013-10-18 19:12:24 UTC
(In reply to Pacho Ramos from comment #1)
> You specified 208 in summary, is this a regression?
> 
> It's using the upstream unit files, did you try to run the same command as
> unit tries to run?

Some reboots later the access to /net/hostname/directory works again. 'systemctl status autofs' says now:

root@lynx:/usr/local/portage/sys-apps/app-admin(21)# systemctl status autofs
autofs.service - Automounts filesystems on demand
   Loaded: loaded (/usr/lib64/systemd/system/autofs.service; enabled)
   Active: active (running) since Fri 2013-10-18 14:00:53 CEST; 7h ago
  Process: 9502 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
 Main PID: 9504 (automount)
   CGroup: /system.slice/autofs.service
           └─9504 /usr/sbin/automount --pid-file /run/autofs.pid

But there is still another issue with autofs. There are a lot of entries under /net:

root@lynx:/usr/local/portage/sys-apps/app-admin(25)# ll /net | wc -l
308

It looks, if there is a /net/HOST directory for any HOST entry in /etc/hosts.
From the time before of systemd I expect these /net/HOST directories only for for HOSTs, which I tried to acces. Should a file a separate bug for this issue?
Comment 3 Yixun Lan archtester gentoo-dev 2013-10-25 03:02:59 UTC

*** This bug has been marked as a duplicate of bug 488886 ***