lp://staging/~jamesodhunt/upstart/surbhi-add-pivot-handling

Created by James Hunt and last modified
Get this branch:
bzr branch lp://staging/~jamesodhunt/upstart/surbhi-add-pivot-handling
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
upstart
Status:
Development

Recent revisions

1316. By Surbhi Palande

Initial support to handle a new initctl command: pivot.
Usage: initctl pivot <ROOTFS> <INIT>" "<args>"

This command can be used to change the root filesystem from a initramfs
based rootfs to the new requested <ROOTFS>. On successfully changing the root
filesystem the new <INIT> shall be executed. On failure in handling this
command a pivot-failed event is emitted. This command works as intended
only when fired from initramfs. When fired from any other filesystem, this
command has no effect other than the emission of the "pivot-failed" event.

1315. By James Hunt

* init/control.c: Typo.

1314. By James Hunt

* NEWS: Begin new release.
* configure.ac: Bump version to 1.4.

1313. By James Hunt

* Changelog: Release entry.
* NEWS: Release 1.3.

1312. By James Hunt

* TESTING.sessions: Typo.

1310. By James Hunt

* Fixed formatting in Synopsis.

1309. By James Hunt

* init/job_process.c: job_process_spawn(): Added missing brace.

1308. By Scott James Remnant (Canonical)

* init/job_process.c (job_process_spawn): Make sure we don't close
our own file descriptor if it already has the right value.

1307. By James Hunt

Merge of lp:~jamesodhunt/upstart/upstream-udev+socket-bridges.

* Makefile.am: Added extra directory.
* New files:
  - extra/Makefile.am
  - extra/conf/upstart-socket-bridge.conf
  - extra/conf/upstart-udev-bridge.conf
  - extra/man/socket-event.7
  - extra/man/upstart-socket-bridge.8
  - extra/man/upstart-udev-bridge.8
  - extra/upstart-socket-bridge.c
  - extra/upstart-udev-bridge.c
* configure.ac:
  - Check for udev (for upstart-udev-bridge).
  - Add extra/Makefile to AC_CONFIG_FILES.
* dbus/com.ubuntu.Upstart.xml: Add EmitEventWithFile method.
* init/control.c:
  - control_emit_event(): Now a wrapper for control_emit_event_with_file.
  - control_emit_event_with_file(): New function that operates on an fd.
* init/control.h: Prototype for control_emit_event_with_file().
* init/event.c:
  - event_new(): Initialize event fd.
  - event_pending_handle_jobs(): Now calls event_operator_fds().
* init/event.c: Add fd to Event struct.
* init/event_operator.c: event_operator_fds(): New function.
* init/event_operator.h: Prototype for event_operator_fds().
* init/job.c: job_new(): Initialize fd members.
* init/job.h: Add fds and num_fds to Job struct.

Branch metadata

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

Subscribers