-
-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Description
During workshop cfgmgmtcamp2026 I wrote a little MCL to ensure package "fish" and use it for user root.
In all odds this package in particular gets mgmt into a long loop for 3min+.
05:28:52 engine: autoedge: building...
05:32:15 engine: autoedge: the auto edge list is empty for: user[root]
05:32:15 main: auto edges took: 3m23.613527373s
os-release information from VM:
[root@workshop7 ~]# cat /etc/os-release
NAME="Fedora Linux"
VERSION="42 (Adams)"
RELEASE_TYPE=stable
[...]
With mgmt pre-provisioned on it:
[root@workshop7 ~]# which mgmt
/usr/local/bin/mgmt
[root@workshop7 ~]# mgmt --version
1.0.1-91-g7e93bf1df-dirty
Following snippet has been executed with strace. Output is attached.
Trying to ^C will still keep mgmt busy in a loop, before it eventually quits properly.
mgmt-pkg-fish-output.txt
mgmt-pkg-fish-strace.txt
# Ensure fish shell and make it the default shell for user root
pkg "fish" {
state => "installed",
}
user "root" {
state => "exists",
shell => "/bin/fish",
# dependencies
Depend => Pkg["fish"],
}
I re-executed by commenting the user resource, and reproduced again with just the resource pkg.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels