Bug 500829 - `ecryptfs-setup-swap' tries to restart service ``cryptdisks'' which is not present in RHEL/Fedora
Summary: `ecryptfs-setup-swap' tries to restart service ``cryptdisks'' which is not pr...
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
low
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:49 UTC by Michal Nowak
Modified: 2013-03-08 02:06 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


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:49:36 UTC
Description of problem:

    [...]
    # Restart cryptdisks
    /etc/init.d/cryptdisks restart
    [...]

    [root@hp-ml370g4-01 ~]# rpmquery -f /etc/init.d/cryptdisks
    error: file /etc/init.d/cryptdisks: No such file or directory

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

ecryptfs-utils-75-1.el5

Actual results:

Ubuntu/Debian "specific" service trigged.

Expected results:

Not sure of the RHEL/Fedora equivalent, or whether we need it at all, but if we do, I'd suggest to restart the service this way:

  service $name restart

Comment 1 Michal Hlavinka 2009-05-18 09:26:42 UTC
well... I can't see any related service in fedora/rhel. Only hard-wired stuff in /etc/rc.sysinit

and (afaik) this can't be restarted. 

/etc/rc.sysinit and /etc/crypttab are owned by initscripts

Bill, is there any easy way how to start using encrypted swap added to /etc/crypttab without reboot?

Comment 2 Michal Hlavinka 2009-05-18 14:19:33 UTC
I'm going to remove reference to cryptdisks service and replace it with "you need to reboot" if there is no other way.

Comment 3 Bill Nottingham 2009-05-18 18:57:34 UTC
There's no specific way to call into it, no. You can always set it up and add it by hand (much like any other fstab device or encrypted device)

Comment 4 Michal Hlavinka 2009-05-19 07:05:40 UTC
ok, thanks for the answer.

Comment 5 RHEL Program Management 2009-05-19 13:27:07 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 10 errata-xmlrpc 2009-09-02 09:57:41 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.