quoting bug misplaces /var/lib/hibinit-agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ec2-hibinit-agent (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Package version 1.0.0-0ubuntu11
The latest default /etc/hibinit-
# Location where to create any state files
state-dir = "/var/lib/
However, the executable reading this file doesn't understand about quoting, thus creating a directory named <<">> in the root directory, with subdirectories <<var>>, <<lib>>, and <<hibinit-agent">> underneath:
$ /bin/ls -lFR /\"
'/"':
total 4
drwxr-xr-x 3 root root 4096 Jun 23 17:45 var/
'/"/var':
total 4
drwxr-xr-x 3 root root 4096 Jun 23 17:45 lib/
'/"/var/lib':
total 4
drwxr-xr-x 2 root root 4096 Jun 23 17:45 'hibinit-agent"'/
'/"/var/
total 0
And of course, there is no /var/lib/
Editing the .cfg file to remove the quotes and issuing a "systemctl restart hibinit-
Thank you for submitting this bug! This is being tracked in https:/ /bugs.launchpad .net/ubuntu/ +source/ ec2-hibinit- agent/+ bug/2023924 already and is in the process of being merged into Jammy already.