[pkg-uWSGI-devel] Bug#1130481: systemd 260 drops support of System V service scripts
Sunil Mohan Adapa
sunil at medhas.org
Thu Mar 26 19:53:45 GMT 2026
On 3/21/26 18:43, Borden wrote:
> Question: systemd has permission gotchas, specifically in denying read/write access to the home directory. I also read that uwsgi is very fussy about folder permissions.
>
> Under init.d, I got away with storing my radicale collection in my home folder. Will systemd break this? How difficult will the workaround be to getting this working?
1) One way (untested) could be to disable dynamic user configuration on
your machine after ensuring the 'radicale' system user and group exist.
# addgroup --system radicale
# adduser --system --ingroup radicale --no-create-home --home
/var/lib/radicale radicale
# mkdir -p /etc/systemd/system/uwsgi-app at radicale.service.d
# echo -n "[Service]\nDynamicUser=no\n" >
/etc/systemd/system/uwsgi-app at radicale.service.d/mychanges.conf
# systemctl daemon-reload
# systemd stop uwsgi-app at radicale.service
After this you could be able to symlink /var/lib/radicale to your home
directory and the change ownership to radicale:radicale.
2) Another way (untested) to achieve this is perhaps to try link
/var/lib/private/radicale to a path in your home directory. Then chown
nobody:nobody on this directory. Make sure that parent of this data
directory is not readable by other users on the system (just like
/var/lib/private directory).
--
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 54314 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20260326/d4cd4134/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20260326/d4cd4134/attachment.sig>
More information about the pkg-uWSGI-devel
mailing list