View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010126 | Taler | merchant backend | public | 2025-06-23 23:39 | 2025-07-05 00:39 |
Reporter | hank | Assigned To | schanzen | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | reopened | ||
Product Version | 1.0 | ||||
Target Version | 1.1 | ||||
Summary | 0010126: taler.conf can't be symlink of symlink | ||||
Description | taler-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 Reproduce | create "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 | ||||
Tags | No tags attached. | ||||
|
@schanzen: this seems strange, but probably something in libgnunetutil -- care to investigate? |
|
thanks for looking into this. I have a working Kubernetes configuration here that I can share once this is fixed. |
|
Fix committed to master branch. |
|
apologies but this is still failing on me with latest gnunet master have you actually tried the two-symlink arrangement from "steps to reproduce" |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-23 23:39 | hank | New Issue | |
2025-06-30 18:08 | Christian Grothoff | Assigned To | => schanzen |
2025-06-30 18:08 | Christian Grothoff | Status | new => assigned |
2025-06-30 18:08 | Christian Grothoff | Note Added: 0025383 | |
2025-06-30 18:09 | Christian Grothoff | Target Version | => 1.1 |
2025-06-30 20:17 | hank | Note Added: 0025384 | |
2025-07-01 12:00 | schanzen | Changeset attached | => gnunet master e21d59ae |
2025-07-01 12:00 | schanzen | Note Added: 0025385 | |
2025-07-01 12:00 | schanzen | Status | assigned => resolved |
2025-07-01 12:00 | schanzen | Resolution | open => fixed |
2025-07-05 00:39 | hank | Status | resolved => feedback |
2025-07-05 00:39 | hank | Resolution | fixed => reopened |
2025-07-05 00:39 | hank | Note Added: 0025423 |