Bionic:
-------

lxc launch ubuntu:bionic oslop-b
Creating oslop-b
Starting oslop-b

lxc exec oslop-b bash


root@oslop-b:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic


root@oslop-b:~# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release 
-cs)-proposed.list
> # Enable Ubuntu proposed archive
> deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted 
> main multiverse universe
> EOF

root@oslop-b:~#  cat /etc/apt/sources.list.d/ubuntu-bionic-proposed.list 
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main 
multiverse universe


root@oslop-b:~# apt update && apt install python3-oslo.policy python3-oslotest
...
Setting up python3-oslo.config (1:5.2.0-0ubuntu1) ...
update-alternatives: using /usr/bin/python3-oslo-config-generator to provide 
/usr/bin/oslo-config-generator (oslo-config-generator) in auto mode
Setting up python3-oslo.policy (1.33.1-0ubuntu3) ...

root@oslop-b:~# cd /usr/lib/python3/dist-packages/oslo_policy/


root@oslop-b:/usr/lib/python3/dist-packages/oslo_policy# PYTHONPATH=`realpath 
tests` ; python3 -m unittest 
tests.test_policy.EnforcerTest.test_load_directory_after_file_update
 WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not 
defined.
.
----------------------------------------------------------------------
Ran 1 test in 0.144s

OK


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880959

Title:
  Rules from the policy directory files are not reapplied after changes
  to the primary policy file

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1880959/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to