FS#40374 - [openvswitch] needs to create /var/run/openvswitch
Attached to Project:
Community Packages
Opened by Giulio Fidente (giulivo) - Thursday, 15 May 2014, 10:50 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 15 May 2014, 14:48 GMT
Opened by Giulio Fidente (giulivo) - Thursday, 15 May 2014, 10:50 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 15 May 2014, 14:48 GMT
|
Details
Description:
the ovsdb-server service needs /var/run/openvswitch to start, which instead is not created by the package Additional info: openvswitch 2.1.2-1 Steps to reproduce: install the package and run "systemctl start ovsdb-server" |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 15 May 2014, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: added systemd-tmpfiles to .install
Thursday, 15 May 2014, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: added systemd-tmpfiles to .install
I investigated a bit into this and as you pointed, tmpfiles-setup should create the needed /run/openvswitch directory (I think you can actually remove the trailing -) ... yet tmpfiles-setup only runs once at boot time so it gets no notifications about new files in tmpfiles.d :(
maybe you could create it via .install script to make sure it is there after the initial package installation and before next reboot? seems a bit of a hack but ... :(