From unknown Mon Jun 23 06:02:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27311: Enlightenment: 'cpufreq binary needs suid or has to be owned by root' Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 10 Jun 2017 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27311 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27311@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149710706324063 (code B ref -1); Sat, 10 Jun 2017 15:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jun 2017 15:04:23 +0000 Received: from localhost ([127.0.0.1]:39042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJhw7-0006G3-2Z for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJhw5-0006Fr-Dz for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJhvz-0002iN-9J for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dJhvz-0002iH-6n for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJhvy-0004sW-1e for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJhvu-0002hD-VD for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:14 -0400 Received: from aibo.runbox.com ([91.220.196.211]:45468) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJhvu-0002gp-Mu for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:10 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dJhvs-00005G-DK for bug-guix@gnu.org; Sat, 10 Jun 2017 17:04:08 +0200 Received: from [5.135.65.145] (helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dJhvE-0006wF-TY for bug-guix@gnu.org; Sat, 10 Jun 2017 17:03:29 +0200 Date: Sat, 10 Jun 2017 15:03:23 +0000 From: ng0 Message-ID: <20170610150323.qqys6t7febaalmra@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qlnkqkmwghblcxep" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --qlnkqkmwghblcxep Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable To reproduce (on an desktop computer): Add enlightenment to your system config, reconfigure, reboot, log in and click through the Enlightenment first start dialogue (which itself reveals more bugs ;)) and the first message box you get after you completed the first start dialogue and E21 has loaded is this: Cpufreq Permissions Error The freqset binary in the cpufreq module is not owned by root or does not have the setuid bit set. Please ensure this is the case. For example: sudo chown root /gnu/store/aaaaaaaaaaa-enlightenment-0.21.7/lib/enlightenme= nt/modules/cpufreq/linux-gnu-x86_64-ver-0.21/freqset sudo chmod u+s,a+x /gnu/store/aaaaaaaaaaa-enlightenment-0.21.7/lib/enlighte= nment/modules/cpufreq/linux-gnu-x86_64-ver-0.21/freqset It seems like we need to have an 'enlightenment-service' similar to xfce4 and gnome. There's a number of dysfunctional features at the moment, I like to track them all in related or unique bugs. --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --qlnkqkmwghblcxep Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlk8CjsACgkQ4i+bv+40 hYjGlg/+MVO0DchNY3vW0cIsURhsPyMpBK1Z2ivPkODbEipzexeMby/ICJ4q8LqN +cfzff/yhVtx3g4PseFYxaZSDF96QnBWRi1js0465ZfD3rbHrmOteAjrQnrp2/FI Q0qYdAR4Aele0Ue7kD4wcRAXBr7BAvNF9NzHmJ3uKfQc+kE8Izo14bOcVg7KL9oz 5SwFwdtnq3aaI3xtKHZ53vJofx3QqJypZ15S0ElXm3buTk4QhOioF1FlZvSrtXgI WwyE3+3g++u1eb+Cnp/C3VzMS0nwKuchtgn9bYvRgKQ40fwqF3pH6oYjXKO4mhgz oHIFt+R84ny8/vE1585YH0hzdW3/OgAGE1EpQsmTa5/GMbJSg9eZXAE2BPSRyGnh qps76x7s4z1vVxDZiZL4lEZSCSAPnsOQ3lkG7qwbtnwRrPRzZvkLBgURK2Vpxz0V bc0rdZdQd4MKftkgwV0i68l/bea7cA7zyhnnRb099QLmPqemiz897vX0nT+xVe+j gCKuRe1vcJOrsFJr++hJLy9GbRGVAc3uJPc9nhlJK+9NuPa4dErUt+8ngYwPaWFo HFl6jPCw/gwoGuDTjZ51ykOt70Px6XyFo4tz6IudEOcipzjVHqlaOGwqg+yq+T/7 7pKfJnh6CqfjpKtRRPENnug4EvIcaAn/SvANjmwPgiGPbGk7y0k= =BEk2 -----END PGP SIGNATURE----- --qlnkqkmwghblcxep-- From unknown Mon Jun 23 06:02:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27311: Acknowledgement (Enlightenment: 'cpufreq binary needs suid or has to be owned by root') Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 11 Jun 2017 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27311 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27311@debbugs.gnu.org Cc: ng0 Received: via spool by 27311-submit@debbugs.gnu.org id=B27311.149719894513101 (code B ref 27311); Sun, 11 Jun 2017 16:36:02 +0000 Received: (at 27311) by debbugs.gnu.org; 11 Jun 2017 16:35:45 +0000 Received: from localhost ([127.0.0.1]:41323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK5q5-0003PF-LC for submit@debbugs.gnu.org; Sun, 11 Jun 2017 12:35:45 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK5q3-0003P7-OL for 27311@debbugs.gnu.org; Sun, 11 Jun 2017 12:35:44 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dK5q2-0004qA-7Q for 27311@debbugs.gnu.org; Sun, 11 Jun 2017 18:35:42 +0200 Received: from tor-exit.xshells.net ([178.217.187.39] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dK5pj-0005rw-9B; Sun, 11 Jun 2017 18:35:23 +0200 Date: Sun, 11 Jun 2017 16:35:19 +0000 From: ng0 Message-ID: <20170611163519.cbzr2s2xanftl33c@abyayala> Mail-Followup-To: 27311@debbugs.gnu.org References: <20170610150323.qqys6t7febaalmra@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="izl36gi5kiazknx7" Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --izl36gi5kiazknx7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable GNU bug Tracking System transcribed 0.7K bytes: > Thank you for filing a new bug report with debbugs.gnu.org. >=20 > This is an automatically generated reply to let you know your message > has been received. >=20 > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. >=20 > Your message has been sent to the package maintainer(s): > bug-guix@gnu.org >=20 > If you wish to submit further information on this problem, please > send it to 27311@debbugs.gnu.org. >=20 > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. >=20 > --=20 > 27311: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27311 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > It seems as if Nix has a solution to some of the problems I encounter with Enlightenment. I'll try and fix most of the bugs I reported. --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --izl36gi5kiazknx7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlk9cUcACgkQ4i+bv+40 hYjhVw//b84d6wuJddoHe9cjdSjCPB3Ys9/9pFcmRt5HhPtTVGGgc3R5tjhh3Xsb KSwEiJQztE0Fx9FxSUqXppe2XuCH2nkbxWqtbDJNxN/tfPo0ApPa3rdN6TJhWmax K3HVENx2v8DTmQ78TNIkeKWXxm7NUhosEeqkdJNqdPgwByuIopR1gl8RFNEiwaYc vECk2yui0AM9Q/+Ji0uSNncaCDOTWqOO4RE6RSNa0jMIpl0z3O+XkDLVLzvRO4f1 4LfNeAPHLAdl3rLeQImWk9kamUhe/vKnS/ULA8FD8jrb3FoPH7DYXoWDZENOfukU /5OcgYzQBHj8Smuwj7bXL+X3DdVJjp9Ntqeg1asY1Xdnids9BMsWY5RSeib56MiZ vHyCYAEchQUdIUQfb8r3qD7Sa0V8EftlK3IIxv/Tj+OzIpCvNVxo1MvbPB7/iodH wG9VezJv1Je+9ygk7WIoqtdQ4k3UNbhL5TrafqN3F1De39qTVy8QTq5L4i5i6AfY STSuMjGs8ibGFBWyEX71gOGmdgfo69wQ/IT+NQvcdXH96Dd/Kw3tKSY7FmTnPCTi uhbB5jVHfFsGdpq7facT/jnDkOhMY239AHxEL+O0tak7sHPuwLdWUjbfrDO2IAtZ 0vsD3wgtyG659kBDGFlAXqsQpDJLVnrA6G5uUpKsEpgB+cwhNY4= =byIA -----END PGP SIGNATURE----- --izl36gi5kiazknx7-- From unknown Mon Jun 23 06:02:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27311: Acknowledgement (Enlightenment: 'cpufreq binary needs suid or has to be owned by root') Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 11 Jun 2017 17:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27311 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27311@debbugs.gnu.org Received: via spool by 27311-submit@debbugs.gnu.org id=B27311.149720192017400 (code B ref 27311); Sun, 11 Jun 2017 17:26:01 +0000 Received: (at 27311) by debbugs.gnu.org; 11 Jun 2017 17:25:20 +0000 Received: from localhost ([127.0.0.1]:41366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK6c4-0004Wa-JP for submit@debbugs.gnu.org; Sun, 11 Jun 2017 13:25:20 -0400 Received: from aibo.runbox.com ([91.220.196.211]:41316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK6c3-0004WR-BT for 27311@debbugs.gnu.org; Sun, 11 Jun 2017 13:25:19 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dK6c2-0008Pa-Hm for 27311@debbugs.gnu.org; Sun, 11 Jun 2017 19:25:18 +0200 Received: from [109.236.90.209] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dK6bx-0003No-A5 for 27311@debbugs.gnu.org; Sun, 11 Jun 2017 19:25:13 +0200 Date: Sun, 11 Jun 2017 17:25:11 +0000 From: ng0 Message-ID: <20170611172511.rgratbogpqv5aop3@abyayala> Mail-Followup-To: 27311@debbugs.gnu.org References: <20170610150323.qqys6t7febaalmra@abyayala> <20170611163519.cbzr2s2xanftl33c@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="en7edw5ts6tnn4n2" Content-Disposition: inline In-Reply-To: <20170611163519.cbzr2s2xanftl33c@abyayala> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --en7edw5ts6tnn4n2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 2.0K bytes: > GNU bug Tracking System transcribed 0.7K bytes: > > Thank you for filing a new bug report with debbugs.gnu.org. > >=20 > > This is an automatically generated reply to let you know your message > > has been received. > >=20 > > Your message is being forwarded to the package maintainers and other > > interested parties for their attention; they will reply in due course. > >=20 > > Your message has been sent to the package maintainer(s): > > bug-guix@gnu.org > >=20 > > If you wish to submit further information on this problem, please > > send it to 27311@debbugs.gnu.org. > >=20 > > Please do not send mail to help-debbugs@gnu.org unless you wish > > to report a problem with the Bug-tracking system. > >=20 > > --=20 > > 27311: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27311 > > GNU Bug Tracking System > > Contact help-debbugs@gnu.org with problems > > >=20 > It seems as if Nix has a solution to some of the problems I encounter > with Enlightenment. I'll try and fix most of the bugs I reported. Nix solved this particular issue (cpufreq) with a hack. It's okay for me, but do some of you agree with applying this: # this is a hack and without this cpufreq module is not working. does the= following: # 1. moves the "freqset" binary to "e_freqset", # 2. linkes "e_freqset" to enlightenment/bin so that, # 3. wrappers.setuid detects it and places wrappers in /run/wrappers/bi= n/e_freqset, # 4. and finally, links /run/wrappers/bin/e_freqset to original destina= tion where enlightenment wants it postInstall =3D '' export CPUFREQ_DIRPATH=3D`readlink -f $out/lib/enlightenment/modules/cp= ufreq/linux-gnu-*`; mv $CPUFREQ_DIRPATH/freqset $CPUFREQ_DIRPATH/e_freqset ln -sv $CPUFREQ_DIRPATH/e_freqset $out/bin/e_freqset ln -sv /run/wrappers/bin/e_freqset $CPUFREQ_DIRPATH/freqset ''; source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/enlighte= nment/enlightenment.nix --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --en7edw5ts6tnn4n2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlk9fPcACgkQ4i+bv+40 hYiHHQ//VhMpvWlbwwo2xRHYpm3Q1mcUtnKbyjpTgLSM40ooQnWAl4Gdlb6HNapf Rg9nbAUgXHX5fc/Q8OulY7/25lY7YpsYw1AinKi95SBwOGuEaQBQuiuccQcSlsK8 CvYix4SyuFLpz7BJ9ZIal48GRA0EObP+v9ITHpqeZks64/t6xnRYB4kZQvF/jSr5 rRPTLdkPGVhQ5gT5wzvtlBoldb01C+tTlnbtyEkbQ5Wnmo6LEViFd0WO6Qz8RUc7 5fZorFNYnulKstenwBAHcSWeVwRUj8mFyTuyg14Xq+ZlG/I1SLpJnQeAgoVuKoeS 5DBipgAl5uRZ4QWNZK3hNtzz2OG+PvQmkFmRUGAjPXvP2w2K75sCw9RY7LAX/54w ycDxMgwngzqQdek5gLBDhygRdMdOJ3kACRpReCy9uKwgLyvLKKqTQRIWqRtbxrOu PajmH7R+DGZA+L2tadwlyh5VkjnTSlmlaZmAUo3Tn9ota65tni0R2edy+HRltEqQ Dy5/GnIxqy34OLbcYiaLK75uheTUcCNCrG0slg9PLe3QnJkR5/iay7qJeZ4MbT3d OsphDjKeHpsbjLZlxCE3/J+AWpyO4ijes4CMyvmMZShYmHQ43Fg3eNixoYVGx3LF ecsJAMt4fP9SOtJCUeIijjRZ5wJVwSylgOAx5OeaG5CocpGsZuY= =Cz/3 -----END PGP SIGNATURE----- --en7edw5ts6tnn4n2-- From unknown Mon Jun 23 06:02:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27311: Acknowledgement (Enlightenment: 'cpufreq binary needs suid or has to be owned by root') Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Jun 2017 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27311 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ng0 Cc: 27311@debbugs.gnu.org Received: via spool by 27311-submit@debbugs.gnu.org id=B27311.149803202118236 (code B ref 27311); Wed, 21 Jun 2017 08:01:02 +0000 Received: (at 27311) by debbugs.gnu.org; 21 Jun 2017 08:00:21 +0000 Received: from localhost ([127.0.0.1]:58808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNaYm-0004jo-Ol for submit@debbugs.gnu.org; Wed, 21 Jun 2017 04:00:20 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21105 helo=sender1.zohomail.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNaYl-0004ho-6A for 27311@debbugs.gnu.org; Wed, 21 Jun 2017 04:00:19 -0400 Received: from localhost (port-92-200-28-64.dynamic.qsc.de [92.200.28.64]) by mx.zohomail.com with SMTPS id 1498032017060508.4289821548483; Wed, 21 Jun 2017 01:00:17 -0700 (PDT) References: <20170610150323.qqys6t7febaalmra@abyayala> <20170611163519.cbzr2s2xanftl33c@abyayala> <20170611172511.rgratbogpqv5aop3@abyayala> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus In-reply-to: <20170611172511.rgratbogpqv5aop3@abyayala> 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: Wed, 21 Jun 2017 10:00:14 +0200 Message-ID: <87mv913h4h.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) ng0 writes: > Nix solved this particular issue (cpufreq) with a hack. > It's okay for me, but do some of you agree with applying this: > > # this is a hack and without this cpufreq module is not working. does the following: > # 1. moves the "freqset" binary to "e_freqset", > # 2. linkes "e_freqset" to enlightenment/bin so that, > # 3. wrappers.setuid detects it and places wrappers in /run/wrappers/bin/e_freqset, > # 4. and finally, links /run/wrappers/bin/e_freqset to original destination where enlightenment wants it > postInstall = '' > export CPUFREQ_DIRPATH=`readlink -f $out/lib/enlightenment/modules/cpufreq/linux-gnu-*`; > mv $CPUFREQ_DIRPATH/freqset $CPUFREQ_DIRPATH/e_freqset > ln -sv $CPUFREQ_DIRPATH/e_freqset $out/bin/e_freqset > ln -sv /run/wrappers/bin/e_freqset $CPUFREQ_DIRPATH/freqset > ''; No, we shouldn’t apply this hack. Setuid binaries are declared separately in the operating system configuration. See section 6.2.8 Setuid Programs in the manual. Packages cannot declare setuid binaries. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Mon Jun 23 06:02:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ng0 Subject: bug#27311: closed (Re: bug#27311: Acknowledgement (Enlightenment: 'cpufreq binary needs suid or has to be owned by root')) Message-ID: References: <20180805094440.GA29631@macbook41> <20170610150323.qqys6t7febaalmra@abyayala> X-Gnu-PR-Message: they-closed 27311 X-Gnu-PR-Package: guix Reply-To: 27311@debbugs.gnu.org Date: Sun, 05 Aug 2018 09:45:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1533462304-7517-1" This is a multi-part message in MIME format... ------------=_1533462304-7517-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27311: Enlightenment: 'cpufreq binary needs suid or has to be owned by roo= t' which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27311@debbugs.gnu.org. --=20 27311: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27311 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1533462304-7517-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27311-done) by debbugs.gnu.org; 5 Aug 2018 09:44:50 +0000 Received: from localhost ([127.0.0.1]:41287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmFak-0001wf-23 for submit@debbugs.gnu.org; Sun, 05 Aug 2018 05:44:50 -0400 Received: from flashner.co.il ([178.62.234.194]:34774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmFai-0001wT-Ab for 27311-done@debbugs.gnu.org; Sun, 05 Aug 2018 05:44:49 -0400 Received: from localhost (unknown [141.226.10.13]) by flashner.co.il (Postfix) with ESMTPSA id 2DCCB40045 for <27311-done@debbugs.gnu.org>; Sun, 5 Aug 2018 09:44:42 +0000 (UTC) Date: Sun, 5 Aug 2018 12:44:40 +0300 From: Efraim Flashner To: 27311-done@debbugs.gnu.org Subject: Re: bug#27311: Acknowledgement (Enlightenment: 'cpufreq binary needs suid or has to be owned by root') Message-ID: <20180805094440.GA29631@macbook41> References: <20170610150323.qqys6t7febaalmra@abyayala> <20170611163519.cbzr2s2xanftl33c@abyayala> <20170611172511.rgratbogpqv5aop3@abyayala> <87mv913h4h.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <87mv913h4h.fsf@elephly.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27311-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Turns out this one was fixed by 122f91bd413df1606a03050808ead4a7306101ef --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAltmxwgACgkQQarn3Mo9 g1ELDg/+KOOZu1J4rln/XFyQqaG3Dz1SMcgyQ3ZPLUmW5+UZE5YimBCwBU2q8Jvc W3eL/zCJECVggAVeq2P+OkdoQZnr6/dwKJA5h6Toj/VnlJ9lko9duWH2dwYgSpJB uE3e9nJRsZZb3F2VB5jdtWMFPZeti7yo6pJkTmkKvKLrPVvT0kKNfnIP5fRv6ClQ NOZgzOfdCLADCU2dhZXQbaEvIbdCfIkLuWOq86QTS+U/eGOwnUlRKDHMLT7T0Ibq V9yRXtdaHz1VzzI43XUOR+8gepgt25G8smmW9sybkxAooQEEFa5ZPng5KhZsP9od zJur7XJYhuc2K/JLFkn0LyJp6YYhyPK6tlsiPnQXdbh5k80dGVJVuzKKkJNNOEne iGV2mV+IQ6WBfKZN6bIBxUVg2y2M9iEewi5zRiZ5ate0LdoVES4kfxLBtRbWeOW7 bsu68t3+5f+gdSxI0do82asSe5gPDLcvrHxScq9G61uXXp4VoaMQBOp8snvlALFk Us7mMLkBlVNCMzXqhjdviORCS1Z6Gvw5o3fxIgiunCjxM8C4A9uHeJxzumWONXaj G/B1IzReAz3X12ACG5/O7evBUmJDfqkLbiW+jwfcBx0+Emwqq42OI+pZ1myZZbEv bc+JXPpLv+h7sUntZhLOd6HhWYW45/Q01iY8ZEhNVptxOhQ2sMg= =0iOv -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- ------------=_1533462304-7517-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Jun 2017 15:04:23 +0000 Received: from localhost ([127.0.0.1]:39042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJhw7-0006G3-2Z for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJhw5-0006Fr-Dz for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJhvz-0002iN-9J for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dJhvz-0002iH-6n for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:04:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJhvy-0004sW-1e for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJhvu-0002hD-VD for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:14 -0400 Received: from aibo.runbox.com ([91.220.196.211]:45468) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJhvu-0002gp-Mu for bug-guix@gnu.org; Sat, 10 Jun 2017 11:04:10 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dJhvs-00005G-DK for bug-guix@gnu.org; Sat, 10 Jun 2017 17:04:08 +0200 Received: from [5.135.65.145] (helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dJhvE-0006wF-TY for bug-guix@gnu.org; Sat, 10 Jun 2017 17:03:29 +0200 Date: Sat, 10 Jun 2017 15:03:23 +0000 From: ng0 To: bug-guix@gnu.org Subject: Enlightenment: 'cpufreq binary needs suid or has to be owned by root' Message-ID: <20170610150323.qqys6t7febaalmra@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qlnkqkmwghblcxep" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --qlnkqkmwghblcxep Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable To reproduce (on an desktop computer): Add enlightenment to your system config, reconfigure, reboot, log in and click through the Enlightenment first start dialogue (which itself reveals more bugs ;)) and the first message box you get after you completed the first start dialogue and E21 has loaded is this: Cpufreq Permissions Error The freqset binary in the cpufreq module is not owned by root or does not have the setuid bit set. Please ensure this is the case. For example: sudo chown root /gnu/store/aaaaaaaaaaa-enlightenment-0.21.7/lib/enlightenme= nt/modules/cpufreq/linux-gnu-x86_64-ver-0.21/freqset sudo chmod u+s,a+x /gnu/store/aaaaaaaaaaa-enlightenment-0.21.7/lib/enlighte= nment/modules/cpufreq/linux-gnu-x86_64-ver-0.21/freqset It seems like we need to have an 'enlightenment-service' similar to xfce4 and gnome. There's a number of dysfunctional features at the moment, I like to track them all in related or unique bugs. --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --qlnkqkmwghblcxep Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlk8CjsACgkQ4i+bv+40 hYjGlg/+MVO0DchNY3vW0cIsURhsPyMpBK1Z2ivPkODbEipzexeMby/ICJ4q8LqN +cfzff/yhVtx3g4PseFYxaZSDF96QnBWRi1js0465ZfD3rbHrmOteAjrQnrp2/FI Q0qYdAR4Aele0Ue7kD4wcRAXBr7BAvNF9NzHmJ3uKfQc+kE8Izo14bOcVg7KL9oz 5SwFwdtnq3aaI3xtKHZ53vJofx3QqJypZ15S0ElXm3buTk4QhOioF1FlZvSrtXgI WwyE3+3g++u1eb+Cnp/C3VzMS0nwKuchtgn9bYvRgKQ40fwqF3pH6oYjXKO4mhgz oHIFt+R84ny8/vE1585YH0hzdW3/OgAGE1EpQsmTa5/GMbJSg9eZXAE2BPSRyGnh qps76x7s4z1vVxDZiZL4lEZSCSAPnsOQ3lkG7qwbtnwRrPRzZvkLBgURK2Vpxz0V bc0rdZdQd4MKftkgwV0i68l/bea7cA7zyhnnRb099QLmPqemiz897vX0nT+xVe+j gCKuRe1vcJOrsFJr++hJLy9GbRGVAc3uJPc9nhlJK+9NuPa4dErUt+8ngYwPaWFo HFl6jPCw/gwoGuDTjZ51ykOt70Px6XyFo4tz6IudEOcipzjVHqlaOGwqg+yq+T/7 7pKfJnh6CqfjpKtRRPENnug4EvIcaAn/SvANjmwPgiGPbGk7y0k= =BEk2 -----END PGP SIGNATURE----- --qlnkqkmwghblcxep-- ------------=_1533462304-7517-1--