Closed arachnist closed 1 year ago
Installer fails to remove old leftover directories when it's removing old files from ESP.
++ mktemp -d -t tmp.XXXXXXXXXX + scratch=/tmp/tmp.tSP6NVgf2Z + trap finish EXIT + cd /tmp/tmp.tSP6NVgf2Z + /nix/store/qnzhdp1kkkjg28gfmvfj1p45jws88ffi-bootspec-secureboot-unreleased/bin/generator /nix/var/nix/profiles/system-28-link /nix/var/nix/profiles/system-29-link /nix/var/nix/profiles/system-30-link /nix/var/nix/profiles/system-31-link /nix/var/nix/profiles/system-32-link /nix/var/nix/profiles/system-33-link /nix/var/nix/profiles/system-34-link /nix/var/nix/profiles/system-35-link /nix/var/nix/profiles/system-36-link /nix/var/nix/profiles/system-37-link /nix/var/nix/profiles/system-38-link /nix/var/nix/profiles/system-39-link /nix/var/nix/profiles/system-40-link /nix/var/nix/profiles/system-41-link /nix/var/nix/profiles/system-42-link /nix/var/nix/profiles/system-43-link /nix/var/nix/profiles/system-44-link /nix/var/nix/profiles/system-45-link /nix/var/nix/profiles/system-46-link /nix/var/nix/profiles/system-47-link /nix/var/nix/profiles/system-48-link /nix/var/nix/profiles/system-49-link /nix/var/nix/profiles/system-50-link /nix/var/nix/profiles/system-51-link /nix/var/nix/profiles/system-52-link /nix/var/nix/profiles/system-53-link /nix/var/nix/profiles/system-54-link /nix/var/nix/profiles/system-55-link /nix/var/nix/profiles/system-56-link /nix/var/nix/profiles/system-57-link /nix/var/nix/profiles/system-58-link /nix/var/nix/profiles/system-59-link /nix/var/nix/profiles/system-60-link /nix/var/nix/profiles/system-61-link /nix/var/nix/profiles/system-62-link /nix/var/nix/profiles/system-63-link /nix/var/nix/profiles/system-64-link --systemd-machine-id-setup /nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/bin/systemd-machine-id-setup --unified-efi --objcopy /nix/store/cz52w8xf3i1d3xvzpzd9abf7rvpl9017-binutils-2.38/bin/objcopy --systemd-efi-stub /nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/lib/systemd/boot/efi/linuxx64.efi.stub + /nix/store/qnzhdp1kkkjg28gfmvfj1p45jws88ffi-bootspec-secureboot-unreleased/bin/installer --toplevel=/nix/store/q2ja0jrcgxbwbfhn4yhfj40718m8h8yn-nixos-system-microlith-22.11pre-git --verbosity --verbosity --verbosity --verbosity --esp /boot --console-mode 1 --timeout 5 --bootctl /nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/bin/bootctl --generated-entries ./systemd-boot-entries --signing-key /home/ar/secureboot-v2/DB.key --signing-cert /home/ar/secureboot-v2/DB.crt --unified-efi --sbsign /nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign --sbverify /nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbverify TRACE beginning systemd-boot install process DEBUG dry_run? false TRACE getting list of generations DEBUG generations_len: 37 TRACE started updating / installing TRACE updating systemd-boot TRACE checking systemd version DEBUG running `/nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/bin/bootctl` with args `["--version"]` TRACE parsing `bootctl --version` output INFO updating systemd-boot to 250.4 DEBUG running `/nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/bin/bootctl` with args `["update", "--path", "/boot"]` Skipping "/boot/EFI/systemd/systemd-bootx64.efi", since same boot loader version in place already. Skipping "/boot/EFI/BOOT/BOOTX64.EFI", since same boot loader version in place already. INFO failed to run `/nix/store/h8gadrivdrl2rh71v38ly22ihmffl6k0-systemd-250.4/bin/bootctl` with args `["update", "--path", "/boot"]` TRACE signing efi files DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "/boot/EFI/systemd/systemd-bootx64.efi", "/boot/EFI/systemd/systemd-bootx64.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "/boot/EFI/BOOT/BOOTX64.EFI", "/boot/EFI/BOOT/BOOTX64.EFI"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/00b0yk20k0qmh3wyh4w802ps54v9lwq7.efi", "systemd-boot-entries/EFI/nixos/00b0yk20k0qmh3wyh4w802ps54v9lwq7.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/0kn672c9y65p68kdb7r83y8pq1s5g44a.efi", "systemd-boot-entries/EFI/nixos/0kn672c9y65p68kdb7r83y8pq1s5g44a.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/14b96yxd7rbb0cxry7mpb8hrjambdwfm.efi", "systemd-boot-entries/EFI/nixos/14b96yxd7rbb0cxry7mpb8hrjambdwfm.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/293qqca77k4gslvs4v0jkz5flv306gfn.efi", "systemd-boot-entries/EFI/nixos/293qqca77k4gslvs4v0jkz5flv306gfn.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/2i9cv6ifrlckminpznscc569zva0jacg.efi", "systemd-boot-entries/EFI/nixos/2i9cv6ifrlckminpznscc569zva0jacg.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/3chi1ab8zhyxdhdhxqw7af75fijmqn3z.efi", "systemd-boot-entries/EFI/nixos/3chi1ab8zhyxdhdhxqw7af75fijmqn3z.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/48dsp780d7bib0lk534dwifl5532yxrd.efi", "systemd-boot-entries/EFI/nixos/48dsp780d7bib0lk534dwifl5532yxrd.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/4hryhkrm46lvr9lh64agrrhc01cmsqzj.efi", "systemd-boot-entries/EFI/nixos/4hryhkrm46lvr9lh64agrrhc01cmsqzj.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/5b1gk77xalnzmdm3csybj5x5p16ffldj.efi", "systemd-boot-entries/EFI/nixos/5b1gk77xalnzmdm3csybj5x5p16ffldj.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/66id2rw27x38908fm8s59km8zqqpkp9p.efi", "systemd-boot-entries/EFI/nixos/66id2rw27x38908fm8s59km8zqqpkp9p.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/7fwmfly76w9dvfd5jpk7ppg5rxfa681m.efi", "systemd-boot-entries/EFI/nixos/7fwmfly76w9dvfd5jpk7ppg5rxfa681m.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/82k0ikc39zihq6ff7p2ycrjj9plplsiz.efi", "systemd-boot-entries/EFI/nixos/82k0ikc39zihq6ff7p2ycrjj9plplsiz.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/8j38i3lfjill907bh2b85243sx729lgs.efi", "systemd-boot-entries/EFI/nixos/8j38i3lfjill907bh2b85243sx729lgs.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/a302yg31yj7fgqi48s0lya13ssbrh8pw.efi", "systemd-boot-entries/EFI/nixos/a302yg31yj7fgqi48s0lya13ssbrh8pw.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/agf0w2ii59y1dvs82fqqjf6b20lv2xmh.efi", "systemd-boot-entries/EFI/nixos/agf0w2ii59y1dvs82fqqjf6b20lv2xmh.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/b671vaqnqdfw7qbsd7ma8svy4ai6qn2v.efi", "systemd-boot-entries/EFI/nixos/b671vaqnqdfw7qbsd7ma8svy4ai6qn2v.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/d16rgfn451nnz67ljv9rn9hw9s80wik3.efi", "systemd-boot-entries/EFI/nixos/d16rgfn451nnz67ljv9rn9hw9s80wik3.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/dsbgv9hw9xsllfd3k89fw72cqk6hv9ba.efi", "systemd-boot-entries/EFI/nixos/dsbgv9hw9xsllfd3k89fw72cqk6hv9ba.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/hgqziwyfqz4jwkr0s0ysnrh1gyz8kwbx.efi", "systemd-boot-entries/EFI/nixos/hgqziwyfqz4jwkr0s0ysnrh1gyz8kwbx.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/ig9jpgi8rdw5n0z1aly0jqrcbmz8vm76.efi", "systemd-boot-entries/EFI/nixos/ig9jpgi8rdw5n0z1aly0jqrcbmz8vm76.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/jmpsgf7ah5p4p491ddfyn0y5a4vvy5aw.efi", "systemd-boot-entries/EFI/nixos/jmpsgf7ah5p4p491ddfyn0y5a4vvy5aw.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/k2igvsg04mcx3jm5x7yv24xfl4y20r0h.efi", "systemd-boot-entries/EFI/nixos/k2igvsg04mcx3jm5x7yv24xfl4y20r0h.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/lsfy86y4kyxr4l3a358vgzjzl4w0pgn0.efi", "systemd-boot-entries/EFI/nixos/lsfy86y4kyxr4l3a358vgzjzl4w0pgn0.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/n38jg7v663w93rblq4szw8f53kipm84q.efi", "systemd-boot-entries/EFI/nixos/n38jg7v663w93rblq4szw8f53kipm84q.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/nxh0dxh8xld9nxzgfvmil5k1acxj2mmb.efi", "systemd-boot-entries/EFI/nixos/nxh0dxh8xld9nxzgfvmil5k1acxj2mmb.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/q2ja0jrcgxbwbfhn4yhfj40718m8h8yn.efi", "systemd-boot-entries/EFI/nixos/q2ja0jrcgxbwbfhn4yhfj40718m8h8yn.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/rnmr98wr5pg72ix86dnzhwa3cbinrrj4.efi", "systemd-boot-entries/EFI/nixos/rnmr98wr5pg72ix86dnzhwa3cbinrrj4.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/sd7md1qh0zvcs7dm7c3nsjwlb40s365y.efi", "systemd-boot-entries/EFI/nixos/sd7md1qh0zvcs7dm7c3nsjwlb40s365y.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/srvfxhl2aqslhqw5py3xm4vayzxk0fmb.efi", "systemd-boot-entries/EFI/nixos/srvfxhl2aqslhqw5py3xm4vayzxk0fmb.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/sw2ckr7vm80z0glqv7yk9z0pcjpa3rhb.efi", "systemd-boot-entries/EFI/nixos/sw2ckr7vm80z0glqv7yk9z0pcjpa3rhb.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/v96s29hqxmvaap4x5kzax0430iy61yq3.efi", "systemd-boot-entries/EFI/nixos/v96s29hqxmvaap4x5kzax0430iy61yq3.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/vgnsnsw4c1sxbrv0i835f6cdylpshzdc.efi", "systemd-boot-entries/EFI/nixos/vgnsnsw4c1sxbrv0i835f6cdylpshzdc.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/w4fnxcjij33pq3hilnvvdn2l1qyj3rn4.efi", "systemd-boot-entries/EFI/nixos/w4fnxcjij33pq3hilnvvdn2l1qyj3rn4.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/wy916wjf1w08k88j4ww38pr26p4x733a.efi", "systemd-boot-entries/EFI/nixos/wy916wjf1w08k88j4ww38pr26p4x733a.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/x8d4qm02inmpch4n8w9jbzkix51jbi4v.efi", "systemd-boot-entries/EFI/nixos/x8d4qm02inmpch4n8w9jbzkix51jbi4v.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/yv2l4pwlhyv477mm5hydy17mw0lv2sbc.efi", "systemd-boot-entries/EFI/nixos/yv2l4pwlhyv477mm5hydy17mw0lv2sbc.efi"]` DEBUG running `/nix/store/8z8i2aszlahiscd3izhprya25fvr6dsf-sbsigntool-0.9.4/bin/sbsign` with args `["--key", "/home/ar/secureboot-v2/DB.key", "--cert", "/home/ar/secureboot-v2/DB.crt", "--output", "systemd-boot-entries/EFI/nixos/z23nzk8f6qk44pan8cys2a4z84lvy1dv.efi", "systemd-boot-entries/EFI/nixos/z23nzk8f6qk44pan8cys2a4z84lvy1dv.efi"]` TRACE pruning paths: ["./systemd-boot-entries", "/boot"] DEBUG removing old entries / kernels / initrds from './systemd-boot-entries' TRACE removing old files DEBUG calculating required filenames TRACE required files calculated: [ "srvfxhl2aqslhqw5py3xm4vayzxk0fmb.efi", "nixos-generation-28.conf", "293qqca77k4gslvs4v0jkz5flv306gfn.efi", "nixos-generation-29.conf", "jmpsgf7ah5p4p491ddfyn0y5a4vvy5aw.efi", "nixos-generation-30.conf", "sd7md1qh0zvcs7dm7c3nsjwlb40s365y.efi", "nixos-generation-31.conf", "8j38i3lfjill907bh2b85243sx729lgs.efi", "nixos-generation-32.conf", "00b0yk20k0qmh3wyh4w802ps54v9lwq7.efi", "nixos-generation-33.conf", "v96s29hqxmvaap4x5kzax0430iy61yq3.efi", "nixos-generation-34.conf", "x8d4qm02inmpch4n8w9jbzkix51jbi4v.efi", "nixos-generation-35.conf", "z23nzk8f6qk44pan8cys2a4z84lvy1dv.efi", "nixos-generation-36.conf", "yv2l4pwlhyv477mm5hydy17mw0lv2sbc.efi", "nixos-generation-37.conf", "rnmr98wr5pg72ix86dnzhwa3cbinrrj4.efi", "nixos-generation-38.conf", "ig9jpgi8rdw5n0z1aly0jqrcbmz8vm76.efi", "nixos-generation-39.conf", "48dsp780d7bib0lk534dwifl5532yxrd.efi", "nixos-generation-40.conf", "4hryhkrm46lvr9lh64agrrhc01cmsqzj.efi", "nixos-generation-41.conf", "66id2rw27x38908fm8s59km8zqqpkp9p.efi", "nixos-generation-42.conf", "b671vaqnqdfw7qbsd7ma8svy4ai6qn2v.efi", "nixos-generation-43.conf", "a302yg31yj7fgqi48s0lya13ssbrh8pw.efi", "nixos-generation-44.conf", "dsbgv9hw9xsllfd3k89fw72cqk6hv9ba.efi", "nixos-generation-45.conf", "14b96yxd7rbb0cxry7mpb8hrjambdwfm.efi", "nixos-generation-46.conf", "agf0w2ii59y1dvs82fqqjf6b20lv2xmh.efi", "nixos-generation-47.conf", "lsfy86y4kyxr4l3a358vgzjzl4w0pgn0.efi", "nixos-generation-48.conf", "5b1gk77xalnzmdm3csybj5x5p16ffldj.efi", "nixos-generation-49.conf", "nxh0dxh8xld9nxzgfvmil5k1acxj2mmb.efi", "nixos-generation-50.conf", "k2igvsg04mcx3jm5x7yv24xfl4y20r0h.efi", "nixos-generation-51.conf", "vgnsnsw4c1sxbrv0i835f6cdylpshzdc.efi", "nixos-generation-52.conf", "sw2ckr7vm80z0glqv7yk9z0pcjpa3rhb.efi", "nixos-generation-53.conf", "hgqziwyfqz4jwkr0s0ysnrh1gyz8kwbx.efi", "nixos-generation-54.conf", "3chi1ab8zhyxdhdhxqw7af75fijmqn3z.efi", "nixos-generation-55.conf", "n38jg7v663w93rblq4szw8f53kipm84q.efi", "nixos-generation-56.conf", "wy916wjf1w08k88j4ww38pr26p4x733a.efi", "nixos-generation-57.conf", "0kn672c9y65p68kdb7r83y8pq1s5g44a.efi", "nixos-generation-58.conf", "82k0ikc39zihq6ff7p2ycrjj9plplsiz.efi", "nixos-generation-59.conf", "d16rgfn451nnz67ljv9rn9hw9s80wik3.efi", "nixos-generation-60.conf", "7fwmfly76w9dvfd5jpk7ppg5rxfa681m.efi", "nixos-generation-61.conf", "2i9cv6ifrlckminpznscc569zva0jacg.efi", "nixos-generation-62.conf", "w4fnxcjij33pq3hilnvvdn2l1qyj3rn4.efi", "nixos-generation-63.conf", "q2ja0jrcgxbwbfhn4yhfj40718m8h8yn.efi", "nixos-generation-64.conf", ] DEBUG removing old entries DEBUG removing old kernels / initrds DEBUG removing old entries / kernels / initrds from '/boot' TRACE removing old files DEBUG calculating required filenames TRACE required files calculated: [ "srvfxhl2aqslhqw5py3xm4vayzxk0fmb.efi", "nixos-generation-28.conf", "293qqca77k4gslvs4v0jkz5flv306gfn.efi", "nixos-generation-29.conf", "jmpsgf7ah5p4p491ddfyn0y5a4vvy5aw.efi", "nixos-generation-30.conf", "sd7md1qh0zvcs7dm7c3nsjwlb40s365y.efi", "nixos-generation-31.conf", "8j38i3lfjill907bh2b85243sx729lgs.efi", "nixos-generation-32.conf", "00b0yk20k0qmh3wyh4w802ps54v9lwq7.efi", "nixos-generation-33.conf", "v96s29hqxmvaap4x5kzax0430iy61yq3.efi", "nixos-generation-34.conf", "x8d4qm02inmpch4n8w9jbzkix51jbi4v.efi", "nixos-generation-35.conf", "z23nzk8f6qk44pan8cys2a4z84lvy1dv.efi", "nixos-generation-36.conf", "yv2l4pwlhyv477mm5hydy17mw0lv2sbc.efi", "nixos-generation-37.conf", "rnmr98wr5pg72ix86dnzhwa3cbinrrj4.efi", "nixos-generation-38.conf", "ig9jpgi8rdw5n0z1aly0jqrcbmz8vm76.efi", "nixos-generation-39.conf", "48dsp780d7bib0lk534dwifl5532yxrd.efi", "nixos-generation-40.conf", "4hryhkrm46lvr9lh64agrrhc01cmsqzj.efi", "nixos-generation-41.conf", "66id2rw27x38908fm8s59km8zqqpkp9p.efi", "nixos-generation-42.conf", "b671vaqnqdfw7qbsd7ma8svy4ai6qn2v.efi", "nixos-generation-43.conf", "a302yg31yj7fgqi48s0lya13ssbrh8pw.efi", "nixos-generation-44.conf", "dsbgv9hw9xsllfd3k89fw72cqk6hv9ba.efi", "nixos-generation-45.conf", "14b96yxd7rbb0cxry7mpb8hrjambdwfm.efi", "nixos-generation-46.conf", "agf0w2ii59y1dvs82fqqjf6b20lv2xmh.efi", "nixos-generation-47.conf", "lsfy86y4kyxr4l3a358vgzjzl4w0pgn0.efi", "nixos-generation-48.conf", "5b1gk77xalnzmdm3csybj5x5p16ffldj.efi", "nixos-generation-49.conf", "nxh0dxh8xld9nxzgfvmil5k1acxj2mmb.efi", "nixos-generation-50.conf", "k2igvsg04mcx3jm5x7yv24xfl4y20r0h.efi", "nixos-generation-51.conf", "vgnsnsw4c1sxbrv0i835f6cdylpshzdc.efi", "nixos-generation-52.conf", "sw2ckr7vm80z0glqv7yk9z0pcjpa3rhb.efi", "nixos-generation-53.conf", "hgqziwyfqz4jwkr0s0ysnrh1gyz8kwbx.efi", "nixos-generation-54.conf", "3chi1ab8zhyxdhdhxqw7af75fijmqn3z.efi", "nixos-generation-55.conf", "n38jg7v663w93rblq4szw8f53kipm84q.efi", "nixos-generation-56.conf", "wy916wjf1w08k88j4ww38pr26p4x733a.efi", "nixos-generation-57.conf", "0kn672c9y65p68kdb7r83y8pq1s5g44a.efi", "nixos-generation-58.conf", "82k0ikc39zihq6ff7p2ycrjj9plplsiz.efi", "nixos-generation-59.conf", "d16rgfn451nnz67ljv9rn9hw9s80wik3.efi", "nixos-generation-60.conf", "7fwmfly76w9dvfd5jpk7ppg5rxfa681m.efi", "nixos-generation-61.conf", "2i9cv6ifrlckminpznscc569zva0jacg.efi", "nixos-generation-62.conf", "w4fnxcjij33pq3hilnvvdn2l1qyj3rn4.efi", "nixos-generation-63.conf", "q2ja0jrcgxbwbfhn4yhfj40718m8h8yn.efi", "nixos-generation-64.conf", ] DEBUG removing old entries DEBUG removing old kernels / initrds TRACE removing kernel/initrd file "/boot/EFI/nixos/.extra-files" Error: Os { code: 21, kind: IsADirectory, message: "Is a directory" } + finish + rm -rf /tmp/tmp.tSP6NVgf2Z Error while activating new configuration.
On a side note, the error message without extra --verbosity isn't very helpful - doesn't say what was the problematic file name.
--verbosity
https://github.com/DeterminateSystems/bootspec-secureboot/blob/222da4e2deca447195a39dac06e09f4b174b3cbe/installer/src/systemd_boot/mod.rs#L168-L171 https://github.com/DeterminateSystems/bootspec-secureboot/blob/222da4e2deca447195a39dac06e09f4b174b3cbe/installer/src/systemd_boot/mod.rs#L157-L160
Installer fails to remove old leftover directories when it's removing old files from ESP.
On a side note, the error message without extra
--verbosity
isn't very helpful - doesn't say what was the problematic file name.https://github.com/DeterminateSystems/bootspec-secureboot/blob/222da4e2deca447195a39dac06e09f4b174b3cbe/installer/src/systemd_boot/mod.rs#L168-L171 https://github.com/DeterminateSystems/bootspec-secureboot/blob/222da4e2deca447195a39dac06e09f4b174b3cbe/installer/src/systemd_boot/mod.rs#L157-L160