archiecobbs / s3backer

FUSE/NBD single file backing store via Amazon S3
Other
538 stars 77 forks source link

s3backer-nbd does not create /run/s3backer-nbd directory #219

Closed Lord-Dimwit-Flathead-the-Excessive closed 9 months ago

Lord-Dimwit-Flathead-the-Excessive commented 9 months ago

nbdkit may have created this parent directory when it created the socket at one time. But it is not getting done now.

archiecobbs commented 9 months ago

That directory should be created during installation:

Lord-Dimwit-Flathead-the-Excessive commented 9 months ago

They don't survive a reboot on Debian 12. They need to be created when the service starts. I saw that you do a check for the socket still being around. Just plop a mkdir in there.

I suppose it could also be handled with an ExecPreStart in the service file. That is just a wiki change too.

archiecobbs commented 9 months ago

Thanks. Should be fixed in df6a136.