Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 500566 - When kernel does not support filename encryption `ecryptfs-add-passphrase --fnek' should exit with exit code != 0
When kernel does not support filename encryption `ecryptfs-add-passphrase --f...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ecryptfs-utils (Show other bugs)
5.4
All Linux
low Severity medium
: rc
: ---
Assigned To: Michal Hlavinka
BaseOS QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-13 06:20 EDT by Michal Nowak
Modified: 2013-03-07 21:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-02 05:57:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1307 normal SHIPPED_LIVE Low: ecryptfs-utils security, bug fix, and enhancement update 2009-09-01 06:20:43 EDT

  None (edit)
Description Michal Nowak 2009-05-13 06:20:05 EDT
Description of problem:

[root@hp-ml370g4-01 ~]# printf "%s" "passphrase" | ecryptfs-add-passphrase --fnek -

Error: Your kernel does not support filename encryption
[root@hp-ml370g4-01 ~]# echo $?
0

Version-Release number of selected component (if applicable):

ecryptfs-utils-75-1.el5
Linux hp-ml370g4-01.rhts.bos.redhat.com 2.6.18-146.el5 #1 SMP Mon May 11 18:34:46 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:

always

Actual results:

EC == 0

Expected results:

EC != 0

Additional info:

Also the blank line, where usually "Passphrase: " is, should be avoided, when expecting the phrase to be read from stdin.
Comment 6 errata-xmlrpc 2009-09-02 05:57:23 EDT
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

Note You need to log in before you can comment on or make changes to this bug.