The branch at https://salsa.debian.org/juxor-guest/sbws/-/commits/debian/unstable_wip is not ready to upload yet (the new sbws 1.9.0 isn't even released yet), but because the it should fix a bunch of Debian issues too, we can start with that. If this is fine for you, the commits starting by wip have questions to address.
jugachanged title from Review new sbws release (1.91.) to Review new sbws release (1.9.1)
changed title from Review new sbws release (1.91.) to Review new sbws release (1.9.1)
Check that this is the correct way to do not stop services on upgrades
I think this will do it. But then, the bandwidth scanner will never be restarted after being upgraded using eg. apt upgrade, and it will have to be manually restarted. I assume this is what you want?
Check that this is a correct way to add ways in which the operators could modify the unit service to receive email on failures
in debian/examples/status_mail_user@.service I would use /usr/local/bin/status_mail.sh instead of /usr/bin/status_mail.sh, since status_mail.sh is not actually installed on the system
in debian/examples/sbws_generate.d/mail_on_failure.conf you need to specific a [Section] in the override, in this case it should be [Unit]
Check that this is the correct way to add apparmor profile and that the profile is fine (i think too permissive so far)
I'm really not familiar with AppArmor profiles, so I'm not sure I can give good advice on this topic. That said, the current update doesn't seem to be shipping this addition.
This is as far as I've gotten, because I wanted to build this package but the upstream branch is missing the commit for version 1.9.0. If you could push it I can continue the review :)
I think this will do it. But then, the bandwidth scanner will never be restarted after being upgraded using eg. apt upgrade, and it will have to be manually restarted. I assume this is what you want?
I thought so, but after confirming with bwauth, it should be restarted on upgrade and it should be installed and enabled on install.
I've moved debian/unstable branch to debian/unstable_old1 with the fixes for this.
I'm really not familiar with AppArmor profiles, so I'm not sure I can give good advice on this topic. That said, the current update doesn't seem to be shipping this addition
Yes, sorry i didn't mention i removed this commit for now, because i'm not familiar either.
This is as far as I've gotten, because I wanted to build this package but the upstream branch is missing the commit for version 1.9.0. If you could push it I can continue the review :)
Thank you for this review! I've pushed it now, also pristine-tar. What i haven't pushed yet is the signed new debian tag.
Thanks! Pushed to https://salsa.debian.org/pkg-privacy-team/sbws the branches debian/unstable, pristine-tar and upstream, the tags debian/1.9.0-1 and upstream/1.9.0 and set debian/unstable as default branch.