Ignace Mouzannar <mouzan...@gmail.com> writes:
> On Sun, Nov 21, 2010 at 16:26, Ansgar Burchardt <ans...@43-1.org> wrote:
>> Ignace Mouzannar <mouzan...@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


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zksv7u5s....@marvin.43-1.org

Reply via email to