On Mon, May 27, 2013 at 8:47 AM, Maxime Brun <m.b...@alphalink.fr> wrote:
> Hi, > > There is a problem with the restart action in openvswitch-controller > init script. If service is not running, it failed. > > dh_installinit (with -R in debian/rules) add restart action in postinst. > > If the service is not running (first install for example), postinst > terminate with error and package is not marked correctly installed. > I am not sure I understand what you are trying to say here. Are you saying that installing a openvswitch-controller*.deb fails when it is installed for the first time? If so, I could not reproduce it. Here is my log. root@promg-2n-a-dhcp146:~# dpkg -l | grep openvswitch root@promg-2n-a-dhcp146:~# root@promg-2n-a-dhcp146:~# dpkg -i openvswitch-common_1.11.90-1_amd64.deb openvswitch-pki_1.11.90-1_all.deb Selecting previously unselected package openvswitch-common. (Reading database ... 51629 files and directories currently installed.) Unpacking openvswitch-common (from openvswitch-common_1.11.90-1_amd64.deb) ... Selecting previously unselected package openvswitch-pki. Unpacking openvswitch-pki (from openvswitch-pki_1.11.90-1_all.deb) ... Setting up openvswitch-common (1.11.90-1) ... Processing triggers for man-db ... Setting up openvswitch-pki (1.11.90-1) ... root@promg-2n-a-dhcp146:~# dpkg -i openvswitch-controller_1.11.90-1_amd64.deb Selecting previously unselected package openvswitch-controller. (Reading database ... 51679 files and directories currently installed.) Unpacking openvswitch-controller (from openvswitch-controller_1.11.90-1_amd64.deb) ... Setting up openvswitch-controller (1.11.90-1) ... * Starting ovs-controller ovs-controller 2013-05-28T15:18:00Z|00001|stream_ssl|INFO|Trusting CA cert from /etc/openvswitch-controller/cacert.pem (/C=US/ST=CA/O=Open vSwitch/OU=switchca/CN=OVS switchca CA Certificate (2013 Mar 29 00:15:15)) (fingerprint 97:7d:c5:5c:83:96:c9:0d:49:d2:23:20:10:dc:3f:54:0e:a0:a7:e9) [ OK ] Processing triggers for ureadahead ... Processing triggers for man-db ... root@promg-2n-a-dhcp146:~# root@promg-2n-a-dhcp146:~# root@promg-2n-a-dhcp146:~# dpkg -l | grep openvswitch ii openvswitch-common 1.11.90-1 Open vSwitch common components ii openvswitch-controller 1.11.90-1 Open vSwitch controller implementation ii openvswitch-pki 1.11.90-1 Open vSwitch public key infrastructure dependency package root@promg-2n-a-dhcp146:~# Thanks, Guru > > I use 1.10.0 but there is no change in git repo since. > > I have just add a call to running before stop_server (like in the other > actions) > > > Regards, > > Maxime > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss