[Tts-project] Migration from Berkeley DB

Samuel Thibault sthibault at debian.org
Fri Jul 17 18:54:59 BST 2026


Hello,

Igor B. Poretsky, le ven. 17 juil. 2026 07:00:40 +0300, a ecrit:
> >>>>> "Samuel" == Samuel Thibault <sthibault at debian.org> writes:
> 
>     Samuel> Sorry for thinking about it only now, but ideally it'd
>     Samuel> rather be in /var/lib/freespeech, to leave /usr essentially
>     Samuel> read-only with files installed by dpkg.
> 
> I thought such way myself, but, if I understand right, /var/lib at the
> first place is intended for changeable files. Meanwhile, this one was
> never planned to be writable in fact.

Yes, but it is generated, so I am finding it odd to put it in /usr/lib.
I however don't see anything against it in the fhs or policy, so ok.

>     Samuel> At any rate, going that way means that
> 
>     Samuel> Multi-Arch: same
> 
>     Samuel> really needs to be removed from librulexdb2
> 
> I think, it would not be desirable.

Sure, but we don't have the choice if we keep just one place for the
arch-dependent database: we then cannot co-install several architectural
variants of librulexdb2, since the last postinst call would create the
database, and only that variant of librulexdb2 will be able to use it
and others won't.

> And making rulex-data package architecture dependent would complicate
> cross-building.

Which cross-building?

By "making it architecture dependent", do you mean putting the database
in arch-dependent paths? This can be encoded in the compiled binaries,
that's a very common thing with multiarch support.

Samuel



More information about the Tts-project mailing list