Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 690817 Details for
Bug 903463
/etc/crypttab read-only option has no effect
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
cryptsetup: accept both "read-only" and "readonly" spellings
0001-cryptsetup-accept-both-read-only-and-readonly-spelli.patch (text/plain), 1.75 KB, created by
Michal Schmidt
on 2013-01-31 10:25:01 UTC
(
hide
)
Description:
cryptsetup: accept both "read-only" and "readonly" spellings
Filename:
MIME Type:
Creator:
Michal Schmidt
Created:
2013-01-31 10:25:01 UTC
Size:
1.75 KB
patch
obsolete
>From 63aed9b0cb939893c45789c66d315ddc6625ff00 Mon Sep 17 00:00:00 2001 >From: Michal Schmidt <mschmidt@redhat.com> >Date: Thu, 31 Jan 2013 11:03:09 +0100 >Subject: [PATCH] cryptsetup: accept both "read-only" and "readonly" spellings > >Mukund Sivaraman pointed out that cryptsetup(5) mentions the "read-only" >option, while the code understands "readonly". > >We could just fix the manpage, but for consistency in naming of >multi-word options it would be prettier to have "read-only". So let's >accept both spellings. > >BZ: https://bugzilla.redhat.com/show_bug.cgi?id=903463 >--- > man/crypttab.xml | 2 +- > src/cryptsetup/cryptsetup.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/man/crypttab.xml b/man/crypttab.xml >index 2379fc0..f976bda 100644 >--- a/man/crypttab.xml >+++ b/man/crypttab.xml >@@ -182,7 +182,7 @@ > </varlistentry> > > <varlistentry> >- <term><varname>read-only</varname></term> >+ <term><varname>read-only</varname></term><term><varname>readonly</varname></term> > > <listitem><para>Set up the encrypted > block device in read-only >diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c >index f332843..a8cdf10 100644 >--- a/src/cryptsetup/cryptsetup.c >+++ b/src/cryptsetup/cryptsetup.c >@@ -111,7 +111,7 @@ static int parse_one_option(const char *option) { > return 0; > } > >- } else if (streq(option, "readonly")) >+ } else if (streq(option, "readonly") || streq(option, "read-only")) > opt_readonly = true; > else if (streq(option, "verify")) > opt_verify = true; >-- >1.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 903463
: 690817