From: "Toralf Förster" <toralf.foerster@gmx.de>
To: "Theodore Ts'o" <tytso@mit.edu>,
linux-ext4@vger.kernel.org,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: ext4 encrypted dir becomes sickish after 4-5 days
Date: Wed, 14 Sep 2016 19:24:21 +0200 [thread overview]
Message-ID: <9cf5b143-7781-30fd-e86a-c78fb088f940@gmx.de> (raw)
In-Reply-To: <20160914124935.yxfo42bjdlyt2beo@thunk.org>
On 09/14/2016 02:49 PM, Theodore Ts'o wrote:
> What does "keyctl list @s" display? And what hapens if you try to
> rerun the add_key command? You should see something like this:
# keyctl list @s
1 key in keyring:
84804552: --alswrv 0 65534 keyring: _uid.0
A rerun of add_key won't help, the output is:
Enter passphrase (echo disabled):
Added key with descriptor [d3b38182555bb6e2]
Added key with descriptor [9d459d03fd3b3adb]
Key with descriptor [9d459d03fd3b3adb] applied to /var/lib/tor.
Accessing the directory works for the user /which has not a login shell):
ssh tfoerste@mr-fox 'sudo -u tor touch /var/lib/tor/foo.bar'
And it doesn't work run add_key for user root.
Furthermore it starts to fail even after 1 or 2 days.
--
Toralf
PGP: C4EACDDE 0076E94E, OTR: 420E74C8 30246EE7
prev parent reply other threads:[~2016-09-14 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 9:44 ext4 encrypted dir becomes sickish after 4-5 days Toralf Förster
2016-09-14 12:49 ` Theodore Ts'o
2016-09-14 17:24 ` Toralf Förster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9cf5b143-7781-30fd-e86a-c78fb088f940@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).