Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL should not take over "man passwd" #69443

Open
chkno opened this issue Sep 26, 2019 · 1 comment
Open

OpenSSL should not take over "man passwd" #69443

chkno opened this issue Sep 26, 2019 · 1 comment
Labels

Comments

@chkno
Copy link
Contributor

@chkno chkno commented Sep 26, 2019

Describe the bug
man passwd should describe the password-changing utility that you get when you type passswd in a shell. Instead, it describes a rarely-used sub-command of openssl.

To Reproduce
Steps to reproduce the behavior:

  1. man passwd

Expected behavior
I see documentation about changing user passwords in /etc/shadow, like http://man7.org/linux/man-pages/man1/passwd.1.html .

Additional context
Here is the list of openssl subcommands that collide with actual commands (according to the command-not-found perl script):

ec      eplot
passwd  busybox su
ts      ts moreutils
version mailman
sha1    hashcash
base64  busybox coreutils coreutils-full libb64

I notice that I don't have this problem with base64 -- man base64 brings up the coreutils manual as expected.

I am able to view the passwd manpage directly out of the store with man /nix/store/*-shadow-*-man/share/man/man1/passwd.1.gz

Metadata

$ nix run nixpkgs.nix-info -c nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.75, NixOS, 19.03.173547.2c61951df92 (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.03.173547.2c61951df92, nixos-hardware, nixos-unstable-20.03pre193829.f0fec244ca3"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@chkno chkno added the 0.kind: bug label Sep 26, 2019
@matthewbauer

This comment has been minimized.

Copy link
Member

@matthewbauer matthewbauer commented Sep 28, 2019

It actually looks like we already have a workaround for this! It must have stopped working at some point:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/openssl/default.nix#L78-L81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.