Re: rdma-core: Bringing up IPoIB devices on boot fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 15, 2018 at 06:10:54PM +0200, Benjamin Drung wrote:
> I added the systemd-udev-settle.service dependency:
> 
> ```
> $ systemctl cat networking.service 
> # /lib/systemd/system/networking.service
> [Unit]
> Description=Raise network interfaces
> Documentation=man:interfaces(5)
> DefaultDependencies=no
> Wants=network.target
> After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service
> Before=network.target shutdown.target network-online.target
> Conflicts=shutdown.target
> 
> [Install]
> WantedBy=multi-user.target
> WantedBy=network-online.target
> 
> [Service]
> Type=oneshot
> EnvironmentFile=-/etc/default/networking
> ExecStartPre=-/bin/sh -c '[ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle'
> ExecStart=/sbin/ifup -a --read-environment
> ExecStop=/sbin/ifdown -a --read-environment --exclude=lo
> RemainAfterExit=true
> TimeoutStartSec=5min
> 
> # /etc/systemd/system/networking.service.d/rdma.conf
> [Unit]
> # See https://marc.info/?l=linux-rdma&m=152639629213650&w=2
> After=systemd-udev-settle.service
> ```
> 
> but it is still not working (same error messages).

I think it needs a Wants as well ?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux