Re: [systemd-devel] Specifying calendar events in an arbitrary timezone

2016-12-15 Thread Ran Benita
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

Re: [systemd-devel] resolved: does DNSSEC=allow-downgrade affect caching?

2016-04-13 Thread Ran Benita
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's fixed in git. >

Re: [systemd-devel] resolved: does DNSSEC=allow-downgrade affect caching?

2016-04-13 Thread Ran Benita
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

[systemd-devel] resolved: does DNSSEC=allow-downgrade affect caching?

2016-04-13 Thread Ran Benita
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

Re: [systemd-devel] [PATCH 1/2] man: fix localectl set-x11-keymap syntax description

2014-10-20 Thread Ran Benita
On Mon, Oct 20, 2014 at 11:07:06AM +0200, Jan Synacek wrote: Ran Benita ran...@gmail.com 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(-) diff --git a/man/localectl.xml b/man

Re: [systemd-devel] [PATCH 2/2] localectl: verify layout, model, variant and options

2014-10-20 Thread Ran Benita
On Mon, Oct 20, 2014 at 11:15:14AM +0200, Jan Synacek wrote: Ran Benita ran...@gmail.com 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. I have only skimmed

Re: [systemd-devel] [PATCH 1/2] man: fix localectl set-x11-keymap syntax description

2014-10-17 Thread Ran Benita
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 +178,7 @@

Re: [systemd-devel] [PATCH 2/2] localectl: verify layout, model, variant and options

2014-10-17 Thread Ran Benita
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

Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-13 Thread Ran Benita
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:

Re: [systemd-devel] writing service file that used some /proc/cmdline variable

2014-05-21 Thread Ran Benita
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)

Re: [systemd-devel] writing service file that used some /proc/cmdline variable

2014-05-21 Thread Ran Benita
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 parsed array or how can i do

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Ran Benita
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 ?) and

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Ran Benita
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 lenn...@poettering.net 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-jan H wrote: So in short

[systemd-devel] [PATCH v2] unit: add specifiers for user name and home directory

2011-12-16 Thread Ran Benita
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

Re: [systemd-devel] [PATCH] unit: add specifiers for user name and home directory

2011-12-16 Thread Ran Benita
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); +free(username); +if (r) +return NULL

Re: [systemd-devel] [PATCH] unit: add specifiers for user name and home directory

2011-12-16 Thread Ran Benita
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 Benita (ran...@gmail.com) wrote: +_username

[systemd-devel] [PATCH] unit: add specifiers for user name and home directory

2011-12-08 Thread Ran Benita
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

Re: [systemd-devel] WorkingDirectory for user units

2011-12-03 Thread Ran Benita
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

Re: [systemd-devel] User Login and custom .service file

2011-11-25 Thread Ran Benita
On Fri, Nov 25, 2011 at 03:50:06AM +, Malte Brandy wrote: Lennart Poettering lennart at poettering.net writes: On Mon, 01.08.11 13:31, George Stefan (stefan.george87 at gmail.com) wrote: Hi, I have a system configuration that requests the possibility of having multiple users.

[systemd-devel] [PATCH 1/3] bash-completion: update with new verbs and arguments

2011-11-02 Thread Ran Benita
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

[systemd-devel] [PATCH 2/3] bash-completion: add completions for systemd-loginctl

2011-11-02 Thread Ran Benita
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

[systemd-devel] [PATCH 3/3] bash-completion: rename file since it is no longer for systemctl only

2011-11-02 Thread Ran Benita
--- 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 index

[systemd-devel] [PATCH] man: document list-unit-files

2011-09-24 Thread Ran Benita
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 @@

[systemd-devel] [PATCH] man: document list-unit-files

2011-09-24 Thread Ran Benita
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 @@

[systemd-devel] [PATCH 3/3] bash-completion: rename file since it is no longer for systemctl only

2011-09-23 Thread Ran Benita
--- 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 index

[systemd-devel] [PATCH 1/3] bash-completion: update with new verbs and arguments

2011-09-23 Thread Ran Benita
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

[systemd-devel] [PATCH 2/3] bash-completion: add completions for systemd-loginctl

2011-09-23 Thread Ran Benita
--- 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 +++

[systemd-devel] [PATCH] man, systemctl: correct handling of compatibility commands

2010-11-26 Thread Ran Benita
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 ran...@gmail.com