howdy icon indicating copy to clipboard operation
howdy copied to clipboard

move config.ini and /models to /etc/howdy

Open patriziobruno opened this issue 2 years ago • 4 comments

For better compatibility with immutable OSs like Fedora Silverblue and all CoreOS derivatives. Immutable OSs give the user write access only to the /etc directory.

Fixes #594

patriziobruno avatar Apr 05 '22 17:04 patriziobruno

Thank you so much for your effort, hope this will be merged.

One question though: what about snapshots? It seems that /src/snapshot.py creates the snapshots folder next to itself in /usr/lib/

Maybe it should be moved to somewhere like /var/log/howdy ?

NikSays avatar Apr 10 '22 22:04 NikSays

Seems like a good suggestion, same for the /var/log idea. I also want to move the current folder location in general as /lib/security was for pam-python compatibility before, maybe /usr/bin would be better

boltgolt avatar Apr 18 '22 11:04 boltgolt

See #669 for other good points, @Zocker1999NET what do you think of my point above, moving the actual binaries/python files to somewhere that's not /lib/security?

boltgolt avatar May 13 '22 09:05 boltgolt

See #669 for other good points, @Zocker1999NET what do you think of my point above, moving the actual binaries/python files to somewhere that's not /lib/security?

@boltgolt /lib/security or /lib seem both reasonable enough for binaries because /bin e.g. is reserved for commands a normal user would execute in a shell and only the howdy command itself would qualify for it IMO. Then only /usr/share comes to my mind as another option, which would be applicable for architecture independent data (logos, reference models, python files). But keeping all data where it is stored now seems reasonable enough as well.

Zocker1999NET avatar May 13 '22 10:05 Zocker1999NET

Thanks for the changes, finally merged!

boltgolt avatar Feb 19 '23 09:02 boltgolt