You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above referenced find command fails (No such file or directory) and build stops with failed exit status.
Did some digging. ifcfg files (in the /etc/sysconfig/network-scripts directory) have been deprecated since Fedora 36 in favor of NetworkManager keyfiles (aka ini files) [1]. However ifcfg files would still work.
In Fedora 41, the network-scripts package (which provides the ifcfg files and their support) was completely removed from Fedora 41 [2]. Due to this removal, we no longer get an /etc/sysconfig/network-scripts directory, and so this cleanup failure.
This change needs to be accounted for in Fedora's cleanup script.
Just thinking "out loud". A quick first-pass fix may be to just check for the existence of the directory (aka wrap this find in an if [ -d /etc/sysconfig/network-scripts]; then ; fi)
bento/packer_templates/scripts/fedora/cleanup_dnf.sh
Line 28 in 74602d4
Above referenced find command fails (No such file or directory) and build stops with failed exit status.
Did some digging. ifcfg files (in the /etc/sysconfig/network-scripts directory) have been deprecated since Fedora 36 in favor of NetworkManager keyfiles (aka ini files) [1]. However ifcfg files would still work.
In Fedora 41, the network-scripts package (which provides the ifcfg files and their support) was completely removed from Fedora 41 [2]. Due to this removal, we no longer get an /etc/sysconfig/network-scripts directory, and so this cleanup failure.
This change needs to be accounted for in Fedora's cleanup script.
[1] https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to-keyfiles/
[2] https://fedoraproject.org/wiki/Releases/41/ChangeSet#Removing_network-scripts_package
The text was updated successfully, but these errors were encountered: