Files
podman/pkg
Jake Correnti 8533ea0004 Privileged containers can now restart if the host devices change
If a privileged container is running, stops, and the devices on the host
change, such as a USB device is unplugged, then a container would no
longer start. Previously, the devices from the host were only being
added to the container once: when the container was created. Now, this
happens every time the container starts.

I did this by adding a boolean to the container config that indicates
whether to mount all of the devices or not, which can be set via an option.

During spec generation, if the `MountAllDevices` option is set in the
container config, all host devices are added to the container.

Additionally, a couple of functions from `pkg/specgen/generate/config_linux.go`
were moved into `pkg/util/utils_linux.go` as they were needed in
multiple packages.

Closes #13899

Signed-off-by: Jake Correnti <jcorrenti13@gmail.com>
2022-06-06 14:14:22 -04:00
..
2022-03-22 13:04:35 +01:00
2022-05-25 12:33:34 +02:00
2022-05-23 14:11:29 +02:00
2021-05-06 11:51:15 +02:00
2022-01-18 12:47:07 +01:00
2022-04-20 18:55:39 +01:00
2022-05-04 08:29:54 -05:00
2022-05-19 15:24:18 -07:00
2022-05-19 13:59:15 +02:00
2022-03-15 14:48:08 +01:00
2022-04-26 18:12:22 +02:00
2022-05-25 05:56:29 -04:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-04-26 15:05:20 +02:00
2020-12-22 13:34:31 -05:00
2022-04-26 18:12:22 +02:00