[Bug 1322682] Re: -D variables not honored

Pavel Merdin pavel.merdin at ocado.com
Wed Jul 16 16:14:56 UTC 2014


The way I used to test it:

echo "/test /etc/auto.test" >/etc/auto.master
echo 'test1 ${MYPATH}' >/etc/auto.test
echo 'OPTIONS="-DMYPATH=:/tmp"' >/etc/defaults/autofs
service autofs restart
automount -l debug /test

in the logs you'll see:

Jul 16 00:13:00 xxxx automount[7338]: attempting to mount entry /test/test1
Jul 16 00:13:00 xxxx automount[7338]: dev_ioctl_send_fail: token = 7
Jul 16 00:13:00 xxxx automount[7338]: failed to mount /test/test1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1322682

Title:
  -D variables not honored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1322682/+subscriptions



More information about the Ubuntu-server-bugs mailing list