Karl Vogel wrote:
> Removing the --quiet flag and using something like safesys() would:
>
> * let systemctl write something (hopefully an error message),
> * show exactly what arguments are being passed to it, and
> * show its exit value.
Your safesys includes basically exactly the code
On Sat, Oct 12, 2024 at 21:43:39 -0400, I mistakenly wrote:
> See the ":" followed by two spaces? Unlike systemctl, well-behaved
> programs set "errno" when they puke, and that setting is turned into
> a more-or-less useful error message like "Permission denied".
> "$!" would have held that messag
On Sat, Oct 12, 2024 at 10:23:00PM -0400, Greg Wooledge wrote:
> On Sat, Oct 12, 2024 at 21:43:39 -0400, Karl Vogel wrote:
> > >> In previous messages:
> > >
> > > system('systemctl', '--quiet', [...] , @start_units) == 0
> > > or die("Could not execute systemctl: $!");
> > >
> > > Co
On Sat, Oct 12, 2024 at 21:43:39 -0400, Karl Vogel wrote:
> >> In previous messages:
> >
> > system('systemctl', '--quiet', [...] , @start_units) == 0
> > or die("Could not execute systemctl: $!");
> >
> > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
>
> S
>> In previous messages:
>
> system('systemctl', '--quiet', [...] , @start_units) == 0
> or die("Could not execute systemctl: $!");
>
> Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
See the ":" followed by two spaces? Unlike systemctl, well-behaved
progr
Hi,
John Cassidy wrote:
> > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line
> > > 148.
i wrote:
> > system('systemctl', '--quiet', @instance_args, $action, @start_units) ==
> > 0 or die("Could not execute systemctl: $!");
> > https://sources.debian.org/src/init-system-helpe
debian-u...@howorth.org.uk wrote:
> "Thomas Schmitt" wrote:
> > Hi,
> >
> > John Cassidy wrote:
> > > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke
> > > > line 148.
> >
> > Greg Wooledge wrote:
> > > That's a very strange and specific error message. Is your
> > > syste
"Thomas Schmitt" wrote:
> Hi,
>
> John Cassidy wrote:
> > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line
> > > 148.
>
> Greg Wooledge wrote:
> > That's a very strange and specific error message. Is your systemctl
> > command missing, or has incorrect permissions or someth
On 12 Oct 2024 11:42 +0200, from s...@jdcassidy.eu (John Cassidy):
> trying to install Redis on Debian SID, the install is failing with the
> following errors:
>
> apt install redis
/snip/
> Setting up redis-server (5:7.0.15-2) ...
> Created symlink '/etc/systemd/system/redis.service' →
> '/usr/li
Hi,
John Cassidy wrote:
> > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
Greg Wooledge wrote:
> That's a very strange and specific error message. Is your systemctl
> command missing, or has incorrect permissions or something?
I rather guess that it is due to the perl t
On Sat, Oct 12, 2024 at 11:42:22 +0200, John Cassidy wrote:
> Setting up redis-server (5:7.0.15-2) ...
> Created symlink '/etc/systemd/system/redis.service' →
> '/usr/lib/systemd/system/redis-server.service'.
> Created symlink
> '/etc/systemd/system/multi-user.target.wants/redis-server.service' →
>
11 matches
Mail list logo