lp:~jamesodhunt/upstart/upstream-socket-bridge

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

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

1249. By Scott James Remnant (Canonical)

catch up with main

1248. By Scott James Remnant (Canonical)

skeleton job tracking code

1247. By Scott James Remnant (Canonical)

Import the udev bridge from Ubuntu

1246. By Scott James Remnant (Canonical)

Implement properties for start_on, stop_on and emits

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