Bug#877533: biboumi needs /var/lib/biboumi directory to work properly.
Vasudev Kamath
vasudev at copyninja.info
Mon Oct 2 16:32:59 UTC 2017
Hi Louiz,
Florent Le Coz <louiz at louiz.org> writes:
> On 10/02/2017 06:01 PM, Vasudev Kamath wrote:
>> Package: biboumi
>> Version: 6.0-1
>> Severity: serious
>>
>> Dear Maintainer,
>>
>> From the newer version of biboumi, it needs /var/lib/biboumi directory
>> to be existing to start the service. This probably changed during version
>> 5.0 or 6.0 (not sure which exactly as I found issue in 6.0).
>>
>> Please create /var/lib/biboumi during package installation which should be
>> owned by nobody and nogroup.
>>
> For your information, this is new in version 6.0, because the support
> for the database has been enabled in debian only in that version because
> the dependencies have been lightened (it previously required litesql,
> which is not packaged anywhere, now it only depends on sqlite3, which is
> a very light dependency that can already be found in debian).
Ah. Though I'm also co-maintainer I did not get involved in latest
updates, so no wonder I did not notice changes. I came across the bug
when I backported it to my server.
>
>
> However, by default (if the option db_name is not set in the biboumi.cfg
> file), biboumi will try to open (or create) the database file
> $XDR_DATA_HOME/biboumi.sqlite or $HOME/.config/biboumi/biboumi.sqlite if
> XDR_DATA_HOME is not defined.
Umm.. Slightly confused, if it is to use those environment variable the
unit should be installed with --user?. Also in the error file I noticed
biboumi complaining about non existent /var/lib/biboumi/biboumi.sqlite.
So am I understanding something wrong?.
>
> You also have to make sure the path is correct, somehow.
I would appreciate some more input as I was planning to add postinst
file which adds /var/lib/biboumi folder and also create user and group
biboumi biboumi.
Cheers,
More information about the Pkg-voip-maintainers
mailing list