openstack-ansible-os_nova/files
cmart 7ad805df1f Fix kernel post-installation script
`/etc/kernel/postinst.d/nova-kernel-permissions.sh` (introduced to fix Bug #1507915) is supposed to make newly installed kernels readable to the nova user, as kernels on an Ubuntu system are otherwise only readable to the root user [0].

This script didn't work for a few reasons:

- It never ran, because scripts in `/etc/kernel/postinst.d` are called by `run-parts`, and run-parts skips any script with a period in the name [1].
- Its shebang was missing its bang
- If installation of the same kernel is installed more than once (e.g. reinstallation), `dpkg-statoverride` (and the whole kernel installation) would exit with error, complaining about an override already existing [2].

Fixed with these changes respectively:
- Renamed script to remove the period
- Fixed typo in shebang
- Added `--force` flag to `dpkg-statoverride`

[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725
[1] https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/38022
[2] https://bugs.launchpad.net/openstack-manuals/+bug/1275080

Change-Id: I0e130e3c3ecf2171dbdc0e9a809f8066c30d4bc9
Closes-Bug: 1763479
2018-04-12 14:58:30 -04:00
..
rootwrap.d Update paste, policy and rootwrap configurations 2018-03-31 2018-04-12 14:43:37 +00:00
nova_kernel_permissions Fix kernel post-installation script 2018-04-12 14:58:30 -04:00
osa-nova.te Optimize SELinux bits in os_nova 2018-02-05 12:57:09 -06:00
smt.conf Disable SMT for ppc64 hypervisor and set VNC 2016-11-02 14:47:23 +00:00
smt.service Disable SMT for ppc64 hypervisor and set VNC 2016-11-02 14:47:23 +00:00
ssh_config Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00