Skip Navigation

Search

Linux @programming.dev

systemd: BindReadOnlyPaths alternative allowing user to read it

I've inherited a systemd service and it uses BindReadOnlyPaths to make certain paths available to the service (doc)

A bind mount makes a particular file or directory available at an additional place in the unit's view of the file system. Any bind mounts created with this option are specific to the unit, and are not visible in the host's mount table.

The service is running using a specific user and I would like the user to access those read-only paths outside of the service. Is there an possibility within systemd that would allow me to do that?

Edit: solved it with a systemd bind mount

Linux @programming.dev

[Help] Should I use zram?

cross-posted from: https://sh.itjust.works/post/21361730

Hello, I came across zram recently and I'd like to know if I should use it, my laptop only has ~4GB of ram, and for the most part it'll only stutter when I open multiple programs or a game, so would zram be adequate in my case?

Also, would the compressing and decompressing have a significant impact on my cpu?

Linux @programming.dev

[OpenSUSE] Problem: 1: the installed steam-1.0.0.79-1.4.x86_64 requires 'glibc-locale-base-32bit', but this requirement cannot be provided. deleted providers:

Edit: solved since then

cross-posted from: https://lemmy.zip/post/16796976

Based on https://old.reddit.com/r/openSUSE/comments/1d798rc/another_update_breakage/ one option is to wait for the next snapshot, what are you guys doing?