From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YybMR-0008VL-OH for mharc-grub-devel@gnu.org; Sat, 30 May 2015 03:39:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YybMQ-0008VF-3B for grub-devel@gnu.org; Sat, 30 May 2015 03:39:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YybML-0007DO-43 for grub-devel@gnu.org; Sat, 30 May 2015 03:39:14 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:36756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YybMK-0007C1-Si for grub-devel@gnu.org; Sat, 30 May 2015 03:39:09 -0400 Received: by lbbqq2 with SMTP id qq2so60420473lbb.3 for ; Sat, 30 May 2015 00:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=78jgqSqdpOZvdUh16aBuPNE6r8KGxDbMs/RWjMoA9P0=; b=XiJPwckdT73qNBg5xQlMN1l/jsSlPyGWHFcOxTI14exCY9OZb6Jp7Z2asikdoDUdXU kE24mtUjJsiYoNVnRYLFZaU7aIrn7vhW/pLkQgwIvgCYs2QxG3DGdjFWxRocJF0rg+f1 AwMtJGbMdj2brXiiWp24d8w0lNxAxQS6PwAB56HB/iIc7RKP8Kf22nc9mqO/BVZWE3Bi merGPkg5wZC9V7y4qBqzbJitYh8XJJ3+fi5NyCbJ12EV4CMZNAxrPSfr3yMFvex4BgXA vmntzsOIj2x+dHlljOgNv1tvFqIGJqXdXsSORaCXXd2uyr5DtW3cNzMoQKJ7X6KASKoP 2pOg== X-Received: by 10.152.6.1 with SMTP id w1mr11496431law.91.1432971548086; Sat, 30 May 2015 00:39:08 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id jl4sm2118041lbc.14.2015.05.30.00.39.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 May 2015 00:39:07 -0700 (PDT) Date: Sat, 30 May 2015 10:39:06 +0300 From: Andrei Borzenkov To: Michael Chang Subject: Re: [RFC] Support menuentry options in simple configuration interface Message-ID: <20150530103906.60110e8c@opensuse.site> In-Reply-To: <1432626794-18469-1-git-send-email-mchang@suse.com> References: <1432626794-18469-1-git-send-email-mchang@suse.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::235 Cc: grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2015 07:39:15 -0000 =D0=92 Tue, 26 May 2015 15:53:14 +0800 Michael Chang =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > This patch provides settings in simple configuration interface that can s= et > common options to menuentry. One of the use cases is specifying the secur= ity > settings thus it won't be overwritten by grub-mkconfig. For eg. >=20 > GRUB_MENU_ENTRY_OPTION_LINUX=3D"--unrestricted" > GRUB_MENU_ENTRY_OPTION_OSPROBER=3D"--users user1" >=20 I'm not sure. I actually feel like configurations that need detailed per user authorizations simply do not fit into simplistic grub-mkconfig. Next someone will miss per-menuentry user list. Most common request is really to allow menu boot while restricting command line, so I think that adding support for this to grub-mkconfig would be fine. Otherwise something more detailed should really be left to distribution specific tools or manual creation of grub.cfg.