View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009168 | Taler | exchange | public | 2024-09-03 22:09 | 2024-09-17 16:29 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Target Version | 0.14 | Fixed in Version | 0.14 | ||
Summary | 0009168: taler-exchange-offline claims master key file does not exist, when in fact it does exist | ||||
Description | See steps below, clearly the key exists, is readable, has the right permissions. Only oddity is that it's in a symlinked dir: root@3238da6bbfbb:/# ls -la /var/lib/taler/exchange-offline lrwxrwxrwx 1 root root 38 Jun 30 14:06 /var/lib/taler/exchange-offline -> /talerdata_persistent/exchange-offline | ||||
Steps To Reproduce | In the taler-test@gv sandcastle: root@3238da6bbfbb:/# sudo -i -u taler-exchange-offline taler-exchange-offline -LDEBUG setup 2024-09-03T20:06:40.073779+0000 taler-exchange-offline-2923 INFO Exchange master private key `/var/lib/taler/exchange-offline/master.priv' does not exist yet, creating it! 2024-09-03T20:06:40.073959+0000 util-disk-2923 WARNING `access' failed on file `/var/lib/taler/exchange-offline' at disk.c:428 with error: Permission denied 2024-09-03T20:06:40.073988+0000 taler-exchange-offline-2923 ERROR Creating directory `/var/lib/taler/exchange-offline' failed2024-09-03T20:06:40.074014+0000 taler-exchange-offline-2923 WARNING `mkstemp' failed on file `/var/lib/taler/exchange-offline/master.priv' at disk.c:736 with error: Permission denied 2024-09-03T20:06:40.074040+0000 taler-exchange-offline-2923 ERROR Failed to initialize master key from file `/var/lib/taler/exchange-offline/master.priv': could not create file root@3238da6bbfbb:/# gnunet-ecc -P /var/lib/taler/exchange-offline/master.priv FYZ573WTSABN5PFPYCW7G5ZEBMP2QWKXWRG9FYN57MK60HP85CMG root@3238da6bbfbb:/# ls -la /var/lib/taler/exchange-offline/master.priv -r-------- 1 taler-exchange-offline taler-exchange-offline 32 Jan 30 2024 /var/lib/taler/exchange-offline/master.priv | ||||
Tags | No tags attached. | ||||
|
Actually, the key does exist, the folder that it's in just doesn't have the right permissions. |
|
Resolving this, though a better error message would've been nice. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-03 22:09 | Florian Dold | New Issue | |
2024-09-03 22:09 | Florian Dold | Status | new => assigned |
2024-09-03 22:09 | Florian Dold | Assigned To | => Christian Grothoff |
2024-09-03 22:11 | Florian Dold | Note Added: 0023152 | |
2024-09-03 22:13 | Florian Dold | Status | assigned => resolved |
2024-09-03 22:13 | Florian Dold | Resolution | open => no change required |
2024-09-03 22:13 | Florian Dold | Note Added: 0023153 | |
2024-09-14 01:08 | Christian Grothoff | Fixed in Version | => 0.14 |
2024-09-17 16:29 | Christian Grothoff | Status | resolved => closed |