Silent/confusing failure when /etc/subuid and/or /etc/subgid are empty #9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I spent a good hour debugging this assuming it was a kernel/system related issue, not a me issue. I later realised that Debian populates these files for all users by default, it seems. Full disclosure: I was trying to run this on Arch with no success yet.
The code doesn't actually check if the loops iterated in
read_subuid_subgid
before pushing them into the array, hence the silent failure. I've never written perl before but this seems to make the error more obvious, at least:Before:
After:
Uuuuh! Nice catch, thank you!
Also please feel free to file more bugs that you run into when running mmdebstrap on arch. Since I'm only running it on Debian, I'm quite certain this will not be the last you find. 😀
With which name and email can I attribute you in the git commit implementing the diff you posted?
https://github.com/frebib/dotfiles/blob/master/git/config#L2-L3
I might suggest you revise the error messages, that's just something I threw together quickly.
Thanks
Closed by
15029c1c3b