I would like to schedule some timers to execute daily at a given time in
some given timezone. My use-case for this is:
- The server's local timezone is UTC - this is just good practice for
various reasons, so I don't want to change that.
- For business reasons, the service I want to run needs t
On Thu, Dec 15, 2016 at 06:35:15PM +0100, Lennart Poettering wrote:
> So yeah, we'd love to support this, but are waiting for a suitable API.
I see, makes sense.
Since new glibc API will probably be slow to come, if ever, it might
make sense to circumvent it and go for the tzdata directly? It see
Hey,
I read in the v229 NEWS that it is now possible to specify
DNSSEC=allow-downgrade and decided to try it. Note that I use my local
home router's DNS server which certainly does not support DNSSEC. I
configured the system to use resolved by changing "dns" to "resolve" in
nsswitch.conf. I use sy
OK, I just looked at the logs and figured out what happens: resolved
crashes whenever I perform a query with allow-downgrade, and after a few
times it doesn't restart and presumably the nss module falls back to
direct DNS queries. Here is the log:
Apr 13 13:56:31 ran systemd[1]: Started Network Na
On Wed, Apr 13, 2016 at 01:04:17PM +, Zbigniew Jędrzejewski-Szmek wrote:
> On Wed, Apr 13, 2016 at 02:26:49PM +0300, Ran Benita wrote:
> > coredumpctl doesn't show the crash so can't say what it's about. Maybe
> > it's a distro problem (archlinux) or it
ctl-bash-completion.sh
new file mode 100644
index 000..53f8e52
--- /dev/null
+++ b/src/systemctl-bash-completion.sh
@@ -0,0 +1,145 @@
+# This file is part of systemd.
+#
+# Copyright 2010 Ran Benita
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU
init scripts and the Debian
Policy Manual (9.3.2), not to mention the name itself, suggest that it
should be the same as the reload-or-restart command.
There are also some spelling corrections.
From 696db0b37560b53c615df3b1c6c3c5ba991dfcb3 Mon Sep 17 00:00:00 2001
From: Ran Benita
Date: Fri, 26 Nov
On Sun, Nov 28, 2010 at 15:19, Kay Sievers wrote:
> On Fri, Nov 26, 2010 at 23:56, Ran Benita wrote:
>> The manpage says condrestart is equivalent to reload-or-try-restart, but
>> the code and the sysvinitscripts file from the initscripts package says
>> it is actually th
On Mon, Nov 29, 2010 at 20:10, Kay Sievers wrote:
> On Mon, Nov 29, 2010 at 18:26, Bill Nottingham wrote:
>> Ran Benita (ran...@gmail.com) said:
>>> These tiny differences were confusing enough for the author of the
>>> manpage, and I managed to get it wrong as well;
On Fri, Oct 17, 2014 at 02:02:12PM +0200, Jan Synacek wrote:
> ---
> man/localectl.xml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/localectl.xml b/man/localectl.xml
> index 38e73c7..c332027 100644
> --- a/man/localectl.xml
> +++ b/man/localectl.xml
> @@ -178,7 +17
On Fri, Oct 17, 2014 at 02:02:13PM +0200, Jan Synacek wrote:
> When setting any of those using set-x11-keymap, check that their values
> are available on the system.
I have only skimmed this patch, but generally:
1. There can only be one model.
2. There can be multiple layouts and variants, comma
On Mon, Oct 20, 2014 at 11:07:06AM +0200, Jan Synacek wrote:
> Ran Benita writes:
> > On Fri, Oct 17, 2014 at 02:02:12PM +0200, Jan Synacek wrote:
> >> ---
> >> man/localectl.xml | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >&g
On Mon, Oct 20, 2014 at 11:15:14AM +0200, Jan Synacek wrote:
> Ran Benita writes:
> > On Fri, Oct 17, 2014 at 02:02:13PM +0200, Jan Synacek wrote:
> >> When setting any of those using set-x11-keymap, check that their values
> >> are available on the system.
> >
&
On Wed, May 21, 2014 at 09:38:43PM +0400, Vasiliy Tolstov wrote:
> Hello. I'm need to write specific service file that using
> /proc/cmdline variable (not standard, my own).
> Does systemd already have parsed array or how can i do that?
ConditionKernelCommandLine=
See systemd.unit(5)
_
On Wed, May 21, 2014 at 08:44:22PM +0300, Ran Benita wrote:
> On Wed, May 21, 2014 at 09:38:43PM +0400, Vasiliy Tolstov wrote:
> > Hello. I'm need to write specific service file that using
> > /proc/cmdline variable (not standard, my own).
> > Does systemd already have pa
>From a cursory look, the bash-completion package deals with this issue
in a more systematic way. See _init_completion() in
/usr/share/bash-completion/bash_completion. Maybe it's worthwhile to
(conditionally?) use that if possible.
Ran
On Fri, Jun 13, 2014 at 04:41:10PM +0200, Werner Fink wrote:
On Sat, May 21, 2011 at 15:53, microcai wrote:
>
> 于 2011年05月21日 20:44, Kay Sievers 写道:
> >>> No, NO, NO! Don't use the release.
> >>>
> >>> It's totally unstable. do some systemctl stuff, systemd crashed.
> >>
> >> Hmm?
> >>
> >> In which way?
> >>
> >> Can you provide a backtrace?
> >
> > syste
---
Makefile.am|2 +-
...sh-completion.sh => systemd-bash-completion.sh} |0
2 files changed, 1 insertions(+), 1 deletions(-)
rename src/{systemctl-bash-completion.sh => systemd-bash-completion.sh} (100%)
diff --git a/Makefile.am b/Makefile.am
inde
Adds arguments --root= and --runtime.
Adds verbs link, mask, unmask, reenable, list-unit-files.
Also uses list-unit-files to make nicer enable and disable completions.
---
src/systemctl-bash-completion.sh | 49 +
1 files changed, 38 insertions(+), 11 deletions
---
src/systemctl-bash-completion.sh | 83 ++
1 files changed, 83 insertions(+), 0 deletions(-)
diff --git a/src/systemctl-bash-completion.sh b/src/systemctl-bash-completion.sh
index c0f846c..84290bc 100644
--- a/src/systemctl-bash-completion.sh
+++ b/src/sys
It's documented in the --help, but not in the manpage.
---
man/systemctl.xml |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 468141c..894dec7 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -595,6 +595,13 @@
It's documented in the --help, but not in the manpage.
---
man/systemctl.xml |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 468141c..894dec7 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -595,6 +595,13 @@
Adds arguments --root= --runtime --no-legend.
Adds verbs link mask unmask reenable list-unit-files.
Also uses list-unit-files to make nicer enable and disable completions.
Rebased due to changes in systemctl.
---
src/systemctl-bash-completion.sh | 61 +++--
1 fil
This script is straightforward and should give proper completions for
all of systemd-loginctl's verbs.
---
src/systemctl-bash-completion.sh | 83 ++
1 files changed, 83 insertions(+), 0 deletions(-)
diff --git a/src/systemctl-bash-completion.sh b/src/systemct
---
Makefile.am|2 +-
...sh-completion.sh => systemd-bash-completion.sh} |0
2 files changed, 1 insertions(+), 1 deletions(-)
rename src/{systemctl-bash-completion.sh => systemd-bash-completion.sh} (100%)
diff --git a/Makefile.am b/Makefile.am
inde
On Fri, Nov 25, 2011 at 03:50:06AM +, Malte Brandy wrote:
> Lennart Poettering poettering.net> writes:
> > On Mon, 01.08.11 13:31, George Stefan (stefan.george87 gmail.com)
> > wrote:
> > > Hi,
> > > I have a system configuration that requests the possibility of having
> > > multiple users.
On Sat, Dec 03, 2011 at 02:32:19PM +0100, Thomas Meyer wrote:
> Hi,
>
> I put a "user" unit in "/usr/lib/systemd/user" called
> "smServer.service":
>
> [Unit]
> Description=ShortMessage Server
> After=network.target
>
> [Service]
> Type=simple
> StandardOutput=syslog
> Environment=CLASSPATH=/usr
Currently there is no way to refer to the user's name or home directory
from within a unit file. This is mainly a problem for unit files
intended for a --user systemd instance, where you might want to set the
user's home directory in WorkingDirectory, or otherwise refer to the
user's name.
This pa
Currently there is no way to refer to the user's name or home directory
from within a unit file. This is mainly a problem for unit files
intended for a --user systemd instance, where you might want to set the
user's home directory in WorkingDirectory, or otherwise refer to the
user's name.
This pa
On Thu, Dec 15, 2011 at 04:01:05PM +0100, Lennart Poettering wrote:
> On Fri, 09.12.11 03:00, Ran Benita (ran...@gmail.com) wrote:
>
> > +_username = username;
> > +r = get_user_creds(&_username, &uid, &gid, &home);
> > +
On Fri, Dec 16, 2011 at 05:10:45PM +0100, Lennart Poettering wrote:
> On Fri, 16.12.11 12:41, Ran Benita (ran...@gmail.com) wrote:
>
> >
> > On Thu, Dec 15, 2011 at 04:01:05PM +0100, Lennart Poettering wrote:
> > > On Fri, 09.12.11 03:00, Ran Beni
On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-jan H wrote:
> So in short, I'd like to do both:
>
> - have systemd chdir to $HOME if uid != 1
>
> - extend the printf specifier list for user sessions with a specifer
> that can be used in various fields to refer to at minimum $HOME ("%h"
> ?)
On Tue, Jul 10, 2012 at 04:20:14PM +, Kok, Auke-jan H wrote:
> On Tue, Jul 10, 2012 at 2:06 PM, Lennart Poettering
> wrote:
> > On Tue, 10.07.12 15:32, Ran Benita (ran...@gmail.com) wrote:
> >
> >>
> >> On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-
On Tue, Feb 18, 2025, at 10:18, Windl, Ulrich wrote:
> Hi!
>
> Did you consider using ACLs instead of changing owner and group? However I
> must admit I never tried it with devices.
> So my idea was to add an ACL for pcscd when the service is in use and drop
> that right if the service is not a
Hi,
I am working on improving the security of the pcscd smartcard daemon by
running it with a system user instead of root (the pcsclite author
indicated support for this). I'd like to ask for advice on a particular point.
# Background
For those who have never heard of it, pcscd[0][1] is part of
35 matches
Mail list logo