Skip to content

Commit

Permalink
Add prints for debug
Browse files Browse the repository at this point in the history
Signed-off-by: Yariv Rachmani <[email protected]>
  • Loading branch information
Yarboa committed Jan 20, 2024
1 parent b4242d1 commit a2e6d2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64
additional_repos:
- https://download.copr.fedorainfracloud.org/results/%40centos-automotive-sig/bluechi-snapshot/epel-9-aarch64/

- <<: *copr
project: qm
Expand Down
1 change: 1 addition & 0 deletions qm.container
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ReadOnly=true
# Ref: https://github.com/containers/podman/issues/20439
VolatileTmp=true
Rootfs=${ROOTFS}
GlobalArgs=--log-level=debug

# FIXME: QM is failing to start if SecurityLabelNested is enabled.
# Add back as soon podman 4.7 is released.
Expand Down
5 changes: 4 additions & 1 deletion setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash -e
#! /bin/bash -x
#
# This setup script will install an OS environment by default into
# /usr/lib/qm/rootfs and create a Podman quadlet containerized environment
Expand Down Expand Up @@ -262,6 +262,9 @@ case "$1" in
if [ "$SYSTEMCTL_SKIP" == "N" ]; then
systemctl daemon-reload
systemctl start qm.service
# print for debug
journalctl -xeu qm.service
"$(mount | grep tmpfs ) | xargs -n6"
else
/usr/libexec/podman/quadlet /run/systemd/generator/
fi
Expand Down

0 comments on commit a2e6d2c

Please sign in to comment.