Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1280335
| From | Andrew Bower <andrew@bower.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1121617: runit: default-syslog not ready for incoming metalog package |
| Date | 2026-01-31 19:50 +0100 |
| Message-ID | <MjocF-eL7A-1@gated-at.bofh.it> (permalink) |
| References | <LWtEt-gDRl-1@gated-at.bofh.it> <LXTnc-3vp-9@gated-at.bofh.it> <LY11n-8yC-3@gated-at.bofh.it> <LWtEt-gDRl-1@gated-at.bofh.it> <LY11n-8yC-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> ===> /usr/sbin/facility <===
>
> #!/usr/bin/perl -w
>
> use strict;
> use File::Basename;
> use File::Glob qw(bsd_glob);
>
> my $svdir = $ENV{SVDIR} // "/etc/service";
> my $command = shift or die "usage: $0 command facility...";
> my %providers = map {
> map {
> basename(dirname($_)) => 1
> } bsd_glob("$svdir/*/provides-$_")
> } @ARGV;
>
> exec ("sv", $command, keys %providers) if %providers;
I think for 'facility check' one might need to be able to define whether
we want an AND or OR relationship - the default 'sv' behaviour would be
to AND them together, whereas for some types of facility we may be
content with any one passing, so we could have something like:
facility --any network
which would then have to explode into one 'sv' invocation for each
discovered provider and then OR the results together.
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1121617: runit: default-syslog not ready for incoming metalog package Andrew Bower <andrew@bower.uk> - 2025-11-29 15:00 +0100
Bug#1121617: runit: default-syslog not ready for incoming metalog package Lorenzo <plorenzo@disroot.org> - 2025-12-03 12:40 +0100
Bug#1121617: runit: default-syslog not ready for incoming metalog package Andrew Bower <andrew@bower.uk> - 2025-12-03 20:50 +0100
Bug#1121617: runit: default-syslog not ready for incoming metalog package Andrew Bower <andrew@bower.uk> - 2026-01-31 19:50 +0100
Bug#1121617: runit: default-syslog not ready for incoming metalog package Andrew Bower <andrew@bower.uk> - 2026-01-31 20:30 +0100
csiph-web