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

Re: RFS: tenshi (updated)



Ignace Mouzannar <mouzannar@gmail.com> writes:
> On Sun, Nov 21, 2010 at 16:26, Ansgar Burchardt <ansgar@43-1.org> wrote:
>> Ignace Mouzannar <mouzannar@gmail.com> writes:
>>> |   * debian/postinst:
>>> |     - Changed tenshi user home directory from /var/run/tenshi to
>>> |       /var/lib/tenshi as files in /var/run are cleared at boot time.
>>> |       This made the package FTBS. Thank you Lucas Nussbaum for spotting this
>>> |       issue.
>>>
>>> [1] http://people.debian.org/~lucas/logs/2010/11/17/tenshi.log
>>
>> You use a different home directory when the user is created by the
>> postinst script, but what happens when the user already exists
>> (e.g. when upgrading the package from 0.11-1)?
>
> I went to fast on the correction there. I have added a test that
> changes the home directory of an existent tenshi user.

Upgrading from 0.11-1 fails:

  Updating tenshi user's home directory ...
  usermod: user tenshi is currently logged in

Regards,
Ansgar


Reply to: