[Pkg-sysvinit-devel] Bug#648433: Bug#648433: initscripts: /etc/default/rcS changes are not updated
Roger Leigh
rleigh at codelibre.net
Wed Jan 11 20:20:24 UTC 2012
tags 648433 + patch
thanks
On Fri, Nov 11, 2011 at 03:19:24PM +0100, Petter Reinholdtsen wrote:
> [Christoph Anton Mitterer]
> > Hi.
> >
> > When the default /etc/default/rcS changes,... those changes get not
> > propagated somehow to the user.
>
> As far as I know, any changes to the package version of that file are
> carefully made to ensure that it do not matter that the old files are
> not updated. What problem are you experiencing?
I've attached a patch to update /etc/default/rcS from the new
defaults.rcS if certain conditions are met. Essentially, its
sha1sum must match a version of the previous defaults, so we can
be sure that the user did not modify it. If this is true, we do
the update.
I'm still unsure why it can't be made a proper conffile. Other
than initial install (setting UTC), is it ever edited automatically?
Surely if it's changed from the default, the dpkg conffile handling
would handle this perfectly well?
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: initscripts-default-rcS-update.patch
Type: text/x-diff
Size: 2108 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120111/38bd7175/attachment.patch>
More information about the Pkg-sysvinit-devel
mailing list