On 7 Dec 2009, at 10:42 pm, Robert Markula wrote: > which cause cf-agent to hang since the underlying process expects a > user > input. Looking at the processes, I can see that in the second line > (see > below), the quotes are missing around "--force-confdef" and > "--force-confold": > > <snip http://paste.debian.net/53426/> > r...@cray:~# ps aux | grep apt-get > root 26408 0.0 0.1 1748 496 pts/0 S+ 23:11 0:00 sh -c > /usr/bin/apt-get --yes -o DPkg::Options="--force-confdef" -o > DPkg::Options="--force-confold" install sshfs x2goserver > root 26409 0.4 6.2 22240 15732 pts/0 S+ 23:11 0:01 > /usr/bin/apt-get --yes -o DPkg::Options=--force-confdef -o > DPkg::Options=--force-confold install sshfs x2goserver > </snip> > > Could this be the reason I'm still being plagued by these questions?
Isn't in the first one that's wrong, not the second? If the quotes have made it through to the command line (because it wasn't executed with a shell) then the value of DPkg::Options will include the quotes, which isn't correct. I suspect this is a case of whether the command is being run in a shell or not. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine