graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.

Home Page:https://wiki.archlinux.org/index.php/Profile-sync-daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support doas instead of sudo

kugland opened this issue · comments

I’m using doas exclusively in my system. I have /usr/bin/sudo as a symlink to /usr/bin/doas, which works most of the time. However, profile-sync-daemon fails to use overlayfs because it runs sudo with the parameter -k, which is unsupported by doas.

Apart from that, it should work. I have this line in my doas.conf:

permit nopass <USERNAME> as root cmd /usr/bin/psd-overlay-helper

I do not have any resource to extend to another privilege escalation tool, since sudo is a standard, I use it.

I do not have any resource to extend to another privilege escalation tool, since sudo is a standard, I use it.

If I sent a pull request adding support for OpenBSD doas, would you consider merging it?

Depends on how deeply the code is modified. If it is major, I will likely not want to do it.

@kugland I submitted a PR to add doas support, see #323