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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBCAD1382C5 for ; Fri, 27 Apr 2018 18:43:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 636B0E09AB; Fri, 27 Apr 2018 18:43:52 +0000 (UTC) Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF566E0908 for ; Fri, 27 Apr 2018 18:43:51 +0000 (UTC) Received: by mail-pf0-f177.google.com with SMTP id a11so2081840pfn.9 for ; Fri, 27 Apr 2018 11:43:51 -0700 (PDT) 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; bh=qH7dxtHoMwGjcXyGXFrGH6+/cddlNevXDM4w1bbgn4g=; b=qwFZo7LLjEKuKSBgt6Hbf/+TEh8w/fsNLa8zyIAIYxH8bmIcrAZY5YPB3UYSnctyxM ZwiT0QzHU7uJ+OMdJYZbgEbvbBEEMb7J1QLUV+9DFiqZdUuxb5rKyq8DjeCqJDGoy9Lj sl7+V0LZNTbGHeH8fhQfzMChYBsPLVSz0pTgSERV2yWHV9WUsoFKsZQH87+ivb+YVaC5 +aFdh5ub5EuhRUvXTVFMamNvSv06jiRVyFhFOFrcAh4WswtXJws7BMfRZOGI7SYy5Zk3 Wbmb/CsEnorqqrAEPzvQjig8zHKNmw5jaXTmlvk1k17aqa6X/5KiCER0uyosvwTlCBTr T2bw== X-Gm-Message-State: ALQs6tC3AOdqsXKnRNHVP2Z42eHsiyj9vrFMbSOEseJTnA1ildUDzQe2 vFHouL+aUbGrRcGwytX02MezXzkz6CMPS2ZnZdB47g== X-Google-Smtp-Source: AB8JxZosFD2Sb3nVZOq7WEXmEJ2hbJETVJetnw1c7XkwVxMjA3u7zX/m3Tl+DRDBsxLaFwZ2Vz53ajnDEv3cVlzKp4E= X-Received: by 2002:a65:52cc:: with SMTP id z12-v6mr3002816pgp.126.1524854630433; Fri, 27 Apr 2018 11:43:50 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 References: <20180425192029.GA25356@whubbs1.gaikai.biz> <20180426163351.GA29521@whubbs1.gaikai.biz> <20180426200853.GA30322@whubbs1.gaikai.biz> <20180427183411.4273dcdc@katipo2.lan> <0a2f4f29-0a8a-c00e-430c-cdd0089bdb30@gentoo.org> <20180427154501.GA2144@whubbs1.gaikai.biz> <75250b8e-0f79-3472-dafa-8dddf78795b9@gentoo.org> In-Reply-To: <75250b8e-0f79-3472-dafa-8dddf78795b9@gentoo.org> From: Rich Freeman Date: Fri, 27 Apr 2018 18:43:39 +0000 Message-ID: Subject: Re: [gentoo-dev] rfc: virtual/init for init process To: gentoo-dev Cc: Patrick McLean Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: e773eba1-aab3-43aa-a57e-ff6162667d35 X-Archives-Hash: 37ac70a7082a4b973bf2fc9fa045c875 On Fri, Apr 27, 2018 at 2:18 PM Zac Medico wrote: > Actually, if things like sys-apps/s6 or sys-process/runit remain as > choices for virtual/init, this isn't going to solve the problem of > sys-apps/sysvinit being removed by emerge --depclean. In fact, if > virtual/init is not in the system set, then emerge --depclean will not > even warn about removing a system package when it removes sys-apps/sysvinit. Well, at least we don't have to worry about users accidentally uninstalling openssh, nano, or e2fsprogs (too bad if they use any other filesystem though). :) In general we don't have a great way of telling portage what we're actually using when various packages do more than one thing. If you have busybox installed you could conceivably remove a lot of other packages, but most users don't actually intend for this to happen. A USE flag that just pulls in a dep seems like the least evil solution unless somebody wants to come up with a more general one. -- Rich