Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I understand that shells generally expand ~ to $HOME, but I'm not sure
that automatically means the documentation is wrong, though I can see
how it could have misled you in this case. I'm also not sure that there
is consensus that changing $HOME should automatically change all program
behaviour, since as you point out nss (eg. getent) will still look up
/etc/passwd to find a different home directory. I'd expect that changing
one without changing the other would produce inconsistent results as you
have discovered.

In any case, that is just my opinion. I doubt we'd carry a patch in
Ubuntu to adjust this behaviour, so the best thing for you to do if you
want to make any progress on this is to report it to upstream and see
what they say. If you do, please link to your report here so others can
follow.

I'm marking this bug Won't Fix in Ubuntu because I don't think we should
carry a patch and I don't think it's likely to change any time soon, so
might as well set expectations correctly. But if it changes upstream or
in Debian, then Ubuntu will follow by default.

** Tags added: needs-upstream-report

** Changed in: openssh (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527162

Title:
  ssh-keygen ignores $HOME

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1527162/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to