Received: (at 33270) by debbugs.gnu.org; 6 Nov 2018 07:56:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 02:56:10 2018 Received: from localhost ([127.0.0.1]:35959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gJwDZ-0004KO-Vt for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 02:56:10 -0500 Received: from mail-io1-f52.google.com ([209.85.166.52]:38726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <boskovits@HIDDEN>) id 1gJwDY-0004KB-82 for 33270 <at> debbugs.gnu.org; Tue, 06 Nov 2018 02:56:08 -0500 Received: by mail-io1-f52.google.com with SMTP id q18-v6so8548537iod.5 for <33270 <at> debbugs.gnu.org>; Mon, 05 Nov 2018 23:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GGMbMND8pY7n3mtgBdlQFhaE3/wCv8SorDKNOBY+i+Q=; b=nWnZk3ujwcEStxoySMsLcMMQvhMkghdH5eaAK65bduVeKf4dFFpBpa3rYt2nfhGdCi fmxRR6bVYLjU3VKwytlaN6OGpFF33Ag/grTePe+JUYqszhvLljBc6jKKr/XhZ+e4l02M Q4j+qdBNQZKxvrGnLU2Fnj/80uqG+eYwQtvev49WR8bSA5GtM/sgd0SwTaK+LvIucdzp qhT9L+37yfqamXqZifist2AiPdc43DqDBdR2j2PaZwp+GikrH6qipRQLTTPYR6ieqsu0 owD5d44szlLPT2VAD5/E654vs+7dbbYWH/Uh68yV64/YelucMn9BzAdICAcy0ysVNLnA qtXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GGMbMND8pY7n3mtgBdlQFhaE3/wCv8SorDKNOBY+i+Q=; b=bmrTbhdGcSUiZhh8aHcxv7/vx3UJvV8Muc2AaLKMQjkCOFCGFKzsbHR66yCSYd/VLl mCP77VRoB91rV6jInkaCB/UI3CCcARBhmq4rpQnBp0y+Vq9cHPBjUEEK7YcvgnQgP32+ mfwkuvZ+JGcsi2CU+tPeU/Gt9wXWSk/fT/UICE0foUyPj1XJZOlNWiEuBo3pB2LXWy47 62PsA3z3YKrq85Dj2j1P2F7WbvR8W2ZgQ/azhDl3JjgLMdICrpmQjw8dwVAi22Qe5a48 M2aRaw6mU7CYXuFYgWwN5uBtP/uKXCAdM86dE9qJMT09b2/mDDZBEPjbDIdwVbxQGeun uMtw== X-Gm-Message-State: AGRZ1gJUrTOODKQV2GlvFz8zNGGP2R03Zj11DUsKNXsVxb9a0m8+Dn0h R78Nbw7sJ2Mir0g/23+QSuuQ5rV28ASozntLDTrtzhE= X-Google-Smtp-Source: AJdET5fzrhTMlRk3Ws8o3+jLtNvIOQSD4aimjXNJcMqto1lHO2EzOLI5uJLzls2cFXXGXGdovxMJEGQiN0FNORflx0I= X-Received: by 2002:a6b:e009:: with SMTP id z9-v6mr21179842iog.44.1541490962468; Mon, 05 Nov 2018 23:56:02 -0800 (PST) MIME-Version: 1.0 References: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> <87muqnwbj0.fsf@HIDDEN> <CAE4v=phMy1QLf+T5VyP+9h8wN5xG+xrXHVqcAWQTUgiP9Rhi2g@HIDDEN> <20181105234944.305ce816@HIDDEN> In-Reply-To: <20181105234944.305ce816@HIDDEN> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN> Date: Tue, 6 Nov 2018 08:55:49 +0100 Message-ID: <CAE4v=piKq6+fGenF-=9RabBBs_8X2hGsDV8iH+maqYayZbEW4g@HIDDEN> Subject: Re: bug#33270: [SHEPHERD] Wrong error message when missing priviledge To: Danny Milosavljevic <dannym@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33270 Cc: Ricardo Wurmus <rekado@HIDDEN>, 33270 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Danny, Danny Milosavljevic <dannym@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2= 018. nov. 5., H, 23:49): > > Hi Gabor, > > On Mon, 5 Nov 2018 22:57:15 +0100 > G=C3=A1bor Boskovits <boskovits@HIDDEN> wrote: > > > > sdb@komputilo ~$ herd status > > > > error: connect: /run/user/30011/shepherd/socket: No such file or di= rectory > > > > Actually this seems to be a message that can be translated to > > 'shepherd user instance is not running' am I correct? > > Yes, that's what it means. For a UNIX error message, what it's saying > is actually quite close to what it really means. :) > > I would suggest to keep the file name in the error message anyway, > but no harm in adding some extra information (it will slightly complicate > the socket discovery code, but that's okay. Also, right now profiles can > actually set up XDG_RUNTIME_DIR to point somewhere else and make herd con= nect > to the profile's shepherd's socket - which is nice, but is not really a *= user" > shepherd then anymore). > > Also, we should suppress the stack trace for this specific error since it > really doesn't add anything useful. > > > > The error could be that either the user=E2=80=99s instance is not run= ning or > > > that the user meant to communicate with the init system. It is not > > > obvious to me how to distinguish these two errors. > > I don't think it's possible to distinguish these. > > It would be possible to make herd fallback to the system shepherd if it c= an't > find the stuff in the user shepherd, but I'm not sure I'd like it. I would not like this either. > > Better, we could add "--user" and "--system" options to force herd to con= nect to > some specific shepherd regardless of user, at the cost of hard-coding tha= t there > are only these two (which is not actually the case - shepherd is meant to= be > used in a modular way and doesn't care one way or another how often and w= here > exactly you run it). Could we instead just give a hint like, "if you intended to communicate wit= h the system shepherd, please specify -s system_sepherd_socket_name_here on you command"? > > It's kinda weird to have different endpoints depending on whether one is = root or > not, but as a default it has precedent in both dbus and systemd. > > I think people can get used to it (we should document it).
bug-guix@HIDDEN
:bug#33270
; Package guix
.
Full text available.Received: (at 33270) by debbugs.gnu.org; 5 Nov 2018 22:49:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 17:49:54 2018 Received: from localhost ([127.0.0.1]:35826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gJngv-0007oJ-QX for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 17:49:53 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:56558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1gJngu-0007oB-1f for 33270 <at> debbugs.gnu.org; Mon, 05 Nov 2018 17:49:52 -0500 Received: from localhost (178.113.175.117.wireless.dyn.drei.com [178.113.175.117]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4FF443360156; Mon, 5 Nov 2018 23:49:50 +0100 (CET) Date: Mon, 5 Nov 2018 23:49:44 +0100 From: Danny Milosavljevic <dannym@HIDDEN> To: =?ISO-8859-1?Q?G=E1bor?= Boskovits <boskovits@HIDDEN> Subject: Re: bug#33270: [SHEPHERD] Wrong error message when missing priviledge Message-ID: <20181105234944.305ce816@HIDDEN> In-Reply-To: <CAE4v=phMy1QLf+T5VyP+9h8wN5xG+xrXHVqcAWQTUgiP9Rhi2g@HIDDEN> References: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> <87muqnwbj0.fsf@HIDDEN> <CAE4v=phMy1QLf+T5VyP+9h8wN5xG+xrXHVqcAWQTUgiP9Rhi2g@HIDDEN> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/taKn3+hmf50MIS2Fjd5S07T"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33270 Cc: Ricardo Wurmus <rekado@HIDDEN>, 33270 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_/taKn3+hmf50MIS2Fjd5S07T Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Gabor, On Mon, 5 Nov 2018 22:57:15 +0100 G=C3=A1bor Boskovits <boskovits@HIDDEN> wrote: > > > sdb@komputilo ~$ herd status > > > error: connect: /run/user/30011/shepherd/socket: No such file or dire= ctory =20 >=20 > Actually this seems to be a message that can be translated to > 'shepherd user instance is not running' am I correct? Yes, that's what it means. For a UNIX error message, what it's saying is actually quite close to what it really means. :) I would suggest to keep the file name in the error message anyway, but no harm in adding some extra information (it will slightly complicate the socket discovery code, but that's okay. Also, right now profiles can actually set up XDG_RUNTIME_DIR to point somewhere else and make herd conne= ct to the profile's shepherd's socket - which is nice, but is not really a *us= er" shepherd then anymore). Also, we should suppress the stack trace for this specific error since it really doesn't add anything useful. > > The error could be that either the user=E2=80=99s instance is not runni= ng or > > that the user meant to communicate with the init system. It is not > > obvious to me how to distinguish these two errors. I don't think it's possible to distinguish these. It would be possible to make herd fallback to the system shepherd if it can= 't find the stuff in the user shepherd, but I'm not sure I'd like it. Better, we could add "--user" and "--system" options to force herd to conne= ct to some specific shepherd regardless of user, at the cost of hard-coding that = there are only these two (which is not actually the case - shepherd is meant to be used in a modular way and doesn't care one way or another how often and whe= re exactly you run it). It's kinda weird to have different endpoints depending on whether one is ro= ot or not, but as a default it has precedent in both dbus and systemd. I think people can get used to it (we should document it). --Sig_/taKn3+hmf50MIS2Fjd5S07T Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlvgyQgACgkQ5xo1VCww uqVEJgf8DgYKMpzG5xnIts6tYIHru/Y6kRlKzwmAeQIo6TC6pI/cPhTwXCEHROZd zKoCxjaUxJ8U2PHRP+Rv0Z6q7AjTcSY8QNTnI6pC6rRa6L6b4rVeOWzViF2rpbj+ oPtZQzMHxuNdx0sMjRmc1s96oljQ1LEXa37gzo1jJMapAOXWQHvX0oqkq3twXW8s c/fix57cZx3wBFca9sFgz1qSUX0AQRkQevmN4EBEca6TKnd/6WEQIEbBea5XhBEt E6FO2b0HIfp1cctIaI2FFxMJW1bUsQCUod3hPvYcwpHrz3zw9ASbfjtpEW+SvKuH bjSqNtMoI10N3vKJTqR0dKNf/mMlOA== =giCs -----END PGP SIGNATURE----- --Sig_/taKn3+hmf50MIS2Fjd5S07T--
bug-guix@HIDDEN
:bug#33270
; Package guix
.
Full text available.Received: (at 33270) by debbugs.gnu.org; 5 Nov 2018 21:57:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 16:57:42 2018 Received: from localhost ([127.0.0.1]:35800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gJmsQ-0006as-ET for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 16:57:42 -0500 Received: from mail-it1-f175.google.com ([209.85.166.175]:53782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <boskovits@HIDDEN>) id 1gJmsM-0006aZ-MU for 33270 <at> debbugs.gnu.org; Mon, 05 Nov 2018 16:57:40 -0500 Received: by mail-it1-f175.google.com with SMTP id r12-v6so12299664ita.3 for <33270 <at> debbugs.gnu.org>; Mon, 05 Nov 2018 13:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qcOrZ5FEp2tPd91t3U/FrArfwojxsNatU+gc/n6TXks=; b=cW8XXNlWD0wvp6wTCehGd9DnJTzOv3Zu1rl/NSiN1EBKGtrljAGyiJqotXWildUc7A vEeSD4p1oeRBaj2sFplQu6RAzLN8RzF3Bsjnvj1tKGwsynh9gD/9/cs/4lzC1ET/lzo9 2VocjBt3J9UjRCetZd3NqF+1y/EfntVLJoJG8R0tC++WideBGJ/EGcAZKo2QToFl3iHv AAkitpDr74+fFDgtPp/kF82sYpw1bXvzIJ6hcI7IEjT3V3Nylsayh1HSfA/tepAim5XS k/X275yF9uh3hnUkknqQqZ/hXZ8d5doyfneTiHnBmnFAuxBONXOT3oVCDSJtBGVbR6wl AFFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qcOrZ5FEp2tPd91t3U/FrArfwojxsNatU+gc/n6TXks=; b=jSKg60NEQXtoa+//xLWlf33aKVyel0il3YN0Gw1o+Vqwu7SzkkPMDw79UX8tzOByMB eaa8+Ppk/7eKzk3OnvnvjlINN/M7gsE4whecVvle4Obbl5wdfLEy4Ym87c2D+yoJjYDB UFB7eqreWZ/2C0D7xb7OaFzmzpQb1yOLNEzhn8yZJx5JNo0994jkGiKzd4c3POYCLuha zJ5v0dqRAGIcRiXjim7kR/1vrtjn9hI3/3v8o1AWx1XcNrfDANYLXbMU+K2K7BCfW2ow v4uHh4icB+8qh07nncTfRK4Vrev/fDtQVJ1oCWyPwfcSIIYps/OIYQxCat3OrISYd4DM Y2eQ== X-Gm-Message-State: AGRZ1gL+wg07U6fNPnIEhok9wJNli97o/I3342L0wHzEYno5pxtNUsCx Mx9g/pGjx+U+Vz9fbmzsSnqGKJhZTvgI3D5L2A== X-Google-Smtp-Source: AJdET5cMb3rnDx9nwASN/0DAs+i7lt0Wz2TY/GULzWJshz8/3iXP53hIcfZU0BItQpH/O2rfByeuFgw/NWpQOrp0XLA= X-Received: by 2002:a24:c487:: with SMTP id v129-v6mr2212itf.110.1541455053125; Mon, 05 Nov 2018 13:57:33 -0800 (PST) MIME-Version: 1.0 References: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> <87muqnwbj0.fsf@HIDDEN> In-Reply-To: <87muqnwbj0.fsf@HIDDEN> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN> Date: Mon, 5 Nov 2018 22:57:15 +0100 Message-ID: <CAE4v=phMy1QLf+T5VyP+9h8wN5xG+xrXHVqcAWQTUgiP9Rhi2g@HIDDEN> Subject: Re: bug#33270: [SHEPHERD] Wrong error message when missing priviledge To: Ricardo Wurmus <rekado@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33270 Cc: swedebugia@HIDDEN, 33270 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Ricardo, Ricardo Wurmus <rekado@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2018. nov.= 5., H, 20:50): > > > swedebugia <swedebugia@HIDDEN> writes: > > > sdb@komputilo ~$ herd status > > error: connect: /run/user/30011/shepherd/socket: No such file or direct= ory > Actually this seems to be a message that can be translated to 'shepherd user instance is not running' am I correct? I guess that way it is explicit that the command given would like to talk to a shepherd user instance. Am I missing something here? > It is possible to run shepherd as a user service manager. This means > that we can=E2=80=99t generally assume that the user meant to communicate= with > the init instance. > > The error could be that either the user=E2=80=99s instance is not running= or > that the user meant to communicate with the init system. It is not > obvious to me how to distinguish these two errors. > > -- > Ricardo > > > > Best regards, g_bor
bug-guix@HIDDEN
:bug#33270
; Package guix
.
Full text available.Received: (at 33270) by debbugs.gnu.org; 5 Nov 2018 19:49:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 14:49:16 2018 Received: from localhost ([127.0.0.1]:35649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gJks8-0001Q2-JB for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 14:49:16 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1gJks6-0001Ps-FC for 33270 <at> debbugs.gnu.org; Mon, 05 Nov 2018 14:49:14 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1541447335; cv=none; d=zoho.com; s=zohoarc; b=kp6eNw2v9EXgBbK0uR/FeOFDEvSfQeA2783ONoHX2UMFyy+R9rgjBPv/58NhjlQjxAWL2f/tD/XMOxLNoRHsz+tQVlHlOZpqpyTvwn7fqcOYnxRjpcNV2m6z2iIQIknyumaiw4DpUGqD8SBwECsClepe0UuM2Te4A6cS9UcTKcc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1541447335; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=uO8RIdVQ5ZpGX85ZfVcp2WjIEvDy6STUbSGJKDBNq1A=; b=Z6oXuKOrkoRqgBFNov3sWsc9nuced36CCeKvWgo9rcORRXNbmmAOe3o2nuIBCWOmmcuuFwFZbysyEuEjmiwNwkxYU/sdI6/vFZRc8B8c8zFJ6oDQmqW+FYsjSuv7bpK2T+pBtL+GxcSYzCBfMtV1CUWMrlgSXKeLhB9vuKMPjoI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1541447335; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=548; bh=uO8RIdVQ5ZpGX85ZfVcp2WjIEvDy6STUbSGJKDBNq1A=; b=dKccVdRG58br0mb1aHWWC1ayj4QtSWH1CSS/49W7F/jbfTOBnVgUIMoovSUpnqyd 8wNGtJPtn3RKkrmWHv5jcEKzYuGx3/1xHav7er9FOryByDLvZy9fZ9+1GS3G8IxO4/M rsjdlndpPcbEktHvMtkmskYFaM0a/QZSwpEW58Zk= Received: from localhost (port-92-193-222-91.dynamic.qsc.de [92.193.222.91]) by mx.zohomail.com with SMTPS id 1541447335351788.1241262794863; Mon, 5 Nov 2018 11:48:55 -0800 (PST) References: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus <rekado@HIDDEN> To: swedebugia <swedebugia@HIDDEN> Subject: Re: bug#33270: [SHEPHERD] Wrong error message when missing priviledge In-reply-to: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 05 Nov 2018 20:48:51 +0100 Message-ID: <87muqnwbj0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33270 Cc: 33270 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) swedebugia <swedebugia@HIDDEN> writes: > sdb@komputilo ~$ herd status > error: connect: /run/user/30011/shepherd/socket: No such file or directory It is possible to run shepherd as a user service manager. This means that we can=E2=80=99t generally assume that the user meant to communicate w= ith the init instance. The error could be that either the user=E2=80=99s instance is not running or that the user meant to communicate with the init system. It is not obvious to me how to distinguish these two errors. -- Ricardo
bug-guix@HIDDEN
:bug#33270
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 5 Nov 2018 09:56:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 04:56:16 2018 Received: from localhost ([127.0.0.1]:34616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gJbcG-0001lv-Dq for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 04:56:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <swedebugia@HIDDEN>) id 1gJbcF-0001lh-1C for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 04:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <swedebugia@HIDDEN>) id 1gJbc9-0006wE-22 for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 04:56:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <swedebugia@HIDDEN>) id 1gJbc8-0006u2-Tl for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 04:56:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <swedebugia@HIDDEN>) id 1gJbc7-00087P-VU for bug-guix@HIDDEN; Mon, 05 Nov 2018 04:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <swedebugia@HIDDEN>) id 1gJbc4-0005ho-K1 for bug-guix@HIDDEN; Mon, 05 Nov 2018 04:56:07 -0500 Received: from mx1.riseup.net ([198.252.153.129]:56766) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <swedebugia@HIDDEN>) id 1gJbc2-0004WG-EN for bug-guix@HIDDEN; Mon, 05 Nov 2018 04:56:04 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id C47C71A04C0 for <bug-guix@HIDDEN>; Mon, 5 Nov 2018 01:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1541411759; bh=k2CHWtOJIX16rueFh2s565dOMEdnW6E8lQeJ9ylcoZ0=; h=To:From:Subject:Date:From; b=K0bNEMI1nR/VXlvKuOZkjko+G9zYS3fuFtfGuabnxOixZSrhdsddefMhlA9Ii+xXy PEwPNWBXF/buN5T56CxabjYi/DPAkXxuf0jNL1XmPJscwWW4wimUnArBB1DtLIdAXp SGlyswywxQ2yOw5OzRkFyMJdsiXtoyB88hPcdczE= X-Riseup-User-ID: AE8009A1F5524FE3BDCB44AE14EEBDD9E24555A9B3C5AE359C7D84D707D104B3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 324C21E00C9 for <bug-guix@HIDDEN>; Mon, 5 Nov 2018 01:55:58 -0800 (PST) To: bug-guix@HIDDEN From: swedebugia <swedebugia@HIDDEN> Subject: [SHEPHERD] Wrong error message when missing priviledge Message-ID: <cbab21da-6492-571e-f078-69ae920b9f70@HIDDEN> Date: Mon, 5 Nov 2018 10:55:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.1 (-----) Hi sdb@komputilo ~$ herd status error: connect: /run/user/30011/shepherd/socket: No such file or director= y sdb@komputilo ~$ sudo herd status Password: Started: =C2=A0+ console-font-tty1 =C2=A0+ console-font-tty2 =C2=A0+ console-font-tty3 =C2=A0+ console-font-tty4 ... --=20 Cheers Swedebugia
swedebugia <swedebugia@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#33270
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.