[Nix-dev] write_file '/etc/passwd.tmp' - syswrite: Bad address

Wout Mertens wout.mertens at gmail.com
Sat May 16 16:46:57 CEST 2015


so weird... what was the corruption?

On Sat, May 16, 2015 at 4:08 PM Amy de Buitléir <amy at nualeargais.ie> wrote:

> Wout Mertens <wout.mertens <at> gmail.com> writes:
>
> > Of course, it can only be memory corruption if it is not repeatable,
> otherwise there's something weird about the call Perl makes to syswrite(),
> definitely a bug somewhere then.
>
> Oh, it's definitely repeatable...but I found a solution. I noticed that my
> /etc/passwd file is corrupt. With fingers tightly crossed, I renamed that
> file, and tried nixos-rebuild switch again. It worked, and I have a new
> /etc/passwd file.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150516/f1f86f26/attachment-0001.html 


More information about the nix-dev mailing list