Pushed latest changes. Summary of what I've changed
- added a revert of the fix for https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/2040924
- added a new fix for above, updating d/landscape-sysinfo.wrapper, tested it by executing it as both a regular user and root as per my previous testing for the previous fix
- Added Bug-Ubuntu header items for both patches
re: inline comment about falling back to "/" instead of HOME in patch 0002:
Internally, landscape.lib.user uses pwd (https://docs.python.org/3/library/pwd.html#module-pwd) for script execution to run a script in the run-as user's pw_dir directory, which circumvents HOME. If pw_dir doesn't exist, it defaults to "/".
I'm open to changing that default to something less bad, though. Or maybe first trying to default to HOME, then something else? I was trying to restrict my changes to just test files, though.
Pushed latest changes. Summary of what I've changed /bugs.launchpad .net/ubuntu/ +source/ landscape- client/ +bug/2040924 sysinfo. wrapper, tested it by executing it as both a regular user and root as per my previous testing for the previous fix
- added a revert of the fix for https:/
- added a new fix for above, updating d/landscape-
- Added Bug-Ubuntu header items for both patches
re: inline comment about falling back to "/" instead of HOME in patch 0002: /docs.python. org/3/library/ pwd.html# module- pwd) for script execution to run a script in the run-as user's pw_dir directory, which circumvents HOME. If pw_dir doesn't exist, it defaults to "/".
Internally, landscape.lib.user uses pwd (https:/
I'm open to changing that default to something less bad, though. Or maybe first trying to default to HOME, then something else? I was trying to restrict my changes to just test files, though.