unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* fcgiwrap doesn't see gzip
@ 2017-12-01 12:48 Oleg Pykhalov
  2017-12-04  9:04 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Pykhalov @ 2017-12-01 12:48 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3238 bytes --]

strace log from my previous message, apologies.

I guess, the issue is because fcgiwrap process environment PATH only
contains /gnu/store/…-shadow-4.5/sbin which doesn't include gzip.

--8<---------------cut here---------------start------------->8---
$ sudo strace -s 128 -p 457
strace: Process 457 attached
accept(0, {sa_family=AF_INET, sin_port=htons(57088), sin_addr=inet_addr("127.0.0.1")}, [112->16]) = 3
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
read(3, "\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\1!\7\0\17FSCRIPT_FILENAME/gnu/store/27ki0l76vn23698caynfknbcnqf5jag0-cgit-1.1/lib/cgit/cgit.cgi\t&PATH_INFO/guix/"..., 8192) = 336
pipe([4, 5])                            = 0
pipe([6, 7])                            = 0
pipe([8, 9])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7ff3f0dc4e10) = 12762
close(4)                                = 0
close(7)                                = 0
close(9)                                = 0
close(5)                                = 0
select(9, [6 8], NULL, NULL, NULL)      = 1 (in [8])
read(8, "[cgit] Unable to lock slot /var/cache/cgit/8a300000.lock: Permission denied (13)\n", 4096) = 81
write(2, "[cgit] Unable to lock slot /var/cache/cgit/8a300000.lock: Permission denied (13)\n", 81) = 81
select(9, [6 8], NULL, NULL, NULL)      = 1 (in [6])
read(6, "Content-Type: application/x-gzip; charset=UTF-8\nContent-Disposition: inline; filename=\"guix-0.13.0.tar.gz\"\n", 4096) = 107
select(9, [6 8], NULL, NULL, NULL)      = 1 (in [6])
read(6, "Last-Modified: Fri, 01 Dec 2017 11:42:10 GMT\nExpires: Fri, 01 Dec 2017 11:47:10 GMT\nETag: \"99d1ec5989eae66719fb968f41560f2879707"..., 4096) = 134
select(9, [6 8], NULL, NULL, NULL)      = 1 (in [8])
read(8, "fatal: Unable to exec subprocess gzip: No such file or directory\n", 4096) = 65
write(2, "fatal: Unable to exec subprocess gzip: No such file or directory\n", 65) = 65
select(9, [6 8], NULL, NULL, NULL)      = 2 (in [6 8])
read(6, "", 4096)                       = 0
close(6)                                = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
write(3, "\1\6\0\1\0\367\1\0Content-Type: application/x-gzip; charset=UTF-8\r\nContent-Disposition: inline; filename=\"guix-0.13.0.tar.gz\"\r\nLast-Modifi"..., 280) = 280
shutdown(3, SHUT_WR)                    = 0
poll([{fd=3, events=POLLIN}], 1, 2000)  = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
read(3, "", 1024)                       = 0
close(3)                                = 0
accept(0,   C-c C-cstrace: Process 457 detached
 <detached ...>
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
/proc/457$ sudo cat environ
HOME=/
TERM=linux
BOOT_IMAGE=/gnu/store/nrhx7jf33zqxmbw832bpxyrnc0k3lrnq-linux-libre-4.14.2/bzImage --root=magnolia-root --system=/gnu/store/mqwc1vmlnx076aka7gn8bi89hmj6v3pq-system --load=/gnu/store/mqwc1vmlnx076aka7gn8bi89hmj6v3pq-system/boot
PATH=/gnu/store/a8arlhcrf70113zw7b3qrwqbqfq2hgj6-shadow-4.5/sbin
--8<---------------cut here---------------end--------------->8---

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* fcgiwrap doesn't see gzip
@ 2017-12-01 11:49 Oleg Pykhalov
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg Pykhalov @ 2017-12-01 11:49 UTC (permalink / raw)
  To: guix-devel

Hello Guix, cgit service through fcgiwrap doesn't see gzip.

/run/current-system/profile/bin/gzip exists.

fcgiwrap strace: http://paste.debian.net/998501

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-13  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 12:48 fcgiwrap doesn't see gzip Oleg Pykhalov
2017-12-04  9:04 ` Ludovic Courtès
2017-12-12 15:41   ` Oleg Pykhalov
2017-12-12 16:09     ` Ludovic Courtès
2017-12-13  2:20       ` Oleg Pykhalov
  -- strict thread matches above, loose matches on Subject: below --
2017-12-01 11:49 Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).