Re: [systemd-devel] systemd-journald error

2016-11-30 Thread D.S. Ljungmark


On 25/11/16 22:47, Joel wrote:
> Lennart -
> 
> 
> Thank you for the reply.
> 
> 
> It's not clear whether you are instructing me to do something
> (restart journald or rebuild initrd) or asking a question.

If your distribution builds in the config file into the initrd, it's not
enough to simply edit the journald.conf on your live system and restart
journald,  you'll also need to rebuild the initrd.

If journald is started in initrd (early boot), it will still see the
config file from the initrd if getting a reload signal.


> On Fri, 25.11.16 05:33, Joel Miller (jm-hotm...@hotmail.com) wrote:
> 
>> Because I had misspelled the word "persistent" as "persisten"
>> (dropping the final "t"), I received the following error:
>> 
>> [1.485872] systemd-journald[104]:
>> [/etc/systemd/journald.conf:11] Failed to parse storage setting,
>> ignoring: persisten
>> 
>> Despite correcting the .conf file (/etc/systemd/journald.conf in
>> SuSE Leap 42.1), the error remains, perhaps because the value is
>> cached somewhere in the system, but it is not causing any issues
>> that I can detect.  I welcome any suggestions of where to look.
> 
> You have to restart journald of course?
> 
> Or maybe rebuild your initrd because the config file is also added
> to the initrd on your distro?
> 
> Lennart
> 
> -- Lennart Poettering, Red Hat
> 
> 
> 
> ___ systemd-devel mailing
> list systemd-devel@lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-journald error

2016-11-30 Thread Lennart Poettering
On Fri, 25.11.16 21:47, Joel (jm-hotm...@hotmail.com) wrote:

> Lennart -
> 
> Thank you for the reply.
> 
> It's not clear whether you are instructing me to do something (restart 
> journald or rebuild initrd) or asking a question.
> 
> Please note that while I have some experience with Linux and the SuSE distro 
> (about 11 years or so), this is the first time I am delving into systemd.
> 
> I was simply trying to find out where else the value (storage=persistent) is 
> registered or cached.

I am sorry, I don't understand what you are asking.

Of course, journald.conf is read by journald. If that answers your
question.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-journald error

2016-11-25 Thread Joel
Lennart -


Thank you for the reply.


It's not clear whether you are instructing me to do something (restart journald 
or rebuild initrd) or asking a question.


Please note that while I have some experience with Linux and the SuSE distro 
(about 11 years or so), this is the first time I am delving into systemd.


I was simply trying to find out where else the value (storage=persistent) is 
registered or cached.


Please clarify.  Thanks.


Joel Miller


From: Lennart Poettering <lenn...@poettering.net>
Sent: Friday, November 25, 2016 11:33:28 AM
To: Joel Miller
Cc: systemd-devel@lists.freedesktop.org
Subject: Re: [systemd-devel] systemd-journald error

On Fri, 25.11.16 05:33, Joel Miller (jm-hotm...@hotmail.com) wrote:

> Because I had misspelled the word "persistent" as "persisten" (dropping the
> final "t"), I received the following error:
>
> [1.485872] systemd-journald[104]: [/etc/systemd/journald.conf:11] Failed
> to parse storage setting, ignoring: persisten
>
> Despite correcting the .conf file (/etc/systemd/journald.conf in SuSE Leap
> 42.1), the error remains, perhaps because the value is cached somewhere in
> the system, but it is not causing any issues that I can detect.  I welcome
> any suggestions of where to look.

You have to restart journald of course?

Or maybe rebuild your initrd because the config file is also added to
the initrd on your distro?

Lennart

--
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] systemd-journald error

2016-11-25 Thread Lennart Poettering
On Fri, 25.11.16 05:33, Joel Miller (jm-hotm...@hotmail.com) wrote:

> Because I had misspelled the word "persistent" as "persisten" (dropping the
> final "t"), I received the following error:
> 
> [1.485872] systemd-journald[104]: [/etc/systemd/journald.conf:11] Failed
> to parse storage setting, ignoring: persisten
> 
> Despite correcting the .conf file (/etc/systemd/journald.conf in SuSE Leap
> 42.1), the error remains, perhaps because the value is cached somewhere in
> the system, but it is not causing any issues that I can detect.  I welcome
> any suggestions of where to look.

You have to restart journald of course?

Or maybe rebuild your initrd because the config file is also added to
the initrd on your distro?

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel