View Issue Details

IDProjectCategoryView StatusLast Update
0010126Talermerchant backendpublic2025-06-23 23:39
Reporterhank Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.0 
Summary0010126: taler.conf can't be symlink of symlink
Descriptiontaler-merchant-httpd can't read taler.conf if it's a symlink pointing to a symlink pointing to the actual file.

the rule in Linux is normally resolving a chain of symlinks recursively until the actual file.

this is a problem e.g. for kubernetes which maps config files as configmaps into the file system using a 2-hop symlink.

https://kubernetes.io/docs/concepts/configuration/configmap/#using-configmaps-as-files-from-a-pod
Steps To Reproducecreate "tmp2" with the actual config contents, and 2 symlinks:

# ls -la
total 20
drwxr-xr-x 2 root root 4096 Jun 23 23:32 .
drwxr-xr-x 153 root root 12288 Jun 23 23:07 ..
lrwxrwxrwx 1 root root 4 Jun 23 23:29 taler.conf -> tmp1
lrwxrwxrwx 1 root root 4 Jun 23 23:29 tmp1 -> tmp2
-rw-r--r-- 1 root root 401 Jun 23 23:07 tmp2
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-06-23 23:39 hank New Issue