Merge lp:~vorlon/ubuntu/saucy/sysvinit/lp.1184006 into lp:ubuntu/saucy/sysvinit
Proposed by
Steve Langasek
Status: | Needs review |
---|---|
Proposed branch: | lp:~vorlon/ubuntu/saucy/sysvinit/lp.1184006 |
Merge into: | lp:ubuntu/saucy/sysvinit |
Diff against target: |
48 lines (+17/-3) 3 files modified
debian/changelog (+7/-0) debian/initscripts.preinst (+10/-0) debian/src/initscripts/etc/default/rcS (+0/-3) |
To merge this branch: | bzr merge lp:~vorlon/ubuntu/saucy/sysvinit/lp.1184006 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Pending | ||
Review via email: mp+165722@code.launchpad.net |
Description of the change
Colin, can you review this to see if it seems sane to you?
It's possible there needs to be a corresponding change to the installer -
dunno if we expose the option to set UTC=no nowadays.
To post a comment you must log in.
Unmerged revisions
- 191. By Steve Langasek
-
Merge from trunk, and adjust the version check in the preinst to account for
an intervening upload - 190. By Steve Langasek
-
Move the UTC setting out of /etc/default/rcS, which is now a conffile,
to /etc/init/hwclock{ ,-save} .override. LP: #1184006.
The general approach more or less makes sense to me, but a few things:
* Yes, we'll need corresponding changes to the installer; unfortunately
this is one of the things that's duplicated between d-i and ubiquity,
so changes need to be in both clock-setup and ubiquity.
* We'll need to think about upload coordination. You have a version hwclock. override or init/hwclock- save.override if they already contain UTC settings;
guard, but what about the overlap case with a daily build where an
older installer installs a newer initscripts? That suggests to me
that you shouldn't write to /etc/init/
/etc/
I think if we changed the installer first to handle either old or
new, and then changed sysvinit with that refinement, then that would
work.
* I don't quite understand what "sed -i -e's/^UTC= .*/UTC= yes/' default/ rcS" is for. Is that so that dpkg conffile replacement
/etc/
works? Would it be better to forcibly remove the option in the
postinst, instead or perhaps as well? Editing conffiles is of course
always a bit scary, so I suppose go with whatever approach
initscripts has historically taken here ...