Page MenuHomePhabricator

acme-chief creates absolute symlinks for "live" and relative for "new" on certificate renewal
Closed, ResolvedPublic

Description

On certificate renewal the live symlink gets created as an absolute symlink instead of being a relative one:

root@acmechief1001:/var/lib/acme-chief/certs/librenms# ls -alh
total 20K
drwxr-xr-x  4 acme-chief acme-chief 4.0K Mar 19 15:02 .
drwxr-x--- 16 acme-chief acme-chief 4.0K Mar 18 09:43 ..
drwxr-x---  2 acme-chief acme-chief 4.0K Mar 18 09:01 49bf94a47bd44c0782470cc81a2f0762
drwxr-x---  2 acme-chief acme-chief 4.0K Mar 19 15:02 6beb218837f8413d9c5c228691bd9fd8
lrwxrwxrwx  1 acme-chief acme-chief   67 Mar 19 15:02 live -> /var/lib/acme-chief/certs/librenms/6beb218837f8413d9c5c228691bd9fd8
lrwxrwxrwx  1 acme-chief acme-chief   32 Mar 19 15:02 new -> 6beb218837f8413d9c5c228691bd9fd8

Event Timeline

Vgutierrez triaged this task as Normal priority.Mar 19 2019, 3:07 PM
Vgutierrez created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 19 2019, 3:07 PM

Change 497504 had a related patch set uploaded (by Vgutierrez; owner: Vgutierrez):
[operations/software/acme-chief@master] acme-chief: Use relative symlinks for the live one

https://gerrit.wikimedia.org/r/497504

Change 497521 had a related patch set uploaded (by Alex Monk; owner: Vgutierrez):
[operations/software/acme-chief@debian] acme-chief: Use relative symlinks for the live one

https://gerrit.wikimedia.org/r/497521

Change 497504 merged by jenkins-bot:
[operations/software/acme-chief@master] acme-chief: Use relative symlinks for the live one

https://gerrit.wikimedia.org/r/497504

Change 497444 had a related patch set uploaded (by Alex Monk; owner: Alex Monk):
[operations/software/acme-chief@master] Release 0.13

https://gerrit.wikimedia.org/r/497444

Change 497444 merged by Vgutierrez:
[operations/software/acme-chief@master] Release 0.13

https://gerrit.wikimedia.org/r/497444

Change 497527 had a related patch set uploaded (by Alex Monk; owner: Alex Monk):
[operations/software/acme-chief@debian] Release 0.13

https://gerrit.wikimedia.org/r/497527

Change 497521 merged by jenkins-bot:
[operations/software/acme-chief@debian] acme-chief: Use relative symlinks for the live one

https://gerrit.wikimedia.org/r/497521

Change 497527 merged by jenkins-bot:
[operations/software/acme-chief@debian] Release 0.13

https://gerrit.wikimedia.org/r/497527

Change 497532 had a related patch set uploaded (by Alex Monk; owner: Alex Monk):
[operations/software/acme-chief@debian] debian: Add release 0.13 to changelog

https://gerrit.wikimedia.org/r/497532

Change 497532 merged by jenkins-bot:
[operations/software/acme-chief@debian] debian: Add release 0.13 to changelog

https://gerrit.wikimedia.org/r/497532

Mentioned in SAL (#wikimedia-operations) [2019-03-19T16:45:15Z] <vgutierrez> uploaded acme-chief 0.14 to apt.wikimedia.org (buster) - T218685 T218418 T207295

Vgutierrez closed this task as Resolved.Mar 19 2019, 4:45 PM
Vgutierrez removed a project: Patch-For-Review.