Travis Glenn Hansen

Results 821 comments of Travis Glenn Hansen
trafficstars

Welcome! I am just getting around to testing with 24.10. It appears they have change the api behavior and so this needs reworked. You should remove: ``` datasetPermissionsMode: datasetPermissionsUser: datasetPermissionsGroup:...

Welcome and thanks for the kind words! I need a clearer picture I guess of what you want. The http and ssh connection details do not really impact the credentials...

> What I am looking for is a way to reduce the privileges that I provide to this driver on a TrueNAS server basically the principle of least privilege. But...

I have some familiarity with nixos and that all sounds sane. You can set an env var to explicitly set the path to the iscsiadm binary (https://github.com/democratic-csi/democratic-csi/blob/master/docker/iscsiadm is the wrapper...

FYI discovery portal should not be required.

Ok cool thanks! The only other thing that could be a little odd is the locations of the ‘db’ directories. /etc/iscsi and /var/lib/iscsi…are those in strange locations in nixos?

Well, even that location is more of a virtual thing…the actual location is in the store somewhere. Where did you put the ln -s command? Is it run on every...

I think that will work yes, I would probably codify it in configuration but one-off should work.

I think the best way to handle this is to add the nixos path(s) to all the relevant wrapper scripts in this codebase. I can add that in the next...

I think I'll just add `/run/current-system/sw/bin` to the `PATH` of all those relevant scripts. Should be included in the next release.