Bug 500820 - ecryptfs-setup-swap: vol_id: command not found
Summary: ecryptfs-setup-swap: vol_id: command not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ecryptfs-utils
Version: 5.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-14 12:15 UTC by Michal Nowak
Modified: 2013-03-08 02:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 09:56:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fix vol_id path (406 bytes, patch)
2009-05-18 14:01 UTC, Michal Hlavinka
no flags Details | Diff
use blkid instead of vol_id, taken from upstream (1.13 KB, patch)
2009-05-19 07:09 UTC, Michal Hlavinka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1307 0 normal SHIPPED_LIVE Low: ecryptfs-utils security, bug fix, and enhancement update 2009-09-01 10:20:43 UTC

Description Michal Nowak 2009-05-14 12:15:10 UTC
Description of problem:

vol_id command is present in /lib/udev/ directory, which is not in the $PATH:

[root@hp-ml370g4-01 ~]# ecryptfs-setup-swap 
/usr/bin/ecryptfs-setup-swap: line 86: vol_id: command not found
ERROR: [/dev/mapper/VolGroup00-LogVol01] does not appear to be swap space


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

ecryptfs-utils-75-1.el5

Comment 1 Michal Hlavinka 2009-05-18 14:01:40 UTC
Created attachment 344439 [details]
fix vol_id path

Comment 2 Michal Hlavinka 2009-05-19 07:09:16 UTC
Created attachment 344581 [details]
use blkid instead of vol_id, taken from upstream

Comment 3 Michal Nowak 2009-05-19 07:36:06 UTC
Then we should require e2fsprogs, perhaps.

Comment 8 errata-xmlrpc 2009-09-02 09:56:55 UTC
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.