[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680343: unblock: trousers/0.3.9-2



On Sat, Jul 21, 2012 at 12:23:03PM +0200, Julien Cristau wrote:
> On Thu, Jul  5, 2012 at 21:25:38 +0200, Pierre Chifflier wrote:
> 
> > +            # kill tcsd (and any other process owned by the tss user)
> > +            killall -u tss  2>/dev/null || true
> 
> Why is this necessary, and what happens if psmisc isn't installed?
> 

Hi Julien,

This is used to kill the daemon if the process is running, and avoid
that two processes try to access /dev/tpm0 on the next start.
If the command fails, or if psmisc is not installed, the script should
continue to allow the upgrade. The next start of the init script will
run a second daemon, which will stop (EBUSY). A second restart should
work, since the init script will be fixed after.

Cheers,
Pierre

Attachment: signature.asc
Description: Digital signature


Reply to: