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

Created by James Hunt and last modified
Get this branch:
bzr branch lp:~jamesodhunt/upstart/upstream-udev+socket-bridges
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:
Merged

Recent revisions

1259. By James Hunt

* extra/man/upstart-udev-bridge.8:
  - Explain form of events emitted.
  - Add missing references.
  - Update copyright.

1258. By James Hunt

* extra/upstart-udev-bridge.conf: Added "emits" stanza
  (required for "initctl check-config").

1257. By James Hunt

* extra/Makefile.am: Add man page links for some common
  upstart-udev-bridge events:
  - net-device-added
  - net-device-removed
  - graphics-device-added
  - drm-device-added

1256. By James Hunt

Copyright update.

1255. By James Hunt

* Merge from upstream.

1254. By James Hunt

* extra/Makefile.am: Added socket-bridge.conf and manual pages
  to distribution.
* extra/upstart-socket-bridge.c: job_add_socket(): memset fix (before, only
  part of the Socket object was being initialized).
* New files:
  - extra/conf/upstart-socket-bridge.conf: Job configuration file for
    socket bridge.
  - extra/man/socket-event.7: Man page for socket event. Naming is due
    to collision with existing socket(7) page.
  - extra/man/upstart-socket-bridge.8: Man page for socket bridge.

1253. By Scott James Remnant (Canonical)

Here's a quick pass at adding file descriptors to the events and
ultimately to the job.

This needs a small patch to libnih-dbus to add DBUS_TYPE_UNIX_FD <-> int
mappings

1252. By Scott James Remnant (Canonical)

Need a destructor to close the socket

1251. By Scott James Remnant (Canonical)

Support abstract sockets with:

 start on socket PROTO=unix PATH=@/at/upstart/example

1250. By Scott James Remnant (Canonical)

Ok, that's about 90% of a socket bridge for upstart, it'll handle the
following:

 start on socket PROTO=inet PORT=1234
 start on socket PROTO=unix PATH=/var/run/.s.pgsql.1234

Missing piece is actually getting the socket across, which needs a patch
to libnih-dbus

Branch metadata

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

Subscribers