search for: sd_notifi

Displaying 20 results from an estimated 20 matches for "sd_notifi".

Did you mean: sd_notify
2018 Aug 22
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
On Wed, 2018-08-22 at 09:02 -0500, kevin martin wrote: > Simple seems to have fixed it. I was also trying with "forking" as > the > type and that was failing as well. That is not as simple as that -- we lived with "simple" for long time, but it was not covering some corner cases so we ended up using the sd_notify, since that was the only reliable way for systemd to
2018 Aug 22
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
On Wed, Aug 22, 2018 at 11:23:11AM +0000, Peter Stuge wrote: > I guess that Oracle has patched sshd to call sd_notify() and thus Well, RedHat. > introduced dependency on the systemd libraries for sshd. I don't Yup % ldd /usr/sbin/sshd | grep syst libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f0e5b715000) -- rgds Stephen
2018 Aug 21
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
Latest Oracle Linux (7.5) and openssh 7.4 is bundled as an rpm. this runs fine. if I download openssh 7.6 or 7.7, compile it with the flags --with-pam and --with-pid-dir=/var/run and install it to /usr/local, modify the sshd.service file to point to /usr/local/sbin/sshd, the start hangs. The sshd.service files looks like this: [Unit] Description=OpenSSH server daemon Documentation=man:sshd(8)
2018 Aug 23
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
Damien Miller wrote: > I agree: what is happening here seems to be mostly bad assumptions and > inflexibility inside systemd. I didn't say that, and I don't agree with that, to me it's welcome ambition rather than bad assumptions. Consider this: How could systemd determine whether startup of a foreground daemon completed successfully or failed? Other than explicit
2017 May 12
0
sshd and problems with network vs NetworkManager
Hello, I'm registering a strange new behavior after updating openssh on my CentOS 7.3 server. Firt of all difference of systemd service configuration between new openssh-server-6.6.1p1-35.el7_3.x86_64 and old openssh-server-6.6.1p1-33.el7_3.x86_6 [root at c7service ~]# diff new_sshd.service old_sshd.service 8c8,9 < Type=notify --- > Type=forking > PIDFile=/var/run/sshd.pid 10c11
2023 Jun 20
1
[PATCH] ssh-agent: add systemd socket-based activation
On 6/19/23 20:20, Damien Miller wrote: > > On Fri, 16 Jun 2023, Ronan Pigott wrote: > >> This adds support for systemd socket-based activation in the ssh-agent. >> When using socket activation, the -a flag value must match the socket >> path provided by systemd, as a sanity check. Support for this feature is >> enabled by the --with-systemd configure flag.
2020 Jan 10
2
Building and packaging httpd
Hi, Am rebuilding httpd from scratch to enable http2 and minimize extra modules on Cent Os 8. Am having trouble understanding the spec file [0] and systemd initialization [1][2][3] (these are very similar to those extracted from [4]). Why are 3 scripts needed to start the service and why is a pid setting not needed as used in the httpd.service file at [5]? Benson [0]
2016 Nov 21
42
[Bug 2641] New: Add systemd notify code to to track running server
https://bugzilla.mindrot.org/show_bug.cgi?id=2641 Bug ID: 2641 Summary: Add systemd notify code to to track running server Product: Portable OpenSSH Version: 7.3p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: sshd Assignee:
2019 May 02
2
libvirtd not starting
Hi everybody, I've set up an new CentOS 7.6.1810 server. Then, via yum I installed qemu-kvm libvirt libvirt-python libguestfs-tools virt-install. There were no problems. But when I try to systemctl start libvirtd I get the following message: "libvirtd: process 472: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)"
2018 Aug 22
3
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
kevin martin wrote: > not sure why having the systemd notify code in openssh as a > configure time option would be such a bad thing. At the very least it introduces a dependency on libsystemd into sshd, which is undesirable for reasons of security and convenience. The principle of "you are done when you can not remove any more" confirms that it is unwise to add dependencies
2019 Jan 09
3
systemd
> On Wed, Jan 09, 2019 at 10:43:38AM -0500, Steve Clark wrote: >> I am trying to understand what After= means in a unit file. Does it >> mean after the specified target is up and operational or only that >> the target has been started? >> >> I have something that needs postgres but postgres needs to be >> operational not just started. Sometimes it can take a
2017 Nov 23
7
Compiling Samba 4.7 with systemd support on Fedora 26
The systemd unit file looks like as follows: [Unit] Description=Winbindd Service After=syslog.target network.target [Service] Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba Type=notify NotifyAccess=all PIDFile=/var/run/samba/ ExecStart=/usr/local/samba/sbin/winbindd -D ExecReload=/usr/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] @Rowland I am not blaming samba at all, certainly is
2019 May 02
0
Re: libvirtd not starting
On Thu, May 02, 2019 at 11:22:39AM +0200, Lothar Schilling wrote: >Hi everybody, > >I've set up an new CentOS 7.6.1810 server. Then, via yum I installed >qemu-kvm libvirt libvirt-python libguestfs-tools virt-install. There >were no problems. But when I try to > >systemctl start libvirtd > >I get the following message: > >"libvirtd: process 472: arguments
2019 Jan 09
1
systemd
On 01/09/2019 11:36 AM, Jonathan Billings wrote: > On Wed, Jan 09, 2019 at 10:43:38AM -0500, Steve Clark wrote: >> I am trying to understand what After= means in a unit file. Does it >> mean after the specified target is up and operational or only that >> the target has been started? >> >> I have something that needs postgres but postgres needs to be >>
2020 Jan 10
0
Building and packaging httpd
On Fri, Jan 10, 2020 at 06:18:07PM +0300, Benson Muite wrote: > Am rebuilding httpd from scratch to enable http2 and minimize extra modules > on Cent Os 8. Am having trouble understanding the spec file [0] and systemd > initialization [1][2][3] (these are very similar to those extracted from > [4]). Why are 3 scripts needed to start the service and why is a pid setting > not needed
2014 Sep 26
2
systemd startup on centos 7
Ok I created my script this morning [Unit] Description=Connections After=network.target [Service] Type=notify ExecStart=/home/silentm/bin/mystart [Install] WantedBy=multi-user.target I put it in the correct directory, I rebooted and I see that my mystart script runs- programs start up but then they are killed with signal 15... Is there something else that allows them to continue to run? the
2016 Jul 13
2
Option configure
Under some circumstances for debugging purposes it may be helfpfull to know the PID used during startup as well. Just noted that this one is only listen in forked mode. Samba does fork with type=notify as well but systemd is waiting for sd_notify message in that mode. Anyway, for curiosity i recompiled samba with --without-systemd. If i use type=notify mode now and no PIDFile, systemctl start
2016 Jul 13
2
Option configure
Am 13.07.2016 um 12:09 schrieb Reindl Harald: > > > Am 12.07.2016 um 23:58 schrieb Achim Gottinger: >> With >> >> Type=notify >> NotifyAccess=all >> >> systemctl status samba-ad-dc >> ● samba-ad-dc.service - Samba AD Daemon >> Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled) >> Active: active (running) since Tue
2019 May 02
2
Re: libvirtd not starting
Am 02.05.2019 um 11:43 schrieb Martin Kletzander: > On Thu, May 02, 2019 at 11:22:39AM +0200, Lothar Schilling wrote: >> Hi everybody, >> >> I've set up an new CentOS 7.6.1810 server. Then, via yum I installed >> qemu-kvm libvirt libvirt-python libguestfs-tools virt-install. There >> were no problems. But when I try to >> >> systemctl start libvirtd
2016 Jul 12
4
Option configure
Am 12.07.2016 um 23:21 schrieb Reindl Harald: > > > Am 12.07.2016 um 22:55 schrieb Achim Gottinger: >> Funny current debian service files use a wrong PIDFile path (should be >> /var/run/amba/samba.pid). >> >> If I use Type=forking and an wrong PIDFile systemctl start samba must be >> CTRL-C'ed. >> >> Type=notify works with or without an proper