From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D587158089 for ; Mon, 30 Oct 2023 06:02:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ED0D2BC023; Mon, 30 Oct 2023 06:02:43 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37C472BC013 for ; Mon, 30 Oct 2023 06:02:43 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF8D85C0091 for ; Mon, 30 Oct 2023 02:02:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 30 Oct 2023 02:02:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= thanosapollo.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1698645762; x=1698732162; bh=Sm gSO8szWQ70afAK40qmg5oeMU9yKMuTcyoY+w+QFqc=; b=SOe1hJf/VbXhwqAoh6 Ga1olYUvVvBIzmT/21aE+N+9YwROzvRwI4PENX1NwNCWGzEtzjqoLp/kJYcUbZIF ZAtKy9O/ByrnA+xTD/sc5ONb562bf3/ON6X5YH1KgJOylNL26Ub4+Tdi+CUwMVmh dM/UpGTRy51C3yszopjPpvZXVMMu1EgdYR/C0DvkRV0iOAAzh3lAku+kPcMhOVUz kck5CUjq4DO6zxTItAqUjChOi5+8jH/8l3TbtP+61UNb4nBpwFzso3fKhsv0sWSY 1TSI/I1RDy0l9AANHGurrFT3FPlwt32xVf99o/fDnh/y2fIuJeEyt5MaRib8VYTw tD/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698645762; x=1698732162; bh=SmgSO8szWQ70afAK40qmg5oeMU9yKMuTcyo Y+w+QFqc=; b=gNHlj126cJJdiA/kAJqmiHVt253auvvMPrQSvIjt6EmYDI692kW OYXQngliBoSo/yue+ZQL/Gf90juw4tj7k7HjRIlwrm1L/AJJpLKBXD1TW9tYZGcq qPkKQSdm+lefrvZVIqwHc2uody3FEfwoEumtMNpB2vYDFp65r+ea6/46JPRbjFEb M39rrTOGut+ibqRnpDLhfglugOfAteqjwyFPhBbGkiukGM0ZeJNi1fB+YiWc+bvF NX0/bPEzZUhnxg/I2S3UiZJNgM5OmA26jMykoxfpcsySyJb3qjiUGmU9P3sxLMYo 6pTG0nzJ2B7xKogGrSMkUFicnIkJzBrttNg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleelgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtsehttdertddtre dtnecuhfhrohhmpefvhhgrnhhoshcutehpohhllhhouceophhusghlihgtsehthhgrnhho shgrphholhhlohdrtghomheqnecuggftrfgrthhtvghrnhepkeegheehtdfgvdegffegud fgfeehgeevveehieeguefgfeefgeettdefhfelffejnecuffhomhgrihhnpehgvghnthho ohdrohhrghdpthhhrghnohhsrghpohhllhhordgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphhusghlihgtsehthhgrnhhoshgrphho lhhlohdrtghomh X-ME-Proxy: Feedback-ID: if6014997:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 30 Oct 2023 02:02:42 -0400 (EDT) User-agent: mu4e 1.10.6; emacs 29.1 From: Thanos Apollo To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] openrc: Writing custom init scripts Date: Mon, 30 Oct 2023 07:50:08 +0200 Message-ID: <87h6m8abr3.fsf@thanosapollo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Archives-Salt: 222a77b1-1682-4e24-ab78-0945981f0cb4 X-Archives-Hash: fef8f06731d26811da909d365b985396 Hey, newbie here with a fresh Gentoo install. I'm setting up mullvad-vpn, using ebuild from GURU, so far so good. I'd like to have a an init script to start the daemon, basically like this: `/etc/init.d/mullvad-daemon` ``` shell #!/sbin/openrc-run command=/usr/bin/mullvad-daemon command_background="yes" ``` running the above script with `doas rc-service mullvad-daemon start` results in: `* rc-service: Permission denied` *even as root user/doas/sudo* As I said, I'm new to openrc. I looked at , am I missing something? Why would this error be produced? -- Thanos Apollo https://thanosapollo.com