From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23331 invoked from network); 18 Jan 2022 10:13:11 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 10:13:11 -0000 Received: from mail-ua1-f45.google.com ([209.85.222.45]) by 4ess; Mon Jan 17 22:27:58 -0500 2022 Received: by mail-ua1-f45.google.com with SMTP id f24so234559uab.11 for <9front@9front.org>; Mon, 17 Jan 2022 19:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:to:subject:date:in-reply-to:mime-version; bh=qnu0jjNqnDkWGuE7xkLrBEmZKMkGT4fzW1oltS6JPN4=; b=Vc4Cdvzg3u8d2xeYfR8Tcx7GIjP9p89joNrMTHIO/FwC9PZzjAEHKUeiDLXgyy41iP mGeJPRcFdf9cxctwBEgGlBJ4CGwPEsVklRjzfp4rF0mxnKjZI+gYuGdoQbFfxn8tKqR9 hCcXNm57yHaB/AkF5COlkEZiIR6gl2JyG45F1R2B8MO1dhKyXWY8IhsWg7w+l5ASzSk5 pjNNBcqxhWJpSbGHlZzhg7rtLwDzU8GVzL27waNL6GvVRBBYviCQZdV/Wq/LAE6T/mZO WjCOpG4kLKZpfPkTbHvFDWo+eDAkIhvZWoLIzvlEvoNs8SNe6Dp5nDCDlnyxCbqwUiks 4spQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:to:subject:date:in-reply-to :mime-version; bh=qnu0jjNqnDkWGuE7xkLrBEmZKMkGT4fzW1oltS6JPN4=; b=7rj0TUJ/5HVT0aoYysu9qnqwrKSm+Pof2Aa0gy10+dLauqVJ4B5DRW/4XaXYZzc2kH lo3Mv0w5Q6yWjicBFFXqGPNDKM37cZ++puLEyCdeKcDKb5fIBCeajC+VG8ycjgoamYIG g71ta6nokx8j47Ip0kVjkoyLjObY4gAEN0naABJjpELPU+/v4ienbpOe6bL2SY5vcJwv TVRxSF/mJx0++cv7ID6+aGIqFMV/Toq2630PcZUIhpwvftKA9Y0QoVX9s4bD+vmIVmkc accuy7J/RJ/eB9m6NCbp7SYABeCoM/Mus/l8TPJEuPZ6vBW+mzNN3Jyr0FW+kvFYR/yV ROBw== X-Gm-Message-State: AOAM531fgJHB4UlZxU8De1esgtKXlXRXmIB19emPhqvW7lVi7Y+TYaj8 2FWHX5sNmYd8irZ8l/dXNWwbNyYyz0Q2Vw== X-Google-Smtp-Source: ABdhPJzs8rmSeSO5xlZ8bQyQ4XPwDCwyqgtn5V7kiLxKmFUyiEN0s61beTu0cCsWxi3ajXdd0+nc1w== X-Received: by 2002:a17:902:b201:b0:149:4b25:332d with SMTP id t1-20020a170902b20100b001494b25332dmr25968428plr.17.1642476043216; Mon, 17 Jan 2022 19:20:43 -0800 (PST) Return-Path: Received: from cirno.thinktank (107-200-43-169.lightspeed.sntcca.sbcglobal.net. [107.200.43.169]) by smtp.gmail.com with ESMTPSA id u13sm12184395pfl.220.2022.01.17.19.20.42 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jan 2022 19:20:42 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <2E55869E6135E7525F5CD6F6AFD23FB3@gmail.com> To: 9front@9front.org Date: Mon, 17 Jan 2022 19:20:40 -0800 In-Reply-To: <4C3A2C43-2475-4B7C-9BF1-B8C01D38680E@stanleylieber.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-czekcklxvnymawhibmnouazrxf" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: agile distributed out-scaling-aware control Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-czekcklxvnymawhibmnouazrxf Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Okay thinking about this. I guess /rc/bin/cpurc has a line # cpu+auth server auth/keyfs -wp -m /mnt/keys /adm/keys aux/listen -q -t /rc/bin/service.auth -d $serviced tcp Which I guess points to tcp services or /rc/bin/services cpu% cat tcp80 #!/bin/rc exec /rc/bin/rc-httpd/rc-httpd >>[2]/sys/log/www cpu% So how do I get the user to run this. Do I just pull it out of cpurc and add it to /usr/www/lib/profile or clearly i'm confused? I guess I always drawterm and log in as glenda the run rcpu -u www. So I should do that and manually run aux/listen -q -t /rc/bin/service.auth -d $serviced tcp --upas-czekcklxvnymawhibmnouazrxf Content-Type: message/rfc822 Content-Disposition: inline Delivered-To: thinktankworkspaces@gmail.com Received: by 2002:a05:7300:2491:b0:4c:de0e:96ca with SMTP id q17csp417041dyi; Mon, 17 Jan 2022 16:32:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEdDl1vcH2GclCTWf10tchfhHDhhxgiW5Jkj/8p7Tq5QM6/31j4Vzly9zUrpPLS/PDdUVd X-Received: by 2002:a5b:30e:: with SMTP id j14mr32503090ybp.60.1642465950029; Mon, 17 Jan 2022 16:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642465950; cv=none; d=google.com; s=arc-20160816; b=DkWvRF0VgH0raPJYeyx3zq2A2crac5wpa2wXoxTpi8j9Bi5senx69QubNRIkP9cy/w eRnXaCXXdJ8ZaoK9/N8C5f7w/i3CSvCxry3QyA3Xyitx5vzgUhLiwzF+dvrXjhuA3J2+ 2sgTVdmLJvJrzojXNpxo3oGuxb9EQdJCwG7hSuDl36UTbwlmacUouexLLL/tBm5ifUjG odmegSFR+s3biUJd07xDAvvB2lgfsukf4yExLnuRYVsts8tcatUoB2s8Z8+T7ky/Y8WR Pxnb1zDEBpQM2hhZ2SFgj7vxSSnKvzqW3KNK6+Lv4CK/hFsdtt78wfvD8SweEWTCZkGG krFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:reply-to:subject:list-help:list-id :content-transfer-encoding:mime-version:message-id:references :in-reply-to:to:from:date; bh=I+cFlNHOjPNmOqPAqnV2GmeUnWIlg43Z2dbJtpuVcdQ=; b=ncDUdyXxXqhgIcD/1Le/EGhqSInMUMAkco3E5MDomxLkhhxqwSDtCgnX+nTXiMcPDP BvjKFHpqiAhqbyl0fA8NBqdBnYeK+ulQ0KpsgXj7v9EHgEbPvSuzetaeHEX4BxyI8Zrn dfTOMIT7fT3dG8ucYIk3qbjkA35mtR96weaoBK9Jv9ayu2XdbUpmTI5VoeoGUeq0qomM 0yFlt+iXv2SsIoA8ls+PSoE6Duy8azNzO1sDYr/R5FPIk3WwMODp8DHEpF6YML+fBukl joKStBnMbqtYaR2zuTfIIwx1ugpPSRe8Q3SPfIkH8r9Q8+DZX3hzOPOKMjcyTrOO5znH 0LXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) smtp.mailfrom=9front-bounces@4ess.inri.net Return-Path: <9front-bounces@4ess.inri.net> Received: from 4ess.inri.net (4ess.inri.net. [216.126.196.42]) by mx.google.com with ESMTP id t11si2445623ybu.814.2022.01.17.16.32.27; Mon, 17 Jan 2022 16:32:30 -0800 (PST) Received-SPF: pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) client-ip=216.126.196.42; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) smtp.mailfrom=9front-bounces@4ess.inri.net Received: from 5ess.inri.net ([107.191.111.177]) by 4ess; Mon Jan 17 19:23:14 -0500 2022 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Mon Jan 17 19:23:13 -0500 2022 Date: Tue, 18 Jan 2022 00:23:11 +0000 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> References: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> Message-ID: <4C3A2C43-2475-4B7C-9BF1-B8C01D38680E@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stateless proven grid NoSQL module persistence-based control Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk On January 17, 2022 11:47:00 PM UTC, thinktankworkspaces@gmail=2Ecom wrote: >So I deleted everything and started over=2E Its working now but I still r= an into a few problems=2E=20 > >So you need to log in in order to add a comment=2E When I log in I still = get an error writing data=2E=20 > >Auth: success >umask: '/bin/umask' directory entry not found >mkdir: can't create sites/cirno/_werc/comments: 'sites/cirno/_werc/commen= ts' access permission denied >ERROR XXX: Could not create comment: mkdir 57899: error >cirno/ - Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/60= 5=2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 - POST - = md_handler sites/cirno/index=2Emd - lib/default_master=2Etpl >Mon Jan 17 14:54:06 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ >tee: cannot open /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6= /57917: '/tmp/fltr_cache' does not exist >mv: can't stat /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6/5= 7917: '/tmp/fltr_cache' does not exist >Auth: success >Mon Jan 17 14:54:07 PST 2022 :: cirno :: GET /pub/style/style=2Ecss HTTP/= 1=2E1 :: Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605= =2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: = http://cirno/ > >Not really sure why I get this error=2E The user www should have full acc= ess to everything=2E However I suspect >an issue with one of the files /bin/umask does not exist in plan9=2E So I= did a grep to search for it >I found it in two areas=2E=20 > >/usr/www/werc/apps/bridge/app=2Erc:88=2E I would comment it out >I also belive app=2Erc:91 is incorrect >I think app=2Erc:91 should be >mkdir -p $dir && > >Auth: success >sites/cirno/_werc/comments/1642460857/user: =2E/apps/bridge/app=2Erc:93: = can't open: 'sites/cirno/_werc/comments' does not exist >Mon Jan 17 15:07:37 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ > >I still got another error=2E I guess you need to create the directory 'co= mments' in sites/cirno/_werc/ > >so I had to manually run >mkdir -p comments while in sites/cirno/_werc/ directory and then run >chmod 777 comments > >Not exactly happy about that but it works=2E=20 > >Wiki is also another issue and required the following > >mkdir -p sites/cirno/index=2Emd_werc >chmod 777 index=2Emd_werc >chmod 777 index=2Emd > >I also had to remove umask from apps/dirdir/app=2Erc > >So two directories are 777 and one file=2E But now my other plan9 users c= an make changes not that I have >any users but this is kind of bad=2E=20 sorry i haven't had time to look into this more closely yet, but i run all= the werc apps on 9front under rc-httpd, and they all work without modifica= tion=2E most of the errors generated by missing unix commands can be safely= ignored *if things are working*=2E werc was written on linux, and mostly a= ssumes you are running some flavor of plan9port tools on a unix=2E i will h= ave to look into apps/ further to see if some of these errors can be trimme= d=2E your errors about the missing directories indicate whatever user is execut= ing werc (whomever rc-httpd is running as) does not have permission to crea= te those missing directories, so is failing=2E how are you launching rc-htt= pd, exactly? the path werc/sites/cirno also seems questionable=2E the directories under= sites/ are meant to correspond to domain names=2E sl --upas-czekcklxvnymawhibmnouazrxf--