neutron/neutron
aojeagarcia e6c63513de Dropping radvd process privileges
radvd needs to run as root, but has the capability to drop privileges on
linux hosts. Currently, radvd process is not using this feature and
this can be considered a serious risk.

In addition, some distributions like SUSE, radvd process runs as a non
privileged user by default, causing radvd failure to daemonize
because it can't write the pid in the corresponding neutron folder and
break the IPv6 functionality.

This patch allows radvd process to run with the same user used by
neutron. In order to allow this, it changes the radvd config file
permissions to 444 because radvd doesn't allow that this file can be
writeable by self/group. The readonly mode is not a problem updating the
file because of the way the neutron_lib replace_file function handles
the files operations.

Closes-Bug: #1777922

Change-Id: Ic5d976ba71a966a537d1f31888f82997a7ccb0de
Signed-off-by: aojeagarcia <aojeagarcia@suse.com>
(cherry picked from commit 9f2b40f2ce)
2018-06-26 11:20:42 -07:00
..
agent Dropping radvd process privileges 2018-06-26 11:20:42 -07:00
api Fix lack of routes for neighbour IPv4 subnets 2018-06-01 19:58:18 +00:00
callbacks Merge "service: add callback AFTER_SPAWN" 2017-05-20 09:09:12 +00:00
cmd More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
common Fix eventlet imports issue 2018-06-01 10:00:10 +00:00
conf [OVS] Add mac-table-size to be set on each ovs bridge 2018-06-20 18:17:21 +00:00
core_extensions Fix default qos policy when creating network 2017-08-24 14:35:38 +00:00
db Only allow SG port ranges for whitelisted protocols 2018-05-11 00:24:34 +02:00
debug Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
extensions Only allow SG port ranges for whitelisted protocols 2018-05-11 00:24:34 +02:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Always pass device_owner to _ipam_get_subnets() 2018-02-17 18:32:02 +00:00
locale Imported Translations from Zanata 2017-07-18 08:36:04 +00:00
notifiers Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
objects Fix Port OVO filtering based on security groups 2018-06-08 13:25:16 +00:00
pecan_wsgi Dont log about skipping notification in normal case 2017-09-23 20:14:57 +00:00
plugins [OVS] Fix for cleaning after skipped_devices 2018-06-12 20:57:08 +00:00
privileged DVR: Fix allowed_address_pair IP, ARP table update by neutron agent 2018-03-26 17:24:20 -07:00
quota CountableResource: try count/get functions for all plugins 2017-09-12 16:23:22 +00:00
scheduler Avoid redundant HA port creation during migration 2017-09-11 19:56:19 +00:00
server Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
services Merge "Fix error message when duplicate QoS rule is created" into stable/pike 2018-03-08 14:29:07 +00:00
tests Dropping radvd process privileges 2018-06-26 11:20:42 -07:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-20 15:36:35 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-20 15:36:35 +00:00
opts.py fix missing l2pop config option docs 2017-10-23 17:40:00 +02:00
policy.py Log policy filters in one line 2017-08-23 21:23:01 +00:00
service.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00