Re: [autofs] different behavior in static/executable autofs map

2009-02-16 Thread Ian Kent
On Mon, 2009-02-16 at 20:41 +0100, Daniel Schwager wrote: > Hi Ian, > > thx for clarify. I tried now about 2 days to convert > the following file-map to a program-map - but I failed. > > Could you give me a hint ? > > *** /etc/auto.master > /home/f /etc/auto.test1 > > *** /etc/auto.test

Re: [autofs] different behavior in static/executable autofs map

2009-02-16 Thread Daniel Schwager
Hi Ian, thx for clarify. I tried now about 2 days to convert the following file-map to a program-map - but I failed. Could you give me a hint ? *** /etc/auto.master /home/f /etc/auto.test1 *** /etc/auto.test1 test1 -rw / :/tmp \ /test :/var This works like a Char

Re: [autofs] different behavior in static/executable autofs map

2009-02-15 Thread Ian Kent
On Sat, 2009-02-14 at 23:17 +0100, Daniel Schwager wrote: > Hi, > > the behavior of an executable and static map with the same > stdout differs - please refer to this sample > > ** content of "/etc/auto.master" > /home/t1 /root/a1 > /home/t1a /etc/auto.test1 > > ** content of "/etc/auto

Re: [autofs] different behavior in static/executable autofs map

2009-02-14 Thread Daniel Schwager
Hi, i tried this also on FC9 (autofs-5.0.3-33.x86_64, 2.6.27.12-78.2.8.fc9.x86_64) Also, the file-map works, the program-map failed. autofs found a "syntax-error" or "duplicate offset" Feb 14 23:28:50 app4 automount[2599]: parse_mapent: parse(sun): dequote(":/tmp") -> :/tmp Feb 14 23:28:50 app

[autofs] different behavior in static/executable autofs map

2009-02-14 Thread Daniel Schwager
Hi, the behavior of an executable and static map with the same stdout differs - please refer to this sample ** content of "/etc/auto.master" /home/t1 /root/a1 /home/t1a /etc/auto.test1 ** content of "/etc/auto.test1" test1 \ / :/tmp ** content of "/root/a1" (mode 755,