dustymabe changed the topic of #fedora-coreos to: Fedora CoreOS :: Find out more at https://getfedora.org/coreos/ :: Logs at https://libera.irclog.whitequark.org/fedora-coreos
Betal has quit [Quit: WeeChat 3.8]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
<guesswhat[m]> Any idea how to debug kill() signals on FCOS? Ive tried to install bcc-tools to explore it wit killsnoop, but I have hard times installing it. Thanks
sentenza_ has quit [Remote host closed the connection]
pando has joined #fedora-coreos
millerthegorilla has joined #fedora-coreos
<millerthegorilla> hi, trying to pull in remote files during ignition, but getting certificate error due to time being set wrong.  How to set time so it is correct?  I have set the correct timezone, but no go.  Do I have to manually configure chronyd?'
admin__ has joined #fedora-coreos
millerthegorilla has quit [Client Quit]
admin__ is now known as millerthegorilla
<millerthegorilla> time sync is not happening on first boot, so external https sources are failing with x509 wrong time error. I see there is a github issue, but I guess it isn't solved for raspberry pi which has no battery rtc. https://github.com/coreos/ignition/issues/870
sentenza has joined #fedora-coreos
sentenza has quit [Remote host closed the connection]
<millerthegorilla> coreos image has no python!? so impossible to use ansible? seems a bit strange, and there is no ignition config to allow installation of files. I guess I will have to set up a oneshot systemd service?
<apollo13[m]> Using ansible to configure coreos seems to be a bit against it's point. The idea is that the image is basically configured as you need it and for changes you deploy a new image
<millerthegorilla> apollo13 so how do I configure an image? Currently I am following the instructions at https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-raspberry-pi4/ and coreos-installer downloads the aarch64 image. I looked at coreos-installer iso customize, but it doesn't look like you can configure which packages are ultimately in the iso.
<millerthegorilla> and I am using ansible to install a bunch of packages and configure them, and also to configure a podman container setup. I don't think ignition can do that by itself.
bgilbert has joined #fedora-coreos
<millerthegorilla> apollo13[m], I guess I could chroot into the provisioned disk's system... seems a lot of hassle though.
bgilbert has quit [Ping timeout: 252 seconds]
<apollo13[m]> Well my look on things might not 100% align with the coreos team but those are my thoughts: you can use rpm-ostree to install packages but that should basically be a last resort. You can use ignition to fetch binaries (not packages) and put them into the correct location. Or (and that is imo the way that follows the concept the most) build your own images. Either via cosa or by using docker images (yes you can use special docker
<apollo13[m]> images as upgrade targets for coreos).
<uny[m]> CoreOS's /var/log/README is a broken link. Is this worth a bug report?
<millerthegorilla> apollo13 - not good enough. There is no way I am going to shove binaries onto an image. I will only ever use the appropriate package manager as this does config, auditing, and guarantees correctly installed secure package.
<millerthegorilla> the butane specification should have a 'packages' section, to allow the specification of packages to be installed on first boot. Problem being that rpm-ostree then needs to reboot after install for new package tree to be current.
<apollo13[m]> millerthegorilla: do whatever you like, I am not trying to convince you. That said you should forget the idea that coreos has a "package manager". I would see it more like a stripped disk image and for an update you just boot another image
<millerthegorilla> An alternative would be to allow the customization of an image in the way that one can customize a podman image.
<apollo13[m]> You can customize coreos like you can with a podman image
<apollo13[m]> This is what I have written as option above
<millerthegorilla> coreos certainly has a package manager. rpm-ostree and its management of packages via an immutable os is the priniciple reason that I am using coreos. Immutability is a highly secure feature.
<apollo13[m]> But if you are using rpm-ostree inside the system that kinda goes against the idea of immutability for me. Ymmv
<millerthegorilla> apollo13 do you mind letting me know how? And I mean not by hacking it?
<millerthegorilla> ok fella. whatever you say.
<uny[m]> <apollo13[m]> "But if you are using rpm-..." <- Absolutely true in my experience. Tracking down issues on a stock CoreOS system is relatively easy since everyone's running it. Tracking down issues on a system with a bunch of layers and overrides, however, is not easy. And the first thing you're asked to do is to get rid of them and see if the bug still exists.
<uny[m]> Life's easier when the customization goes inside the containers.
<uny[m]> That said, it's pretty tough to keep to zero layered packages.
<apollo13[m]> Depends imo, building custom images with cosa directly is not impossible. And in general I think the container approach brings the best of the two worlds: you can add your own packages but you also get it in image form from the start which is useful if you run more than one machine
<millerthegorilla> hmm, it occurs that I can pull a podman container and then alias it to obtain python.
millerthegorilla has quit [Quit: Leaving]
<apollo13[m]> yeah you can do that, though I don't think that will help you with ansible
sentenza has joined #fedora-coreos
<walters> You can also run Ansible as part of a container build, deriving from FCOS: https://github.com/coreos/layering-examples/tree/main/ansible-firewalld
lvrabec has quit [Quit: ZNC 1.8.2 - https://znc.in]
lvrabec has joined #fedora-coreos
plarsen has joined #fedora-coreos
sentenza has quit [Read error: Connection reset by peer]
sentenza has joined #fedora-coreos
Betal has joined #fedora-coreos