Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-11 Thread Mikhail Kasimov
11.07.2017 17:13, Lennart Poettering пишет: > On Tue, 11.07.17 14:46, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> Or, please, give a hint how service, which works in 'start -> do >> something->exit' scheme (so this is oneshot type, as I understa

Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-11 Thread Mikhail Kasimov
Hello! 11.07.2017 13:49, Lennart Poettering пишет: > On Thu, 06.07.17 16:43, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> Hello! >> >> 've got an interesting trouble on timer-activated service -- 'systemctl >> status' returns a l

Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-07 Thread Mikhail Kasimov
Hello, everyone! 06.07.2017 19:17, Mikhail Kasimov пишет: > > 06.07.2017 19:12, Mikhail Kasimov пишет: >> 06.07.2017 18:27, Michael Chapman пишет: >>> On Fri, 7 Jul 2017, Mikhail Kasimov wrote: >>>> 06.07.2017 17:18, Michael Chapman пишет: >>>&g

Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-06 Thread Mikhail Kasimov
06.07.2017 19:12, Mikhail Kasimov пишет: > > 06.07.2017 18:27, Michael Chapman пишет: >> On Fri, 7 Jul 2017, Mikhail Kasimov wrote: >>> 06.07.2017 17:18, Michael Chapman пишет: >>>> On Thu, 6 Jul 2017, Mikhail Kasimov wrote: >>>>> Hello! >

Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-06 Thread Mikhail Kasimov
06.07.2017 18:27, Michael Chapman пишет: > On Fri, 7 Jul 2017, Mikhail Kasimov wrote: >> 06.07.2017 17:18, Michael Chapman пишет: >>> On Thu, 6 Jul 2017, Mikhail Kasimov wrote: >>>> Hello! >>>> >>>> 've got an interesting trouble on time

Re: [systemd-devel] Timeout for 'Activating (start)' status

2017-07-06 Thread Mikhail Kasimov
06.07.2017 17:18, Michael Chapman пишет: > On Thu, 6 Jul 2017, Mikhail Kasimov wrote: >> Hello! >> >> 've got an interesting trouble on timer-activated service -- 'systemctl >> status' returns a log with 'Activating (start)' status: >>

[systemd-devel] Timeout for 'Activating (start)' status

2017-07-06 Thread Mikhail Kasimov
Hello! 've got an interesting trouble on timer-activated service -- 'systemctl status' returns a log with 'Activating (start)' status: [1] == k_mikhail@linux-mk500:~> systemctl status vba32update.service ● vba32update.service - VBA32 Anti-Virus Update Service Loaded: loaded (/etc/syste

Re: [systemd-devel] How to stop service by timer

2016-09-12 Thread Mikhail Kasimov
Hello! How does your service work from 10:00 till 18:45 -- with any interruption during this time-range, or constantly? I'm asking, because I'm not sure if RuntimeMaxSec= directive (https://www.freedesktop.org/software/systemd/man/systemd.service) is acceptable here|. | So, you start your s

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Mikhail Kasimov
23.08.2016 16:55, arnaud gaboury пишет: On Tue, Aug 23, 2016 at 3:52 PM, arnaud gaboury wrote: On Tue, Aug 23, 2016 at 3:39 PM, Michael Chapman wrote: On Tue, 23 Aug 2016, arnaud gaboury wrote: I am really sorry for this post as this may sound like a trivial one, but honestly the timer top

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Mikhail Kasimov
Hello! Due to system.time (https://www.freedesktop.org/software/systemd/man/systemd.time.html) we have a construction "year-month-day hour:minute:second". Hence, OnCalendar=*:12:00 construction means ' run my service at any hour on 12th minute on 00 seconds'. To specify 'running every 12 ho

Re: [systemd-devel] how to encrypt journalctl metadata

2016-08-18 Thread Mikhail Kasimov
Ok, thanks for making this aspect more clear! 18.08.2016 18:00, Lennart Poettering пишет: On Thu, 18.08.16 15:55, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: Hello! Personally, don't we have philosophical contradiction here? -- Journal is positioned as syslog alternative with

Re: [systemd-devel] how to encrypt journalctl metadata

2016-08-18 Thread Mikhail Kasimov
Hello! Personally, don't we have philosophical contradiction here? -- Journal is positioned as syslog alternative with more wide functionality, but in current case we offer to turn off whole journal to make functionality only as transport. No problem, but is RFE to incorporate ExcludeMetaData=

Re: [systemd-devel] Question about OnUnitInactiveSec= directive

2016-07-09 Thread Mikhail Kasimov
read about AccuracySec parameter in man-page carefully. :( Resolved. Thank you again! 09.07.2016 08:23, Andrei Borzenkov пишет: 09.07.2016 01:37, Mikhail Kasimov пишет: Hello! Have a .timer service like: == [Unit] Description=Runs VBA32 Update Hourly Requires=timers.target [Timer] OnBo

[systemd-devel] Question about OnUnitInactiveSec= directive

2016-07-08 Thread Mikhail Kasimov
Hello! Have a .timer service like: == [Unit] Description=Runs VBA32 Update Hourly Requires=timers.target [Timer] OnBootSec=2min OnUnitInactiveSec=1h [Install] WantedBy=timers.target == to run vba32update.service in 1 hour after previous update-session is over (OnUnitInactiveSec=1h)

Re: [systemd-devel] mounting the root file system using systemd unit file

2016-05-15 Thread Mikhail Kasimov
Hello! /etc/systemd/system/root.mount change to /etc/systemd/system/-.mount As I remember, unit naming depends on path, where partition is to be mounted. So, schema is: /home -> home.mount; /my/mountpoint/ -> my-mountpoint.mount; / -> -.mount and so on. UPD: man systemd.mount: = Mount u

Re: [systemd-devel] Internals of journald

2016-05-12 Thread Mikhail Kasimov
Hello! Try this one: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs 12.05.2016 15:19, P.R.Dinesh пишет: I would like to understand the internals of journald, how does journal works, could you please share some links on this subjec

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-12 Thread Mikhail Kasimov
12.02.2016 23:36, Lennart Poettering пишет: > On Fri, 12.02.16 23:12, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> 12.02.2016 22:57, Lennart Poettering пишет: >>> On Fri, 12.02.16 22:28, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: >>> >>

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-12 Thread Mikhail Kasimov
12.02.2016 22:57, Lennart Poettering пишет: > On Fri, 12.02.16 22:28, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >>> TimeoutStopSec= is set to 90s by default. Because it is opt-out and >>> not opt-in it's set pretty much in all cases. >>> >>

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-12 Thread Mikhail Kasimov
12.02.2016 22:17, Lennart Poettering пишет: > On Thu, 11.02.16 20:14, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> 11.02.2016 19:48, Lennart Poettering пишет: >>> On Thu, 11.02.16 19:47, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: >>> >>>&g

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-11 Thread Mikhail Kasimov
11.02.2016 19:48, Lennart Poettering пишет: > On Thu, 11.02.16 19:47, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> 11.02.2016 19:32, Jóhann B. Guðmundsson пишет: >> >>>> * A new service setting RuntimeMaxSec= has been added that >>>>

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-11 Thread Mikhail Kasimov
11.02.2016 19:32, Jóhann B. Guðmundsson пишет: >> * A new service setting RuntimeMaxSec= has been added that >> may be used >>to specify a maximum runtime for a service. If the timeout >> is hit, the >>service is terminated and put into a failure state. > > This d

Re: [systemd-devel] known but not-listed units

2016-01-15 Thread Mikhail Kasimov
15.01.2016 16:30, Simon McVittie пишет: > On 15/01/16 14:13, Mikhail Kasimov wrote: >> ok, let be --systemspace (/usr/lib/systemd/system) --userspace >> (/etc/systemd/system) and --runtimespace (/run/systemd). > > /usr: --vendor? --static? --data? > /etc: --local? --conf?

Re: [systemd-devel] known but not-listed units

2016-01-15 Thread Mikhail Kasimov
That were the first keynames, that came onto mind. :) ok, let be --systemspace (/usr/lib/systemd/system) --userspace (/etc/systemd/system) and --runtimespace (/run/systemd). 15.01.2016 13:13, Colin Guthrie пишет: > Mikhail Kasimov wrote on 14/01/16 15:27: >> 'systemctl list-uni

Re: [systemd-devel] known but not-listed units

2016-01-14 Thread Mikhail Kasimov
Hello! As an additional idea -- to separate lists of 'systemctl list-unit-files' command with subkeys --system, --user and --runtime. By default 'systemctl list-unit-files' should display all unit-files, including runtime generated ones. 'systemctl list-unit-files --system': to display unit-file

Re: [systemd-devel] Direct systemd-journald event-logs tranmssion to Zabbix\Cacti

2015-10-26 Thread Mikhail Kasimov
26.10.2015 17:35, Lennart Poettering пишет: > On Mon, 26.10.15 15:54, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> Hello Lennart! The main question is not about why rsyslog is >> better/worst compared to systemd-journald. The main question is how to >> transm

Re: [systemd-devel] Direct systemd-journald event-logs tranmssion to Zabbix\Cacti

2015-10-26 Thread Mikhail Kasimov
-j REDIRECT --to-port 514. 26.10.2015 13:00, Lennart Poettering пишет: > On Sat, 24.10.15 19:01, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> 1) Non-systemd: >> +-+++ +

Re: [systemd-devel] Direct systemd-journald event-logs tranmssion to Zabbix\Cacti

2015-10-26 Thread Mikhail Kasimov
Anybody online? 24.10.2015 19:01, Mikhail Kasimov пишет: > Hello! > > There is one more question I try to get a clearness for myself -- direct > systemd-journald event-logs tranmssion to Zabbix\Cacti\other log-collector. > > As I understand nowadays we have such event-logs

[systemd-devel] Direct systemd-journald event-logs tranmssion to Zabbix\Cacti

2015-10-24 Thread Mikhail Kasimov
Hello! There is one more question I try to get a clearness for myself -- direct systemd-journald event-logs tranmssion to Zabbix\Cacti\other log-collector. As I understand nowadays we have such event-logs tranmssion schemas: Windows OS system: | Win System | -->|EventLog-To-Syslog Service| -->

Re: [systemd-devel] systemd services via SSH (-H key)

2015-10-22 Thread Mikhail Kasimov
23.10.2015 0:50, Jan Alexander Steffens пишет: > On Thu, Oct 22, 2015 at 11:07 PM, Mikhail Kasimov > wrote: >> Hello! >> >> 1. systemd services have a special key (-H) to connect to remote host >> via ssh. E.g. 'timedatectl -H user@host'. By default por

[systemd-devel] systemd services via SSH (-H key)

2015-10-22 Thread Mikhail Kasimov
Hello! 1. systemd services have a special key (-H) to connect to remote host via ssh. E.g. 'timedatectl -H user@host'. By default port 22 is used. But in very often cases admins change the default ssh-port in sshd-daemon settings (e.g. 41122). It's useful to avoid connections from ssh-bruteforce r