From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: bug#34006: Guix gc killed live roots - broke git Date: Sat, 12 Jan 2019 11:02:16 -0800 Message-ID: <65080922ebfc8a46006fd7fab1ac951c@riseup.net> References: <87muocr9ej.fsf@elephly.net> <276035e4-7b63-31b7-9b83-e4311441dbe5@riseup.net>; <87k1jfk2o7.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giOYl-00037N-4d for bug-guix@gnu.org; Sat, 12 Jan 2019 14:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giOYi-0005YA-Ck for bug-guix@gnu.org; Sat, 12 Jan 2019 14:03:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giOYg-0005WC-SS for bug-guix@gnu.org; Sat, 12 Jan 2019 14:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1giOYg-0001F3-Ef for bug-guix@gnu.org; Sat, 12 Jan 2019 14:03:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87k1jfk2o7.fsf@netris.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 34006-done@debbugs.gnu.org On 2019-01-08 07:50, Mark H Weaver wrote: > Hi, > > swedebugia writes: > >> On 2019-01-07 12:31, Ricardo Wurmus wrote: >>> >>>> $ git pull swedebugia >>>> fatal: unable to fork >>>> >>>> Stracing it reveals that it is missing something (see full attached): >>> >>> Where do you see that? >> >> Ah, sorry the full command was: >> strace git pull swedebugia > > I looked at the strace output you provided, and didn't find any evidence > of a missing file, which I doubt would lead to the error message "unable > to fork" anyway. The short excerpt that you quoted in your earlier mail > showed the failure to find "/etc/ld.so.preload", but that's expected, > and does not indicate a problem. The problem might be happening in the > child process (/home/sdb/.guix-profile/libexec/git-core/git), so adding > the -f option to strace, i.e. "strace -f git pull swedebugia", might > yield more useful information. > > If I'm not mistaken, "unable to fork" more likely indicates a lack of > available resources, possibly due to configured resource limits (see > ulimit(3) and the 'ulimit' bash builtin, e.g. try "ulimit -a"). > Otherwise, I guess it could be due to restrictions imposed by the use of > a security framework. Tried again with "strace -f" and got this: stat("/home/sdb/.guix-profile/libexec/git-core/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/gnu/store/6ff29rxibnfzabp17qj3mzpc8jggrmsn-profile/bin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/gnu/store/6ff29rxibnfzabp17qj3mzpc8jggrmsn-profile/sbin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/home/sdb/.local/bin;/home/sdb/.guix-profile/bin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/home/sdb/.guix-profile/sbin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/run/setuid-programs/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/home/sdb/.config/guix/current/bin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/home/sdb/.guix-profile/bin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/home/sdb/.guix-profile/sbin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/run/current-system/profile/bin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) stat("/run/current-system/profile/sbin/ssh", 0x7ffe26617620) = -1 ENOENT (No such file or directory) close(14) = 0 So installing ssh might be a good idea >D Solved! :D -- Cheers Swedebugia