[ovs-dev] [PATCH] tests: Check that parent process ID changes

Ben Pfaff blp at nicira.com
Thu Jun 20 22:52:40 UTC 2013


On Thu, Jun 20, 2013 at 10:31:52PM +0100, James Page wrote:
> On Ubuntu Saucy based desktops, upstart runs with user sessions
> enabled which means that the init process under which a daemon
> might run is not always pid = 1.
> 
> Instead of checking for pid = 1, check to ensure that the parent
> pid of the monitor is not the pid of the shell that started it.
> 
> Signed-off-by: James Page <james.page at ubuntu.com>

I updated the subject line to be a better summary: "tests: Tolerate
init process pid != 1." and applied this to master,
branch-1.{11,10,9}.

Thanks,

Ben.



More information about the dev mailing list