Eugene Paskevich wrote:
> On Wed, 11 Feb 2009 08:18:06 +0200, Debian Bug Tracking System 
> <ow...@bugs.debian.org> wrote:
> 
>> This is an automatic notification regarding your Bug report
>> which was filed against the quassel package:
>>
>> #513677: [quassel] core startup script
>>
>> It has been closed by Thomas Mueller <thomas_mueller_...@online.de>.
>>
>> Their explanation is attached below along with your original report.
>> If this explanation is unsatisfactory and you have not received a
>> better one in a separate message then please contact Thomas Mueller  
>> <thomas_mueller_...@online.de> by
>> replying to this email.
> 
> Thank you for updating the package but, unfortunately, the update process 
> here didn't go so well.
                                                             ^^^^^^
> 
> 1) Neither quassel user nor group was automatically created.

Overseen that it was an upgrade.

Thomas, I think the bug is clear:

quassel-core.postinst
if [ "$1" = "configure" ] && [ "$2" = "" ]; then
                          ^^^^^^^^^^^^^^^^^
This makes sure, that the code is not run when upgraded, whereas the certificate
is always created. That's why it ended up in / ($QUASSEL_HOME was "") for Eugene
and no user was created. That is obviously a bug.

You should use a dpkg --compare-versions check above instead, or simply remove
it and always run the code. I'd rather add checks like

if [ ! -d $QUASSEL_HOME ] ; then
  # create $HOME
  echo "Creating $QUASSEL_HOME directory ..."
  mkdir -p $QUASSEL_HOME
fi
...

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to