Hi Jonas! Thank you for the bug report. Using a fresh questing container
I get the following results when running the provided commands:
```
❯ lxc exec canonical -- sudo-rs -i -u ubuntu
ubuntu@canonical:~$ ls
ubuntu@canonical:~$ pwd
/home/ubuntu
ubuntu@canonical:~$ echo $HOME
/home/ubuntu
ubuntu@canonical:~$ tty
/dev/pts/2
ubuntu@canonical:~$ ls -l /dev/pts/2
crw--w---- 1 root tty 136, 2 Nov 13 08:22 /dev/pts/2
```
1) It seems that I cannot reproduce the incorrect $HOME variable on my
system. Could you verify with an unmodified container?
2) I can reproduce the pty owning issue. I will forward this to
upstream, thanks!
** Changed in: rust-sudo-rs (Ubuntu)
Status: New => Triaged
** Changed in: rust-sudo-rs (Ubuntu)
Assignee: (unassigned) => Simon Johnsson (bamf0)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131153
Title:
wrong /dev/pts owner for login shell (and $HOME)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2131153/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs