Mailinglist Archive: opensuse-bugs (6143 mails)

< Previous Next >
[Bug 1084354] [/etc/sysconfig/memcached] Update memcached info to be more informative
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 17 Apr 2018 10:59:21 +0000
  • Message-id: <bug-1084354-21960-ba1BwsX1X0@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1084354
http://bugzilla.opensuse.org/show_bug.cgi?id=1084354#c5

--- Comment #5 from Mikhail Kasimov <mikhail.kasimov@xxxxxxxxx> ---
(In reply to Dominique Leuenberger from comment #4)
(In reply to Mikhail Kasimov from comment #2)
As this is a general hint applying to all sysconfig files, I do not see
why
it would need to be added to the this file explicitly.


Ok, if such hint is applicable to all sysconfig file, let's have it there to
be more user-friendly. Because this can help to avoid to make redundant
hand's movements from user/admin and save his time on setting software up.

==========================
# HINT: Place your own space separated parameters to respective option in
one line.
# Do NOT use multi-lines to put two or more parameters for one option.
# Parser will read and accept the last line of your "list" only and ignore
all previous ones.
==========================

Were you really expecting

OPTION="Value1"
OPTION="Value2"

to result in OPTION="Value1 Value2"?

That would be a very strange expectation. Any other reasonable look at the
file you see that there are key=value assignments. Any duplication of keys
obviously overwrites previous assignments.

IMHO, spelling this out in every file makes no sense

Nothing strange here. It's a habit on ifcfg configuration manner, where some
option can have two and more values, e.g.:

IPADDR =
IPADDR1 =
IPADDR2 =

(see
https://www.unixmen.com/linux-basics-assign-multiple-ip-addresses-single-network-interface-card-centos-7/).

Wicked network framework has the same syntax, BTW.

If such manner is not acceptable for /sysconfig/ -- OK. But anyway, I'd give a
short string somewhere about that as a pattern for all files from /sysconfig/.

Thanks!

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >