Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 500829 - `ecryptfs-setup-swap' tries to restart service ``cryptdisks'' which is not present in RHEL/Fedora
`ecryptfs-setup-swap' tries to restart service ``cryptdisks'' which is not pr...
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
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-14 08:49 EDT by Michal Nowak
Modified: 2013-03-07 21:06 EST (History)
3 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:41 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-14 08:49:36 EDT
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 05:26:42 EDT
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 10:19:33 EDT
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 14:57:34 EDT
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 03:05:40 EDT
ok, thanks for the answer.
Comment 5 RHEL Product and Program Management 2009-05-19 09:27:07 EDT
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.
Comment 10 errata-xmlrpc 2009-09-02 05:57:41 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.