[Nix-dev] 3 strange busybox problems
Michael Bock
mb at thought2.de
Thu Apr 20 10:15:50 CEST 2017
nope, it's not in the configuration.nix's pkgs list.
On 20.04.2017 10:09, Maarten Hoogendoorn wrote:
> Did you install busybox globally on your system? It might shadow some
> GNU core tools, if you set the priority for busybox higher than the
> priority for the GNU tools.
>
> 2017-04-20 9:56 GMT+02:00 Michael Bock <mb at thought2.de
> <mailto:mb at thought2.de>>:
>
> Hi nix folks,
>
> I'm having some strange troubles on my NixOS machine. It looks that's
> somehow related to the busybox package, here are some cases:
>
> 1. It's not possible to see manpages for any program anymore.
>
> ``
>
> man grep
> man: no manual entry for 'grep'
>
> man -aw
> BusyBox v1.24.2 () multi-call binary.
>
> Usage: man [-aw] [MANPAGE]...
>
> Format and display manual page
>
> -a Display all pages
> -w Show page locations
>
> ``
>
> This appeared some time ago and is the case throughout any rollback.
>
>
> 2. The top command
>
> ``
>
> top
>
> [...]
>
> *** buffer overflow detected ***: top terminated
> [...]
>
> 00400000-004f8000 r-xp 00000000 fe:01 411845
> /nix/store/gkm15nx2gw43qasbkijs3czzhq6hwk86-busybox-1.24.2/bin/busybox
> [...]
>
> 7febfa18d000-7febfa1a3000 r-xp 00000000 fe:01 695683
> /nix/store/q3wx1gab2ysnk5nyvyyg56ana2v4r2ar-glibc-2.24/lib/libgcc_s.so.1
> [...]
>
> ``
>
> See the full output here: https://pastebin.com/ssUCziP7
>
> This appeared earlier than the first issue and is also now the case in
> any older rollback.
>
>
> 3. Tor-Browser (happens with some other programs as well..)
>
> ``
>
> tor-browser
> cp: invalid option -- 'u'
> BusyBox v1.24.2 () multi-call binary.
>
> Usage: cp [OPTIONS] SOURCE... DEST
>
> Copy SOURCE(s) to DEST
>
> -a Same as -dpR
> -R,-r Recurse
> [...]
>
> ``
>
> This however, disappears when rolling back.
>
>
> All of them seem to be busybox related. For example the procps top
> works
> fine:
>
> ``
>
> nix-shell -p procps
>
> top ...
>
> ``
>
>
> Does anyone have suggestion here? It's actually the first time
> something
> 'mutable' happened to the nix system I'm using, it's updated to 17.03
> but this did not change the problems.
>
> Regards,
>
> Michael
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
> <https://mailman.science.uu.nl/mailman/listinfo/nix-dev>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170420/0ea1d979/attachment-0001.html>
More information about the nix-dev
mailing list