Description of problem: when mount is performed in cron or other way, where stdin is missing (or can't interact with stdout), mount hangs in endless loop. When verbosity=0 is used (preventing mount helper's questions), it errors out where default values should be used. Version-Release number of selected component (if applicable): How reproducible: allways Steps to Reproduce: 1.mount -t ecryptfs ~/testecfs/ ~/testecfs/ -o key=passphrase:passphrase_passwd=1234,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,verbosity=0 </dev/null 2. 3. Actual results: a)with verbosity=0 : errors out: 'invalid value' b)without verbosity=0: hangs Expected results: a)with verbosity=0 : default values are used (no questions) b)without verbosity=0 : errors out with 'invalid value' (/dev/null is permanently giving wrong answers) Additional info:
Created attachment 342634 [details] use default values with verbosity=0, repeat question 5 times at most (without verbosity=0)
Created attachment 345874 [details] fix eof handling both patches are required
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1307.html