[arch-general] jpurnalctl --setup-keys error
Hello everyone, When I run the setup keys command I get this: #journalctl --setup-keys Generating seed... Generating key pair... Generating sealing key... Failed to set file attributes: Operation not supported The new key pair has been generated. The secret sealing key has been written to the following local file. This key file is automatically updated when the sealing key is advanced. It should not be used on multiple hosts. /var/log/journal/9999999999999999999999/fss Please write down the following secret verification key. It should be stored at a safe location and should not be saved locally on disk. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx The sealing key is automatically changed every 15min. The keys have been generated for host xxxxxxxxxxxxxxxxxxxxxxxxxxx. I changed the secret stuff. Paranoid? It seems like it worked AFAIK. Any advice or comments welcome and appreciated. Thanks, Dennis
Sun, 18 Oct 2015 20:03:13 -0700 Dennis Anderson <walkingrobot@gmail.com>:
Failed to set file attributes: Operation not supported
... corresponds to https://github.com/systemd/systemd/blob/master/src/journal/journalctl.c#L147... I haven't checked with kernel sources, but I don't think you'll find (m)any filesystems supporting all of those flags; seems more like a nice-to-have wishlist. You can check with 'lsattr' on your journal files which attributes were applied. --byte
On 10/18/2015 11:12 PM, Jens Adam wrote:
Sun, 18 Oct 2015 20:03:13 -0700 Dennis Anderson <walkingrobot@gmail.com>:
Failed to set file attributes: Operation not supported ... corresponds to https://github.com/systemd/systemd/blob/master/src/journal/journalctl.c#L147...
I haven't checked with kernel sources, but I don't think you'll find (m)any filesystems supporting all of those flags; seems more like a nice-to-have wishlist.
You can check with 'lsattr' on your journal files which attributes were applied.
--byte Thanks for the reply Jens. Sorry for my delay. I've been sick.
It's a BTRFS fs. lsattr shows only the 'C' nocow attr. But it sounds like it's nothing to worry about so thanks again for the help. Dennis
participants (2)
-
Dennis Anderson
-
Jens Adam