lp:ubuntu/wily/sysvinit

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/wily/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:
Development

Recent revisions

228. By Adam Conrad

Adjust sampling_down_factor to 100 on ppc64 kernels (LP: #1483586)

227. By Adam Conrad

Merge with Debian unstable, updating for the /bin/mountpoint move.

226. By Martin Pitt

Drop sysvinit-utils' versioned Depends: on util-linux again, it introduces a
circular dependency sysvinit-utils → util-linux → initscripts →
sysvinit-utils. Replace with versioned Breaks. (LP: #1456670)

225. By Martin Pitt

Drop sysvinit-utils' Essential: flag again, as we used to (merge error in
2.88dsf-59.1ubuntu1). This (hopefully) unbreaks debootstrap again.
(LP: #1456670)

224. By Martin Pitt

* Drop 91_sulogin_lockedpw.dpatch and 92_sulogin_support_static_sh.patch:
  sulogin moved to util-linux.
* Merge with Debian unstable. Remaining Ubuntu changes:
  - Remove some initscripts (bootlogs, motd, rmnologin) and
    /etc/network/if-up.d/mountnfs as they have been replaced by upstart jobs
    shipped in other packages.
  - debian/control: Drop Essential: yes from sysvinit-utils since we use
    Upstart.
  - debian/control: Do not build the sysvinit and sysvinit-core binary
    packages. We don't want to support sysvinit as such.
  - Mark sysvinit-utils as Multi-Arch: foreign to allow for upstart
    to be installable with multi-arch (needed for armhf containers on x86)
  - Drop /etc/default/tmpfs, and drop mention of it from
    debian/src/initscripts/man/rcS.5.
  - Include /lib/lsb/init-functions in various init.d scripts, or move it
    further to the top, so that they get skipped as there are equivalent
    upstart jobs.
  - Drop /lib/init/{tmpfs.sh,mount-functions.sh} and their usage in init.d
    scripts; we do not need those scripts due to the previous change.
  - Add debian/src/initscripts/etc/init.d/ondemand: Sleep for 60 seconds,
    then set CPU Frequency Scaling governor to "ondemand" (or to
    "interactive" on systems that support it).
  - Remove mention of RAMLOCK, RAMSHM, and RAMTMP from the rcS(5) manual
    page.
  - Fix documentation for other things handled by mountall/systemd instead
    of initscripts: tmpfs, /sys (mountall lets you specify options in
    /etc/fstab), and ASYNCMOUNTNFS.
  - debian/src/initscripts/etc/init.d/sendsigs:
    + sendsigs: OMITPIDS needs to be reinitalized for every loop iteration
      before concatenating pids of upstart jobs to it.
    + only omit jobs that are in the 'start' goal or that are in state
      'stop/killed'. Those that are destined for 'stop' are waited on and
      killed like all other processes.
    + make report_unkillable use apport instead of echoing to console; but
      disable this reporting by default.
    + wait up to 300 extra seconds for upstart jobs that have been killed.
  - debian/src/sysv-rc/sbin/invoke-rc.d: clean eatmydata from environment
    unless INVOKE_RCD_ALLOW_EATMYDATA is set to value other than '0'.
    (LP: #1257036)
  - Revert migration of UTC setting from /etc/default/rcS to /etc/adjtime.
  - init.d/rc: Disable startpar. It wreaks havoc with "task" upstart jobs as
    init.d scripts depending on them rely on them to be "running". Drop
    startpar dependencies.
  - service, invoke-rc.d: Don't ignore systemd unit dependencies in
    "degraded" mode. (LP: #1429734)
  - invoke-rc.d: Fix actions to run under systemd if there is no init.d
    script. (Closes: #747851)
  - invoke-rc.d: Don't start disabled systemd services, and don't restart
    non-running services. (Closes: #768450)
  - debian/initscripts.postinst: Create /dev/shm directory with 1777
    permissions, so that chroots stay compatible to what you'd find on a real
    system. (LP: #1399772)
  - invoke-rc.d: Don't fail on masked services. (LP: #1312975)
  - invoke-rc.d: Call 'initctl reload-configuration' to work reliably on
    systems with broken inotify. (Can be dropped once we stop supporting
    upstart)
  - init.d/umountroot: If /var/run/init.upgraded exists, call telinit u
    before unmounting the root filesystem, to avoid an upgraded upstart
    holding open files on the root fs. (systemd isn't affected by this, so
    this can be dropped once we stop supporting upstart)

  Upgrade fixes, drop after 16.04:
  - debian/sysvinit-utils.maintscript: Clean up obsolete
    /etc/init/startpar-bridge.conf conffile on upgrades. (LP: #1390726)
  - debian/initscripts.postinst: In chroots without any bind mounts one
    often ends up with a /dev/shm → /run/shm → /dev/shm circular symlink.
    Break this and re-create /run/shm/ as a proper directory (note that the
    canonical location is in /dev, but
    https://wiki.debian.org/ReleaseGoals/RunDirectory is still the official
    policy). (LP: #1389891)
  - debian/sysv-rc.postinst: Bump version comparison for removing
    /etc/init.d/.legacy-bootordering to the Ubuntu version that enabled
    insserv.

223. By Adam Conrad

Call 'systemctl daemon-reload' after any insserv call if systemd
is the system init to pick up changes (Closes: #766429, #774799)

222. By Martin Pitt

service, invoke-rc.d: Don't ignore systemd unit dependencies in "degraded"
mode. (LP: #1429734)

221. By Martin Pitt

invoke-rc.d: There are two cases when "systemctl is-enabled" fails: Either
the unit exists and is disabled, or if the unit doesn't exist (or only in
a generator output dir). In the latter case we do not want to prevent the
startup of a unit. (LP: #1429035)

220. By Martin Pitt

Call systemctl is-system-running with --quiet to avoid confusing output.
(LP: #1421058)

219. By Martin Pitt

* service, invoke-rc.d: Avoid deadlocks during bootup and shutdown from
  units/hooks which call "invoke-rc.d service reload" and similar, since the
  synchronous wait plus systemd's normal behaviour of transactionally
  processing all dependencies first easily causes dependency loops. Thus
  during boot/shutdown operate only on the unit and not on its dependencies,
  just like SysV behaves. (Closes: #777113, LP: #1417010)
* Make sysvinit-utils and sysv-rc break systemd << 215 to ensure we have the
  "systemctl is-system-running" command.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers