V Sat, 31 Aug 2019 12:55:06 +0200
Christian Boltz <opensuse(a)cboltz.de> napsáno:
Am Freitag, 30. August 2019 schrieb Imobach González Sosa:
In the "Handling Empty Comment Lines in NTP Configuration" section,
there's "as you can see in bug 1142026". Unfortunately all I can see is
"You are not authorized to access bug #1142026." :-(
Is there a chance to make that bugreport public?
I do not know exact procedure to make bug report public, but in this case I believe it can
be public as it is bug found by our internal QA, so hopefully nothing blocks it.
Somewhat related to that - what you did on the YaST side looks more
like a workaround to me. Wouldn't it make more sense to get Augeas
Well, actually it is a bit different from augeas POV. Each comment has its own entry. So
you basically add comments per lines. And empty line is from augeas POV formatting and not
So in augeas
# comment 1
# comment 2
is parsed as
comment => "# comment 1"
comment => "# comment 2"
and augeas writter if you do not modify it, it keeps formatting as it was ( so no changes
to configuration ).
What yast do in past was different. It stores comments as single string before given key.
and it just paste that string before without trying to understand it. So yast have there
also formatting string, which augeas does not allow.
And that is root of issue. Ideal solution would be to parse what we have in comment
section by augeas so it is separated to augeas elements, but it will be hard to merge
later and also it will be reformatted. So simple filtering empty lines looks easier for us
as we already have from past ability to store multi-line comments.
BTW for Leap15 and newer this is not issue as we use chrony with a much smarter autoyast
profile, that just define what user want to modify instead of complete file parsed to
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: yast-devel+owner(a)opensuse.org