upstart → systemd upgrade path issue

Petr Lautrbach plautrba at redhat.com
Thu May 26 12:14:36 UTC 2011


On 05/26/2011 12:44 PM, Rahul Sundaram wrote:
> On 05/26/2011 03:45 PM, Petr Lautrbach wrote:
>> Ok, I admit that I should have sent announcement to allow wider awareness.
>>
>> upstart-1.0 branch is in fact minor update of upstart-0.6.5, it was just declared stable.
>>
>> .override files [1] in upstart allows admin to change behaviour of upstart job without changing
>> original file so that change will remain after package update. e.g. if I didn't want allow users
>> to use ctr-alt-del to reboot system, I would create /etc/init/control-alt-del.override file with "manual"
>> stanza. This sounds for me as very good reason to add this.
>
> I don't see how.  How are you taking advantage of these new features in
> Fedora 14?

Example I mentioned solves https://bugzilla.redhat.com/show_bug.cgi?id=612175 also for F14.

There was no way to permanently change or disable upstart job in previous release.
Files in /etc/init/ are not mark as %config since they are more "initscripts" than
real configs. So every change would be lost after package update.

I can simply overwrite any part of job using /etc/init/<job>.override with this update
and my changes will survive updates.

Petr
-- 
Petr Lautrbach, Red Hat, Inc.


More information about the devel mailing list