Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionApurbita Mukherjee
2020-04-03 10:42:27 UTC
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Build Identifier:
Automatically starting a container on boot is not possible through cockpit WebUI.
Currently only it is possible to start a container, not have it automatically started on boot.
Reproducible: Always
Steps to Reproduce:
1. Have cockpit-podman installed and running
2. Download an image
3. Create a running container from that image
Actual Results:
No option "start on boot"
Expected Results:
Option "start on boot"
None.
I suppose we could integrate `podman generate systemd` to enable auto-start. I'm not a big fan of its start/stop approach instead of just killing/starting the container (that falls over too much), but at least from cockpit-podman's POV that's the official API. It has a convention for predictable unit names, so that we can also map a container to a unit name to see if autostart is enabled.
This has been introduced in version cockpit-podman-39. It is only supported for superuser for now. Enabling it for normal user might come in future.
See release note: https://cockpit-project.org/blog/cockpit-260.html
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:7457