2016-05-10 07:13:35 |
Tommy Giesler |
bug |
|
|
added bug |
2016-05-10 12:37:14 |
Launchpad Janitor |
pcs (Ubuntu): status |
New |
Confirmed |
|
2016-05-10 12:38:14 |
Noran |
bug |
|
|
added subscriber Noran |
2016-06-21 16:27:26 |
Wojciech Giel |
bug |
|
|
added subscriber Wojciech Giel |
2016-11-14 23:39:09 |
Rafael David Tinoco |
pcs (Ubuntu): assignee |
|
Rafael David Tinoco (inaddy) |
|
2016-11-15 00:05:55 |
Rafael David Tinoco |
bug watch added |
|
https://github.com/ClusterLabs/pcs/issues/51 |
|
2016-11-15 00:06:03 |
Rafael David Tinoco |
pcs (Ubuntu): importance |
Undecided |
Medium |
|
2016-11-15 00:06:09 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Xenial |
|
2016-11-17 15:22:24 |
Mario Splivalo |
bug |
|
|
added subscriber Mario Splivalo |
2016-12-06 00:18:34 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Zesty |
|
2016-12-06 00:18:34 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Yakkety |
|
2016-12-09 04:00:34 |
Rafael David Tinoco |
description |
Greetings,
pcsd does only bind to IPv6 instead of IPv4 and IPv6, if it is started on a machine, which has active IPv6 support.
----------------->%-----------------
lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
-----------------%<-----------------
apt-cache policy pcs
pcs:
Installed: 0.9.149-1
Candidate: 0.9.149-1
Version table:
*** 0.9.149-1 500
500 http://mirror.hetzner.de/ubuntu/packages xenial/universe amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
----------------->%-----------------
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:a2:01:54:c6 brd ff:ff:ff:ff:ff:ff
inet 172.31.1.100/24 brd 172.31.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::5054:a2ff:fe01:54c6/64 scope link
valid_lft forever preferred_lft forever
-----------------%<-----------------
By default it should bind to all available IPv4 and IPv6 interfaces. Instead it only bind to the IPv6:
----------------->%-----------------
netstat -ap |grep ruby
tcp6 0 0 [::]:2224 [::]:* LISTEN 12430/ruby
-----------------%<-----------------
After changing the following in the /usr/share/pcsd/ssl.rb, it binds to IPv4 and IPv6:
----------------->%-----------------
# diff /usr/share/pcsd/ssl.rb /usr/share/pcsd/ssl.rb.bak
50,51c50,51
< :BindAddress => 'nil',
< :Host => '*',
---
> :BindAddress => '::',
> :Host => '::',
-----------------%<-----------------
netstat -ap |grep ruby
tcp 0 0 *:2224 *:* LISTEN 12465/ruby
tcp6 0 0 [::]:2224 [::]:* LISTEN 12465/ruby
----------------->%----------------- |
[Impact]
* PCS doesn't listen to IPv4 by default.
[Test Case]
* Install PCS and check netstat.
[Regression Potential]
* Stop listening on IPv6 also.
* Almost none.
[Other Info]
* Fixing LP: #1580045 in SRU for LP: #1640919.
[Original Description]
Greetings,
pcsd does only bind to IPv6 instead of IPv4 and IPv6, if it is started on a machine, which has active IPv6 support.
----------------->%-----------------
lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
-----------------%<-----------------
apt-cache policy pcs
pcs:
Installed: 0.9.149-1
Candidate: 0.9.149-1
Version table:
*** 0.9.149-1 500
500 http://mirror.hetzner.de/ubuntu/packages xenial/universe amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
----------------->%-----------------
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:a2:01:54:c6 brd ff:ff:ff:ff:ff:ff
inet 172.31.1.100/24 brd 172.31.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::5054:a2ff:fe01:54c6/64 scope link
valid_lft forever preferred_lft forever
-----------------%<-----------------
By default it should bind to all available IPv4 and IPv6 interfaces. Instead it only bind to the IPv6:
----------------->%-----------------
netstat -ap |grep ruby
tcp6 0 0 [::]:2224 [::]:* LISTEN 12430/ruby
-----------------%<-----------------
After changing the following in the /usr/share/pcsd/ssl.rb, it binds to IPv4 and IPv6:
----------------->%-----------------
# diff /usr/share/pcsd/ssl.rb /usr/share/pcsd/ssl.rb.bak
50,51c50,51
< :BindAddress => 'nil',
< :Host => '*',
---
> :BindAddress => '::',
> :Host => '::',
-----------------%<-----------------
netstat -ap |grep ruby
tcp 0 0 *:2224 *:* LISTEN 12465/ruby
tcp6 0 0 [::]:2224 [::]:* LISTEN 12465/ruby
----------------->%----------------- |
|
2016-12-09 15:05:07 |
Mattia Rizzolo |
bug task added |
|
pcs (Ubuntu Zesty) |
|
2016-12-09 15:05:24 |
Mattia Rizzolo |
bug task added |
|
pcs (Ubuntu Yakkety) |
|
2016-12-09 15:05:32 |
Mattia Rizzolo |
bug task added |
|
pcs (Ubuntu Xenial) |
|
2016-12-10 14:39:10 |
Mattia Rizzolo |
pcs (Ubuntu Zesty): status |
Confirmed |
Fix Released |
|
2016-12-10 14:39:12 |
Mattia Rizzolo |
pcs (Ubuntu Zesty): assignee |
Rafael David Tinoco (inaddy) |
|
|
2016-12-10 14:39:27 |
Mattia Rizzolo |
pcs (Ubuntu Yakkety): status |
New |
Fix Released |
|
2016-12-10 14:39:31 |
Mattia Rizzolo |
pcs (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2016-12-10 14:39:34 |
Mattia Rizzolo |
pcs (Ubuntu Xenial): status |
New |
In Progress |
|
2016-12-10 14:39:37 |
Mattia Rizzolo |
pcs (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2016-12-10 14:39:43 |
Mattia Rizzolo |
pcs (Ubuntu Xenial): assignee |
|
Rafael David Tinoco (inaddy) |
|
2016-12-15 17:23:07 |
Brian Murray |
pcs (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-12-15 17:23:10 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-12-15 17:23:17 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2016-12-15 17:23:25 |
Brian Murray |
tags |
|
verification-needed |
|
2017-01-03 21:42:51 |
Felipe Reyes |
tags |
verification-needed |
verification-done-xenial verification-needed |
|
2017-01-04 03:02:36 |
Felipe Reyes |
tags |
verification-done-xenial verification-needed |
verification-done verification-done-xenial |
|
2017-01-04 16:34:44 |
Felipe Reyes |
tags |
verification-done verification-done-xenial |
sts verification-done verification-done-xenial |
|
2017-01-05 16:32:12 |
Launchpad Janitor |
pcs (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-01-05 16:32:23 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-01-21 17:12:58 |
Noran |
removed subscriber Noran |
|
|
|