TrueNas Scale ElectricEel-24.10.1 Failed Service during Boot the System

Hi All,

hope anyone can help me.
On my TrueNas Scale 24.10.1 i have a Problem with a Service during the Boot Process. One Service want to start.

“ix-etc.Service” wont start.

This is my Output from this Error after Booting Process.

systemctl status ix-etc.service
× ix-etc.service - Generate TrueNAS /etc files
Loaded: loaded (/lib/systemd/system/ix-etc.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2025-01-26 03:54:35 CET; 7min ago
Main PID: 1063 (code=exited, status=1/FAILURE)
CPU: 504ms

Jan 26 03:53:34 STORAGE03 systemd[1]: Starting ix-etc.service - Generate TrueNAS /etc files…
Jan 26 03:54:35 STORAGE03 systemd[1]: ix-etc.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 03:54:35 STORAGE03 systemd[1]: ix-etc.service: Failed with result ‘exit-code’.
Jan 26 03:54:35 STORAGE03 systemd[1]: Failed to start ix-etc.service - Generate TrueNAS /etc files.

I dont know what i can do with this error.

Thanks.

I Find this config in my System.

[Unit]
Description=Generate TrueNAS /etc files
DefaultDependencies=no

Before=network-pre.target

After=middlewared.service
Before=local-fs.target systemd-modules-load.service

[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutStartSec=300
ExecStart=midclt call -job certificate.dhparam_setup
ExecStart=midclt call etc.generate_checkpoint initial
StandardOutput=null

[Install]
WantedBy=multi-user.target

When i execute the 2 “midclt” then i have no problems with that.

Output:

midclt call -job certificate.dhparam_setup
Status: (none)
Total Progress: [########################################] 100.00%
null

midclt call etc.generate_checkpoint initial
null

The Problem is only when i boot the System.

I’m having the same problem, even with the latest 25.04.1 version.
And can’t find the problem, booting takes really long, and TrueNAS Scale webui feels very slow.

root@storage[/etc]# systemctl status ix-etc.service
× ix-etc.service - Generate TrueNAS /etc files
     Loaded: loaded (/lib/systemd/system/ix-etc.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2025-05-29 21:33:08 CEST; 8min ago
   Main PID: 1871230 (code=exited, status=1/FAILURE)
        CPU: 342ms
May 29 21:31:59 storage systemd[1]: Starting ix-etc.service - Generate TrueNAS /etc files...
May 29 21:33:08 storage systemd[1]: ix-etc.service: Main process exited, code=exited, status=1/FAILURE
May 29 21:33:08 storage systemd[1]: ix-etc.service: Failed with result 'exit-code'.
May 29 21:33:08 storage systemd[1]: Failed to start ix-etc.service - Generate TrueNAS /etc files.
root@storage[/etc]#
root@storage[/]# systemd-analyze blame

 2min 5.845s ix-zfs.service
1min 18.068s ix-netif.service
 1min 3.393s ix-etc.service
     46.419s middlewared.service
     45.567s ix-reporting.service
     18.676s docker.service
     10.275s ix-wait-on-disks.service
      5.658s ix-vendor.service
      5.293s ix-preinit.service
      3.955s smartmontools.service
      2.369s incus.service
      1.934s proc-fs-nfsd.mount
      1.134s modprobe@loop.service
      1.127s modprobe@efi_pstore.service
      1.104s modprobe@drm.service
      1.095s nfs-server.service
       959ms ix-postinit.service
       800ms ix-syncdisks.service
       679ms containerd.service
       625ms user@1000.service
       611ms user@0.service
       520ms console-setup.service
       476ms zfs-volume-wait.service
       460ms apparmor.service
       375ms systemd-udev-trigger.service
       353ms incus-startup.service
       278ms systemd-udevd.service
       274ms chrony.service
       261ms systemd-journald.service
       252ms e2scrub_reap.service
       215ms systemd-logind.service
       203ms ix-ssh-keys.service
       202ms modprobe@configfs.service
       193ms certmonger.service
       185ms etc-setserial.service
       170ms nvmf-autoconnect.service
       168ms ipvsadm.service
       158ms setserial.service
       158ms smbd.service
       151ms systemd-sysusers.service
       150ms auditd.service
       143ms gssproxy.service
       135ms lm-sensors.service
       132ms ssh.service
       132ms ix-reboot.service
       129ms ix-shutdown.service
       127ms ix-cgroups.service
       122ms nscd.service
       115ms nginx.service
       105ms winbind.service
       102ms systemd-modules-load.service
        87ms sysstat.service
        84ms syslog-ng.service
        72ms networking.service
        71ms dev-hugepages.mount
        69ms dev-mqueue.mount
        64ms sys-kernel-debug.mount
        63ms sys-kernel-tracing.mount
        61ms tmp.mount
        59ms docker.socket
        55ms tnaudit.service
        55ms systemd-journal-flush.service
        53ms nmbd.service
        53ms incus-user.socket
        52ms keyboard-setup.service
        50ms kmod-static-nodes.service
        49ms dbus.service
        49ms systemd-tmpfiles-clean.service
        46ms modprobe@dm_mod.service
        39ms modprobe@fuse.service
        36ms kdump-tools.service
        32ms incus.socket
        32ms systemd-binfmt.service
        30ms systemd-tmpfiles-setup.service
        29ms nfs-mountd.service
        29ms rpc-statd.service
        28ms systemd-tmpfiles-setup-dev.service
        27ms systemd-sysctl.service
        26ms systemd-remount-fs.service
        25ms sysstat-collect.service
        24ms boot-grub.mount
        22ms kexec-load.service
        22ms systemd-random-seed.service
        18ms nfs-idmapd.service
        18ms user-runtime-dir@0.service
        17ms proc-sys-fs-binfmt_misc.mount
        17ms user-runtime-dir@1000.service
        16ms systemd-update-utmp.service
        13ms systemd-user-sessions.service
        13ms systemd-update-utmp-runlevel.service
        11ms rpcbind.service
         9ms sys-fs-fuse-connections.mount
         8ms nfsdcld.service
         7ms var-lib-nfs-rpc_pipefs.mount
         6ms ifupdown-pre.service
         5ms rpc-statd-notify.service
         3ms sys-kernel-config.mount
root@storage[/]# zpool status -v

  pool: freenas-boot
 state: ONLINE
status: One or more features are enabled on the pool despite not being
        requested by the 'compatibility' property.
action: Consider setting 'compatibility' to an appropriate value, or
        adding needed features to the relevant file in
        /etc/zfs/compatibility.d or /usr/share/zfs/compatibility.d.
  scan: scrub repaired 0B in 00:00:08 with 0 errors on Sun May 25 03:45:09 2025
config:

        NAME          STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          sda2        ONLINE       0     0     0

errors: No known data errors

  pool: images
 state: ONLINE
config:

        NAME                                    STATE     READ WRITE CKSUM
        images                                  ONLINE       0     0     0
          2b1e3e94-3b2f-4c91-bc9c-9f55b97ff249  ONLINE       0     0     0

errors: No known data errors

  pool: storage
 state: ONLINE
  scan: scrub repaired 0B in 18:24:17 with 0 errors on Sun May 18 18:24:19 2025
config:

        NAME        STATE     READ WRITE CKSUM
        storage     ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            sdg2    ONLINE       0     0     0
            sdh2    ONLINE       0     0     0
            sdi2    ONLINE       0     0     0
            sdj2    ONLINE       0     0     0
            sdd2    ONLINE       0     0     0
            sde2    ONLINE       0     0     0
            sdf2    ONLINE       0     0     0
            sdc2    ONLINE       0     0     0
          raidz2-2  ONLINE       0     0     0
            sdq2    ONLINE       0     0     0
            sdp2    ONLINE       0     0     0
            sdl2    ONLINE       0     0     0
            sdo2    ONLINE       0     0     0
            sdr2    ONLINE       0     0     0
            sdk2    ONLINE       0     0     0
            sdm2    ONLINE       0     0     0
            sdn2    ONLINE       0     0     0

errors: No known data errors
root@storage[/]#

I hope someone can point us in the right direction.