Alright I’m not sure if that’s what I can say from the two straces but it seems to fail during this:
statx(AT_FDCWD, "/etc/pki/tls/certs/ca-bundle.crt", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0555, stx_size=520166, ...}) = 0
statx(AT_FDCWD, "/etc/pki/tls/certs", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=26, ...}) = 0
openat(AT_FDCWD, "/etc/pki/tls/certs/ca-bundle.crt", O_RDONLY) = 9
newfstatat(AT_FDCWD, "/nix/store/954l60hahqvr0hbs7ww6lmgkxvk8akdf-openssl-3.4.1/etc/ssl/certs/0feb9fd6.0", 0x7ffc3bc6c0c0, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/etc/pki/tls/certs/0feb9fd6.0", 0x7ffc3bc6c0c0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 10
+++ exited with 1 +++
(the errors for openssl opening the cert happens in manual as well) so I just assume it’s the /etc/lcoaltime
here is the strace for when I run manual snx-rs:
statx(AT_FDCWD, "/etc/pki/tls/certs", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=26, ...}) = 0
openat(AT_FDCWD, "/etc/pki/tls/certs/ca-bundle.crt", O_RDONLY) = 9
newfstatat(AT_FDCWD, "/nix/store/954l60hahqvr0hbs7ww6lmgkxvk8akdf-openssl-3.4.1/etc/ssl/certs/0feb9fd6.0", 0x7ffe21a6d150, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/etc/pki/tls/certs/0feb9fd6.0", 0x7ffe21a6d150, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 10
statx(AT_FDCWD, "/.dockerenv", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe21a6ff70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/self/cgroup", O_RDONLY|O_CLOEXEC) = 10
statx(10, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0444, stx_size=0, ...}) = 0
openat(AT_FDCWD, "/proc/sys/kernel/osrelease", O_RDONLY|O_CLOEXEC) = 10
statx(10, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0444, stx_size=0, ...}) = 0
openat(AT_FDCWD, "/proc/version", O_RDONLY|O_CLOEXEC) = 10
statx(10, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0444, stx_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 10
openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 11
openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 12
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=437052, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
statx(AT_FDCWD, "/etc/localtime", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFLNK|0777, stx_size=31, ...}) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 10
statx(10, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0444, stx_size=2301, ...}) = 0
+++ exited with 0 +++
in both cases the binary for the snxctl and snx-rs comes from the package snx-rs
…
/run/current-system/sw/bin/snx-rs -> /nix/store/i4cch9wwakc1m8yrm97712bf7ips0dk2-snx-rs-3.1.1/bin/snx-rs
/run/current-system/sw/bin/snxctl -> /nix/store/i4cch9wwakc1m8yrm97712bf7ips0dk2-snx-rs-3.1.1/bin/snxctl