systemsettings breaks comments in config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdelibs |
New
|
Undecided
|
Unassigned | ||
kde4libs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdebase-workspace
After installation config files contents some comments
for example - part of /etc/kde4/kdm/kdmrc
...
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
# Default is 177
#Port=177
# File with the private keys of X-terminals. Required for XDM authentication.
# Default is ""
#KeyFile=
# XDMCP access control file in the usual XDM-Xaccess format.
# Default is "/etc/kde4/
#Xaccess=
# Number of seconds to wait for display to respond after the user has
# selected a host from the chooser.
# Default is 15
#ChoiceTimeout=10
# Strip domain name from remote display names if it is equal to the local
# domain.
# Default is true
#RemoveDomainna
# Use the numeric IP address of the incoming connection on multihomed hosts
# instead of the host name.
# Default is false
#SourceAddress=true
# The program which is invoked to dynamically generate replies to XDMCP
# DirectQuery or BroadcastQuery requests.
# If empty, no program is invoked and "Willing to manage" is sent.
# Default is ""
Willing=
...
after edit by systemsettings we get this:
...
[Xdmcp]
Enable=false
Willing=
...
and after update kdm package we get conflict,
in this case we leave comments untouched automerge may work normal even if we change options.
summary: |
- systemsettings broken comments in config + systemsettings breaks comments in config |
description: | updated |
may use some like sed for change config files, or preg in text
^name=(.*)$ => name=new_value