lp:~jamesodhunt/upstart/stateful-reexec-dbus-connections

Created by James Hunt on 2014-04-15 and last modified on 2014-04-15
Get this branch:
bzr branch lp:~jamesodhunt/upstart/stateful-reexec-dbus-connections
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

1444. By Steve Langasek on 2012-09-09

fix the control_bus_open prototype

1443. By Steve Langasek on 2012-09-09

Move the cloexec handling into control_serialise from control_serialise_all,
since we're already working with the fd there

1442. By Steve Langasek on 2012-09-09

reinstate dbus serialization support on a separate branch, with the following
changes:
 - remove all #ifdef 0's
 - control_bus_open() doesn't need to take an argument, it can assume if
   control_bus is set that this is a re-exec, making the code overall more
   robust
 - drop redundant function control_clear_cloexec(); the cloexec state is
   already being adjusted as part of the serializer.

1441. By Steve Langasek on 2012-09-09

Drop superfluous call to event_init from event_serialise(), if this function
is called we know we must have an event list

1440. By Steve Langasek on 2012-09-09

Drop fixme comment about events; as long as both sides agree what an empty
blocking list means, there's no need to pad out the serialization data

1439. By Steve Langasek on 2012-09-09

CONTROL_REEXEC_ERROR only needed for dbus connection serialization

1438. By Steve Langasek on 2012-09-09

Remove more ifdef'ed code

1437. By Steve Langasek on 2012-09-09

remove #ifdefed code around control_bus_open; depends on the dbus serialization
code. Also, we shouldn't need to specify whether we're restarting or not,
upstart should make sure it always gets a control socket at the end of
re-exec whether or not it was the original one.

1436. By Steve Langasek on 2012-09-09

Drop debug serialize/deserialize methods from the dbus interface

1435. By Steve Langasek on 2012-09-09

Drop further references to control connection serialization

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