[Bug 1037738] Re: race condition in init script

Clint Byrum clint at fewbar.com
Sat Aug 18 21:15:09 UTC 2012


Ah, I think you meant if-up.d script not the "init" script.

Agreed, the l ast 3 lines are:

# We'd like to use 'reload' here, but it has some problems; see #502444.
stop ssh || true
start ssh || true

502444 is a debian bug # btw.

I think we need to serialize access to this section of the script with
an flock o only one thing does this at a time.

** Changed in: openssh (Ubuntu)
       Status: New => Triaged

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Medium

** Summary changed:

- race condition in init script
+ race condition in if-up.d script

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1037738

Title:
  race condition in if-up.d script

Status in “openssh” package in Ubuntu:
  Triaged

Bug description:
  ifup -a with lots of new interfaces exposes a race condition in the
  init script:

  lamont
  -------
  ssh start/running, process 9328
  Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
  cat: /var/run/sshd.pid: No such file or directory
  ERROR: List of process IDs must follow -p.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1037738/+subscriptions




More information about the foundations-bugs mailing list