{"id":809231,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809231/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170903074829.3782-1-bernd.kuhls@t-online.de/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170903074829.3782-1-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-03T07:48:29","name":"[1/1] util-linux: linux-pam is needed for su","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"86bffbac71b16c43ddb089cf69cbd8787477f67e","submitter":{"id":62613,"url":"http://patchwork.ozlabs.org/api/1.2/people/62613/?format=json","name":"Bernd Kuhls","email":"bernd.kuhls@t-online.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170903074829.3782-1-bernd.kuhls@t-online.de/mbox/","series":[{"id":1202,"url":"http://patchwork.ozlabs.org/api/1.2/series/1202/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1202","date":"2017-09-03T07:48:29","name":"[1/1] util-linux: linux-pam is needed for su","version":1,"mbox":"http://patchwork.ozlabs.org/series/1202/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809231/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809231/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlQ8S4hxfz9s7p\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 17:48:39 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id F06BE2C9EF;\n\tSun,  3 Sep 2017 07:48:36 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9i0wovp-e8DD; Sun,  3 Sep 2017 07:48:36 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id D272E22F00;\n\tSun,  3 Sep 2017 07:48:35 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id AE36C1C26D0\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 07:48:34 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id A78FB88868\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 07:48:34 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Ru-6dT1XBd0W for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 07:48:33 +0000 (UTC)","from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 781F688866\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 07:48:33 +0000 (UTC)","from fwd34.aul.t-online.de (fwd34.aul.t-online.de [172.20.26.145])\n\tby mailout02.t-online.de (Postfix) with SMTP id D2D4941A7A3D;\n\tSun,  3 Sep 2017 09:48:30 +0200 (CEST)","from fli4l.lan.fli4l\n\t(Vma4E6Zp8hE5x7A5h7zXV5L69LRw1wdFc5mUVGggMQWYSAGWmSivsSJ5WaHui42ZI3@[79.222.100.78])\n\tby fwd34.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1doPdu-1SC2a00; Sun, 3 Sep 2017 09:48:30 +0200","from mahler.lan.fli4l ([192.168.1.1]:54816 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1doPdt-0001Z2-AK; Sun, 03 Sep 2017 09:48:30 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Bernd Kuhls <bernd.kuhls@t-online.de>","To":"buildroot@buildroot.org","Date":"Sun,  3 Sep 2017 09:48:29 +0200","Message-Id":"<20170903074829.3782-1-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","X-ID":"Vma4E6Zp8hE5x7A5h7zXV5L69LRw1wdFc5mUVGggMQWYSAGWmSivsSJ5WaHui42ZI3","X-TOI-MSGID":"f59ae71d-0962-4d50-9582-5e5dd4cbd004","Subject":"[Buildroot] [PATCH 1/1] util-linux: linux-pam is needed for su","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"With linux-pam, the configure script bails out with:\n\nconfigure: error: su selected, but required PAM header file not available\n\nFixes:\nhttp://autobuild.buildroot.net/results/338/3381a49d17aa0d4b9711cbb36a5d7b563a8ae08f/\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/util-linux/Config.in | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)","diff":"diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in\nindex d2a925c1b..80aab881a 100644\n--- a/package/util-linux/Config.in\n+++ b/package/util-linux/Config.in\n@@ -330,10 +330,18 @@ config BR2_PACKAGE_UTIL_LINUX_SETTERM\n \n config BR2_PACKAGE_UTIL_LINUX_SU\n \tbool \"su\"\n-\tdepends on BR2_USE_MMU # fork()\n+\tdepends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam\n+\tdepends on !BR2_STATIC_LIBS\n+\tdepends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam\n+\tdepends on BR2_USE_MMU # fork(), linux-pam\n+\tselect BR2_PACKAGE_LINUX_PAM\n \thelp\n \t  Run a command with substitute user and group ID\n \n+comment \"su needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library\"\n+\tdepends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \\\n+\t\t|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL\n+\n config BR2_PACKAGE_UTIL_LINUX_SULOGIN\n \tbool \"sulogin\"\n \tdepends on BR2_USE_MMU # fork()\n","prefixes":["1/1"]}