lp:ubuntu/utopic/sysvinit

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/utopic/sysvinit
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

210. By Martin Pitt

Some cleanups and cherry-picks from current sysvinit, as uploading the full
merge has been stalled for review for a long time.

* Drop Cell support/SPU mountpoint handling, this platform hasn't been
  supported for some time.
* Revert to most of Debian's initscripts Breaks: (except console-setup,
  ifupdown, and initramfs-tools) to avoid diff noise, they are harmless
  now.
* Drop compat symlink from /usr/bin/service to /usr/sbin/service. According
  to codesearch, nothing is using the former any more.
* Update to current syvinit update-rc.d. This handles "defaults" calls
  correctly wrt. LSB header information, drops the confusing warnings
  (LP: #1334596), and handles init.d scripts for systemd correctly.

209. By Martin Pitt

Drop initscript dependencies to upstart and mountall. Debian's SysV init
boot scripts are back, and both upstart and systemd now provide jobs/units
which "shadow" the SysV init.d scripts. This allows installing
systemd-sysv instead of upstart. (LP: #1351306)

208. By Martin Pitt

Move sourcing of lsb/init-functions above the sourcing of helpers which we
don't ship in Ubuntu, to avoid some harmless, but confusing noise during
boot.

207. By Martin Pitt

Disable startpar. It wreaks havoc with "task" upstart jobs as init.d
scripts depending on them rely on them to be "running".

206. By Adam Conrad

Revert the dependency changes from the previous upload to avoid loops.

205. By Dimitri John Ledkov

* Revert previous upload, which caused regression due to UPSTARTDIR
  variable removal that was still in-use.
* Reintroduce 11 rcS initd scripts:
  - all of them source /lib/lsb/init-functions and thus do nothing under
  upstart, and symlinked to /dev/null under systemd.
  - adjust initscripts conffiles, postinst and postrm to setup symlinks
  and clean up appropriately.
* Enable insserv (LP: #1312836):
   - adjust path variable in postinst to find insserv under
  /usr/lib/insserv due to 200_hide_insserv_on_ubuntu.patch in insserv on
  ubuntu.
  - adjust legacy_boot check to examine both rc0.d and rc6.d and the
  stamp file.
  - perform conversion and remove flag file
  - cherrypick patch for update-rc.d to lookup insserv in
  /usr/lib/insserv and /sbin.
  - drop touching legacy boot ordering stamp in sysv-rc preinst.

204. By Martin Pitt

Revert the invoke-rc.d check for "does this upstart job exist" from
calling "initctl status" back to checking for the file existence. The
former fails in a chroot if it installs a package/job which is not present
on the host: then "initctl status" will check the hosts's job (which
doesn't exist, and thus fails) instead of the one in the chroot.

203. By Dimitri John Ledkov

* Cherrypick fixes from Debian git repository:
* service & invoke-rc.d: in upstart interfacing code, check that the job
  is actually known to upstart. This is because during upgrades, pid 1
  might still be an older upstart which may not yet support syntax of
  the newly unpacked jobs, thus sysv-init script should be continued to
  be used instead. (Closes: #745503)
* service & invoke-rc.d: unset UPSTART_SESSION environment variable to
  make sure all upstart initctl commands are executed against system
  init and not the session one. (Closes: #745505)
* service: in upstart interfacing code, map "force-reload" to restart as
  per Debian policy 9.3.2, since there is no way to know for-sure if a
  reload is supported.

202. By Martin Pitt

invoke-rc.d: Don't fail on masked services. (LP: #1312975)

201. By Martin Pitt

invoke-rc.d: Fix actions to run under systemd if there is no init.d
script.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/vivid/sysvinit
This branch contains Public information 
Everyone can see this information.

Subscribers