Bug#993265: RFS: runit/2.1.2-42 -- system-wide service supervision

2021-08-30 Thread Lorenzo
On Mon, 30 Aug 2021 05:03:33 +0200
Adam Borowski  wrote:

> On Sun, Aug 29, 2021 at 07:02:49PM +0200, Lorenzo Puliti wrote:
> >  * Package name: runit
> >Version : 2.1.2-42
> 
> >  runit (2.1.2-42) unstable; urgency=medium
> >  .
> >* Release to unstable
> >* getty-run: add hvc0 service, disabled by default:
> >this is usually needed by Xen hypervisor
> >* Add a default-syslog virtual service:
> >to increase portability, services that log to syslog
> >can depend on this rather than on a specific
> >syslog daemon
> >* shutdown.c:
> >- try to fix FTBFS on Hurd (Closes: #992629)
> >- distinguish between halt and shutdown flags:
> >  The -r flag ( as reboot) now only works with shutdown;
> >  Add a -f flag to shutdown (skip fsck next boot);
> >  Add -F flag to shutdown (force fsck next boot);
> >  The -f (as force a shutdown) and -w/--wtmp-only flags now
> >   only work with halt.
> >  (Closes: #992631)
> >- Add a -n flag to halt, to skip sync() before
> > reboot/poweroff; also, always check for runit.nosync flag file
> > before invoking sync()  (Closes: #992641)
> >- make halt '-f' flag a noop when runit is init. This way
> > runit can use its own code to reboot/poweroff the system; users
> >  can still use the long '--force' option to force a shutdown
> >  without signaling the init (Closes: #899246)
> >* Update shutdown(8) manpage
> >* Bump Standards Version to 4.6.0, no change required
> >* Update lintian overrides for 'alternative init but not init.d
> > script'
> 
> Uploaded.

Thanks for the upload Adam :)

> 
> That "default-syslog" that's consists of a 10min sleep looks
> strange...



What I want to be able to do is

'sv start default-syslog  &&  sv check default-syslog  ||  exit 1'

in each service that sends its logs to a syslog deamon.
In order to use the 'sv check' command I need to define a service, a
run file. 
So the check file does the job ( runs through a list of supported
syslogs and return 0 if one is up) and the run file acts like
a timer (wakes up every 10min) that does nothing..
I'm very open to suggestions to improve this!

> 
> 
> Meow!

Lorenzo



Bug#993265: RFS: runit/2.1.2-42 -- system-wide service supervision

2021-08-29 Thread Adam Borowski
On Sun, Aug 29, 2021 at 07:02:49PM +0200, Lorenzo Puliti wrote:
>  * Package name: runit
>Version : 2.1.2-42

>  runit (2.1.2-42) unstable; urgency=medium
>  .
>* Release to unstable
>* getty-run: add hvc0 service, disabled by default:
>this is usually needed by Xen hypervisor
>* Add a default-syslog virtual service:
>to increase portability, services that log to syslog
>can depend on this rather than on a specific
>syslog daemon
>* shutdown.c:
>- try to fix FTBFS on Hurd (Closes: #992629)
>- distinguish between halt and shutdown flags:
>  The -r flag ( as reboot) now only works with shutdown;
>  Add a -f flag to shutdown (skip fsck next boot);
>  Add -F flag to shutdown (force fsck next boot);
>  The -f (as force a shutdown) and -w/--wtmp-only flags now
>   only work with halt.
>  (Closes: #992631)
>- Add a -n flag to halt, to skip sync() before reboot/poweroff;
>  also, always check for runit.nosync flag file before invoking
>  sync()  (Closes: #992641)
>- make halt '-f' flag a noop when runit is init. This way runit
>  can use its own code to reboot/poweroff the system; users
>  can still use the long '--force' option to force a shutdown
>  without signaling the init (Closes: #899246)
>* Update shutdown(8) manpage
>* Bump Standards Version to 4.6.0, no change required
>* Update lintian overrides for 'alternative init but not init.d script'

Uploaded.

That "default-syslog" that's consists of a 10min sleep looks strange...


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ If you ponder doing what Jesus did, remember than flipping tables
⢿⡄⠘⠷⠚⠋⠀ and chasing people with a whip is a prime choice.
⠈⠳⣄



Bug#993265: RFS: runit/2.1.2-42 -- system-wide service supervision

2021-08-29 Thread Lorenzo Puliti
Package: sponsorship-requests
Severity: normal
X-Debbugs-Cc: plore...@disroot.org


Dear mentors,

I am looking for a sponsor for my package "runit":

 * Package name: runit
   Version : 2.1.2-42
   Upstream Author : Gerrit Pape 
 * URL : http://smarden.org/runit/
 * License : BSD-3-clause, GPL-3+
 * Vcs : https://salsa.debian.org/debian/runit
   Section : admin

It builds those binary packages:

  runit-init - system-wide service supervision (as init system)
  getty-run - runscripts to supervise getty processes
  runit-systemd - transitional package for runit-systemd users
  runit-run - service supervision (systemd and sysv integration)
  runit - system-wide service supervision

To access further information about this package, please visit the following 
URL:

  https://mentors.debian.net/package/runit/

Alternatively, one can download the package with dget using this command:

  dget -x https://mentors.debian.net/debian/pool/main/r/runit/runit_2.1.2-42.dsc

  git repo:  https://salsa.debian.org/debian/runit/-/tree/next

Changes since the last upload:

 runit (2.1.2-42) unstable; urgency=medium
 .
   * Release to unstable
   * getty-run: add hvc0 service, disabled by default:
   this is usually needed by Xen hypervisor
   * Add a default-syslog virtual service:
   to increase portability, services that log to syslog
   can depend on this rather than on a specific
   syslog daemon
   * shutdown.c:
   - try to fix FTBFS on Hurd (Closes: #992629)
   - distinguish between halt and shutdown flags:
 The -r flag ( as reboot) now only works with shutdown;
 Add a -f flag to shutdown (skip fsck next boot);
 Add -F flag to shutdown (force fsck next boot);
 The -f (as force a shutdown) and -w/--wtmp-only flags now
  only work with halt.
 (Closes: #992631)
   - Add a -n flag to halt, to skip sync() before reboot/poweroff;
 also, always check for runit.nosync flag file before invoking
 sync()  (Closes: #992641)
   - make halt '-f' flag a noop when runit is init. This way runit
 can use its own code to reboot/poweroff the system; users
 can still use the long '--force' option to force a shutdown
 without signaling the init (Closes: #899246)
   * Update shutdown(8) manpage
   * Bump Standards Version to 4.6.0, no change required
   * Update lintian overrides for 'alternative init but not init.d script'

Regards,
-- 
  Lorenzo Puliti