LWN.net Logo

Control Centre: The systemd Linux init system (The H)

Control Centre: The systemd Linux init system (The H)

Posted May 9, 2012 7:30 UTC (Wed) by jezuch (subscriber, #52988)
In reply to: Control Centre: The systemd Linux init system (The H) by Cyberax
Parent article: Control Centre: The systemd Linux init system (The H)

> The problem is that it's not clear if you've modified a script manually or it was modified by the package manager.

Debian's dpkg can tell that. If an upgrade wants to install a new version of a config file (in /etc) which was also modified by the user, it will present a choice to keep the modified version or install the one from the package or even try to merge the changes together.


(Log in to post comments)

Control Centre: The systemd Linux init system (The H)

Posted May 9, 2012 7:53 UTC (Wed) by niner (subscriber, #26151) [Link]

rpm detects this just the same, the only difference being that rpm packages specify what to do if the config file was changed (move the changed one aside or install the new one with a .rpmnew extension) which gives the user a less immediate choices but is great for unattended updates.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds