Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Dmitry Katsubo
On 2023-11-30 00:22, Guilhem Moulin wrote: > If the impact is only that the first run after a reboot or during a > RDBMS restart fails, then I don't think it's worth trying to fix the > race. The service might fail for various other reasons, but as long as > garbage doesn't pile up forever (i.e.,

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Guilhem Moulin
Control: tag -1 - wontfix On Thu, 30 Nov 2023 at 00:22:45 +0100, Guilhem Moulin wrote: > On Thu, 30 Nov 2023 at 00:13:44 +0100, Dmitry Katsubo wrote: >> For the subsequent calls I ma not sure – I've got an impression that >> this service is run only once at system startup. > > No, it's supposed

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Guilhem Moulin
On Thu, 30 Nov 2023 at 00:13:44 +0100, Dmitry Katsubo wrote: > For the subsequent calls I ma not sure – I've got an impression that > this service is run only once at system startup. No, it's supposed to run once a day at 00:05 local time, see the associated .timer unit. If the impact is only

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Dmitry Katsubo
On 2023-11-29 20:17, Guilhem Moulin wrote: > On Wed, 29 Nov 2023 at 19:48:09 +0100, Dmitry Katsubo wrote: >> After= is not the same as Requires= >> If the service is not present, it is just noop. >> You might wish to add all supported RDBMS into After=. > > One could also imagine systems where

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Dmitry Katsubo
On 2023-11-29 02:23, Guilhem Moulin wrote: > I don't think it's that simple: MariaDB is only one of several supported > RDBMS, and the server might be on a different system. After= is not the same as Requires= If the service is not present, it is just noop. You might wish to add all supported

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-29 Thread Guilhem Moulin
On Wed, 29 Nov 2023 at 19:48:09 +0100, Dmitry Katsubo wrote: > After= is not the same as Requires= > If the service is not present, it is just noop. > You might wish to add all supported RDBMS into After=. One could also imagine systems where one (or more) of these .service files exists but isn't

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-28 Thread Guilhem Moulin
Control: tag -1 moreinfo On Wed, 29 Nov 2023 at 01:14:27 +0100, Dmitry Katsubo via Pkg-roundcube-maintainers wrote: > The service roundcube-cleandb should be run after MySQL/MariaDB is started: > > === file /lib/systemd/system/roundcube-cleandb.service === > > [Unit] > After=mariadb.service > >

Bug#1057061: The service roundcube-cleandb should depend on mariadb.service

2023-11-28 Thread Dmitry Katsubo
Package: roundcube-core Version: 1.6.3+dfsg-1~deb12u1 The service roundcube-cleandb should be run after MySQL/MariaDB is started: === file /lib/systemd/system/roundcube-cleandb.service === [Unit] After=mariadb.service === end === otherwise the following error may occur during the startup: