search for: bindsto

Displaying 13 results from an estimated 13 matches for "bindsto".

Did you mean: binds
2017 Jun 12
5
systemd order help?
I'm looking into 'porting' some custom init.d scripts that are in use on CentOS 6 boxes for use on CentOS 7 using systemd One particular init.d script needs to run after autofs has been started, but before X11 is started I'm guessing I could use something like: After=autofs.service Before=graphical.target Is this correct? However, I would like to use the same systemd
2020 Sep 23
4
Systemd service unit file needs to wait until a specific interface is up
Hi all, With SystemD, how can I make certain service dependent on certain network interfaces being up? For example, I have an 802.1ad bond interface I need to wait on for being up (this interface has no ip address assigned, it is used to capture networks packets with a tcpdump?s script). Every time this service fails because bond interface is not up. I have configured the service as:
2020 Sep 24
2
Systemd service unit file needs to wait until a specific interface is up
...ckexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service > > systemctl list-units --no-pager | grep subsystem-net > > Then look for the device which matches the one you are listening to. Change > the After=network.target to > > > BindsTo=sys-devices-virtual-net-<device>.device > After=sys-devices-virtual-net-<device>.device > > where <device> is the interface you found (aka eth2, br9, bond0 etc) Hmm, there seems to be several layers here. I think sys-devices-<device>.device is "started"...
2018 Sep 27
4
Upgrade 4.8 to 4.9 with Backend-Change to lmdb?
Hi Rowland, >>> - Option 1: ( my personal choice, because this keeps thing in sight >>> ) >>> - ( Domain Member settings and/or Stand-Alone installs ) >>> - Configure smb.conf ( make sure you have configured the idmap >>> settings. ) # - You must set a DOMAIN backend configuration, see >>> below idmap config * : backend = tdb >>>
2017 Jun 12
0
systemd order help?
...ce". The distinction between "After/Before" and "Requires" is exactly for the reason you give; the ordering directives don't require anything, so without display-manager.service enabled, Before=display-manager.service is just a no-op. Actually, you might even want "BindsTo=autofs.service", which is stronger. Depending on your setup, you many want to look at converting your automatic mounts into systemd mounts, and depend on that directly, rather than on the autofs service. -- Matthew Miller <mattdm at fedoraproject.org> Fedora Project Leader
2017 Jun 13
0
systemd order help?
...ce". The distinction between "After/Before" and "Requires" is exactly for the reason you give; the ordering directives don't require anything, so without display-manager.service enabled, Before=display-manager.service is just a no-op. Actually, you might even want "BindsTo=autofs.service", which is stronger. Depending on your setup, you many want to look at converting your automatic mounts into systemd mounts, and depend on that directly, rather than on the autofs service. Just one little thing to note here that many don't realise. All mounts in the syste...
2020 Sep 23
0
Systemd service unit file needs to wait until a specific interface is up
...rs what you want to do https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service systemctl list-units --no-pager | grep subsystem-net Then look for the device which matches the one you are listening to. Change the After=network.target to BindsTo=sys-devices-virtual-net-<device>.device After=sys-devices-virtual-net-<device>.device where <device> is the interface you found (aka eth2, br9, bond0 etc) > My host is CentOS8 x86_64. > > > Regards, > C. L. Martinez > > ____________________________________...
2018 Sep 27
1
Upgrade 4.8 to 4.9 with Backend-Change to lmdb?
...noticed the start up orders wanting to start winbind before smbd and which we can change to avoid this. > Im now testing a bit to these orders as other temp workaround. > But without risking a not starting smbd if winbind is running. > Im testing with. > > [Unit] > PartOf= > BindsTo= > > [Service] > Restart=on-failure > RestartSec=30s > >> The problem that Louis has with installing samba, doesn't have anything >> to do with those lines. It is that smbd will not run on a standalone >> server if winbind is already running, stop winbind, make...
2020 Sep 24
0
Systemd service unit file needs to wait until a specific interface is up
...ait-for-network-interface-to-be-up-before-running-service > > > > systemctl list-units --no-pager | grep subsystem-net > > > > Then look for the device which matches the one you are listening to. > Change > > the After=network.target to > > > > > > BindsTo=sys-devices-virtual-net-<device>.device > > After=sys-devices-virtual-net-<device>.device > > > > where <device> is the interface you found (aka eth2, br9, bond0 etc) > > Hmm, there seems to be several layers here. > > I think sys-devices-<device&g...
2016 Aug 25
3
systemd not restarting daemon
On an up-to-date CentOS 7 system, I am running named-sdb (pulling domain records from MySQL), which is segfaulting randomly (after 3-8 hours or so it appears) in libmysqlclient (I've opened a bug). Since this is an internal service, until the segfault can be addressed, I wanted systemd to restart it for me. I created a file called /etc/systemd/system/named-sdb-chroot.service.d/service.conf
2020 Sep 24
2
Systemd service unit file needs to wait until a specific interface is up
...efore-running-service >> > >> > systemctl list-units --no-pager | grep subsystem-net >> > >> > Then look for the device which matches the one you are listening to. >> Change >> > the After=network.target to >> > >> > >> > BindsTo=sys-devices-virtual-net-<device>.device >> > After=sys-devices-virtual-net-<device>.device >> > >> > where <device> is the interface you found (aka eth2, br9, bond0 etc) >> >> Hmm, there seems to be several layers here. >> >> I th...
2018 May 18
4
Samba 4.8.2
Hi Stefan, Good question here. I'll explain, i'll reply to the list also, this info can also be handy for others . I always follow this approach for my DC upgrades. Start with the DC with FSMO roles then the others. 1) backup. I use virtual machines for the DC's, so i down all my DC's and take an offline snapshot. If you dont have virtual machines, i suggest the
2018 Apr 17
2
can't find how to solve "QEMU guest agent is not connected"
I am trying to make Qemu agent work with libvirt thanks to https://github.com/NixOS/nixops/pull/922 with libvirt 4.1.0. I've been trying to make it work for quite some time but I still haven't the slightest idea of what is wrong, I keep seeing "Guest agent is not responding: QEMU guest agent is not connected" as the program I use (nixops) calls the libvirt python API. I