Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Walter Dnes
On Sun, Mar 22, 2015 at 03:30:49AM -0400, German wrote > Thanks, I decide to go with sudo on this one. However when I try > to run it, it says: "Username is not in the sudoers file." Where is > this file located and how can I add the user to it? Thanks Here's how it works. "emerge -pv sudo" an

Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 10:03:01 AM Mike Gilbert wrote: > On Sat, Mar 21, 2015 at 3:52 PM, Fernando Rodriguez > wrote: > > On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: > >> On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes wrote: > >> > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovb

Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 10:03:01 AM Mike Gilbert wrote: > On Sat, Mar 21, 2015 at 3:52 PM, Fernando Rodriguez > wrote: > > On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: > >> On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes wrote: > >> > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovb

[gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Nikos Chantziaras
On 22/03/15 22:12, Philip Webb wrote: 150322 Nikos Chantziaras wrote: On 22/03/15 17:58, Philip Webb wrote: If you have multiple users, you don't want some rogue user rebooting randomly You can't stop a local user from doing that. As mentioned, the reset button works just fine. You really do

Re: [gentoo-user] Re: blockage

2015-03-22 Thread Dale
Alan McKinnon wrote: > Sadly, you don't know. There is no clue in any of the output you > posted that this is required, so your only solution is to ask the > collective memory of the community. Lucky for you and others, Jonathan > was aware of the problem and was kind enough to post the solution. >

Re: [gentoo-user] Re: blockage

2015-03-22 Thread Alan McKinnon
On 22/03/2015 20:08, lee wrote: > Jonathan Callen writes: > >> On 2015-03-22 09:04, lee wrote: >>> Tom H writes: >>> On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon wrote: > > It looks to me like sysvinit-2.88-r7 was stabilized and the > maintainer of apcupsd didn't notice.

Re: [gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Matti Nykyri
> On Mar 22, 2015, at 17:58, Philip Webb wrote: > > 150322 Peter Humphrey wrote: >> On Sunday 22 March 2015 13:04:44 Nikos Chantziaras wrote: I can reboot the system when I am a user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down ? Strange >>> The thinking is t

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Jc García
2015-03-22 4:30 GMT-06:00 Peter Humphrey : > On Saturday 21 March 2015 16:20:17 Jc García wrote: >> > Interesting. But as I said ealier, I can reboot the system when I am a >> > user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut >> > down? Strange >> It's not strange, `man 2 r

Re: [gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Philip Webb
150322 Nikos Chantziaras wrote: > On 22/03/15 17:58, Philip Webb wrote: >> If you have multiple users, >> you don't want some rogue user rebooting randomly > You can't stop a local user from doing that. > As mentioned, the reset button works just fine. You really do want > those users to reboot th

[gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Nikos Chantziaras
On 22/03/15 17:58, Philip Webb wrote: Because of that, the default of allowing ctrl+alt+del for local users makes more sense than disabling it. That doesn't follow : if you have multiple users, you don't want some rogue user rebooting randomly You can't stop a local user from doing that. As m

Re: [gentoo-user] Re: blockage

2015-03-22 Thread lee
Jonathan Callen writes: > On 2015-03-22 09:04, lee wrote: >> Tom H writes: >> >>> On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon >>> wrote: It looks to me like sysvinit-2.88-r7 was stabilized and the maintainer of apcupsd didn't notice. From the ebuild for apcupsd-3.14.8-r

Re: [gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Philip Webb
150322 Peter Humphrey wrote: > On Sunday 22 March 2015 13:04:44 Nikos Chantziaras wrote: >>> I can reboot the system when I am a user by Ctrl+Alt+Delete. >>> The user can reboot the system, but can't shut down ? Strange >> The thinking is that you can unplug the machine >> or press the hardware re

[gentoo-user] Re: blockage

2015-03-22 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2015-03-22 09:04, lee wrote: > Tom H writes: > >> On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon >> wrote: >>> >>> It looks to me like sysvinit-2.88-r7 was stabilized and the >>> maintainer of apcupsd didn't notice. From the ebuild for >>> apc

Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?

2015-03-22 Thread Mike Gilbert
On Sun, Mar 22, 2015 at 10:03 AM, Mike Gilbert wrote: > On Sat, Mar 21, 2015 at 3:52 PM, Fernando Rodriguez > wrote: >> On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: >>> On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes wrote: >>> > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovbe -mno-

Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?

2015-03-22 Thread Mike Gilbert
On Sat, Mar 21, 2015 at 3:52 PM, Fernando Rodriguez wrote: > On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: >> On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes wrote: >> > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovbe -mno-aes -mno-pclmul - > mno-popcnt -mno-abm -mno-lwp -mno-fma -mno

Re: [gentoo-user] Re: External HDD: sector size incorrectly detected on first connect

2015-03-22 Thread Marc Joliet
Am Wed, 11 Mar 2015 08:04:05 +0100 schrieb Marc Joliet : [...] > OK, I'll follow up there, then. I finally did that, now that I tested with vanilla-sources-3.19.2. See for example http://thread.gmane.org/gmane.linux.usb.general/124047. I also opened a bug at https://bugs.gentoo.org/show_bug.cgi

Re: [gentoo-user] blockage

2015-03-22 Thread lee
Tom H writes: > On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon > wrote: >> >> It looks to me like sysvinit-2.88-r7 was stabilized and the maintainer >> of apcupsd didn't notice. From the ebuild for apcupsd-3.14.8-r2: >> >> DEPEND=" >> || ( >=sys-apps/util-linux-2.23[tty-helpers] >>

Re: [gentoo-user] blockage

2015-03-22 Thread Tom H
On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon wrote: > > It looks to me like sysvinit-2.88-r7 was stabilized and the maintainer > of apcupsd didn't notice. From the ebuild for apcupsd-3.14.8-r2: > > DEPEND=" > || ( >=sys-apps/util-linux-2.23[tty-helpers] > <=sys-app

Re: [gentoo-user] systemd: incorrect behavior when doing poweroff/reboot

2015-03-22 Thread Rich Freeman
On Sat, Mar 21, 2015 at 6:44 PM, walt wrote: > I'd be 100% sure this is a systemd bug except that the problem is so > obvious and (I think) so common that I can't believe I'm the only > systemd user seeing it: > > I routinely share /usr/portage over NFS between several gentoo boxes > on my wireles

Re: [gentoo-user] Mutt emerge USE flags for novice

2015-03-22 Thread Walter Dnes
On Sat, Mar 21, 2015 at 02:09:57PM -0400, German wrote > Thank you, but are there anyone around who uses Mutt with gmail? Depends on how you intend to use it. I run getmail to pull email off Gmail (pop.gmail.com) via ssl on port 995. I.e. I treat Gmail like a regular ISP popmail account. I a

Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?

2015-03-22 Thread Walter Dnes
On Sat, Mar 21, 2015 at 08:46:10AM -0400, Mike Gilbert wrote > I should warn you against including all of those -mno-xxx flags. This > has been known to break the build process for packages like chromium, > which always wants to build with SSE4 support and toggles it off at > runtime. Passing -mno

Re: [gentoo-user] blockage

2015-03-22 Thread Alan McKinnon
On 22/03/2015 12:45, lee wrote: [big snip] > Apcupsd is non-vital, so: > > > , > | emerge -a --nodeps apcupsd > | [ebuild R] sys-power/apcupsd-3.14.8-r2 > | > | emerge -j 8 -a --update --deep --with-bdeps=y @world > | Calculating dependencies... done!

Re: [gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Peter Humphrey
On Sunday 22 March 2015 13:04:44 Nikos Chantziaras wrote: > On 22/03/15 12:30, Peter Humphrey wrote: > > On Saturday 21 March 2015 16:20:17 Jc García wrote: > >>> Interesting. But as I said ealier, I can reboot the system when I am a > >>> user by Ctrl+Alt+Delete. The user can reboot the system, bu

[gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Nikos Chantziaras
On 22/03/15 12:30, Peter Humphrey wrote: On Saturday 21 March 2015 16:20:17 Jc García wrote: Interesting. But as I said ealier, I can reboot the system when I am a user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down? Strange It's not strange, `man 2 reboot`. It's a def

Re: [gentoo-user] Re: blockage

2015-03-22 Thread lee
Jonathan Callen writes: > On 2015-03-21 23:24, lee wrote: >> Hi, >> >> when trying to update with 'emerge -j 8 -a --update --deep >> --with-bdeps=y @world' after 'emerge --sync', I'm getting the >> following message: >> >> >> * Error: The above package list contains packages which cannot be *

Re: [gentoo-user] blockage

2015-03-22 Thread lee
Alan McKinnon writes: > On 22/03/2015 05:24, lee wrote: >> Hi, >> >> when trying to update with 'emerge -j 8 -a --update --deep >> --with-bdeps=y @world' after 'emerge --sync', I'm getting the following >> message: >> >> >> * Error: The above package list contains packages which cannot be >>

Re: [gentoo-user] RTL8192CU

2015-03-22 Thread German
On Sun, 22 Mar 2015 10:26:09 + Mick wrote: > On Sunday 22 Mar 2015 05:19:41 German wrote: > > On Sun, 22 Mar 2015 09:01:03 + > > Mick wrote: > > > > In addidion, use modinfo to find out what parameters the particular module > > > has and add these when you modprobe to switch off power m

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Peter Humphrey
On Saturday 21 March 2015 16:20:17 Jc García wrote: > > Interesting. But as I said ealier, I can reboot the system when I am a > > user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut > > down? Strange > It's not strange, `man 2 reboot`. It's a defined behavior. I'm with German

Re: [gentoo-user] RTL8192CU

2015-03-22 Thread Mick
On Sunday 22 Mar 2015 05:19:41 German wrote: > On Sun, 22 Mar 2015 09:01:03 + > Mick wrote: > > In addidion, use modinfo to find out what parameters the particular module > > has and add these when you modprobe to switch off power management - > > which on buggy drivers tends to power down th

Re: [gentoo-user] Mutt emerge USE flags for novice

2015-03-22 Thread Julian Simioni
Interesting. When I used IMAP in Mutt, rather than offlineimap, I was really frustrated by the constant lag within Mutt from syncing with the server. Offlineimap isn't the fastest ever at syncing either, but at least it happens all in one go, and then the full contents of all the emails I care abou

Re: [gentoo-user] Re: systemd: incorrect behavior when doing poweroff/reboot

2015-03-22 Thread Alan McKinnon
On 22/03/2015 03:32, Hans wrote: > On 22/03/15 08:44, walt wrote: >> I'd be 100% sure this is a systemd bug except that the problem is so >> obvious and (I think) so common that I can't believe I'm the only >> systemd user seeing it: >> >> I routinely share /usr/portage over NFS between several gen

Re: [gentoo-user] blockage

2015-03-22 Thread Alan McKinnon
On 22/03/2015 05:24, lee wrote: > Hi, > > when trying to update with 'emerge -j 8 -a --update --deep > --with-bdeps=y @world' after 'emerge --sync', I'm getting the following > message: > > > * Error: The above package list contains packages which cannot be > * installed at the same time on th

Re: [gentoo-user] RTL8192CU

2015-03-22 Thread German
On Sun, 22 Mar 2015 09:01:03 + Mick wrote: > On Saturday 21 Mar 2015 10:10:56 Neil Bothwick wrote: > > On Sat, 21 Mar 2015 06:00:24 -0400, German wrote: > > > > Was the firmware for the driver in question installed as well? > > > > > > > > What's the output of 'lspci -k' and 'lsusb -v' for y

Re: [gentoo-user] RTL8192CU

2015-03-22 Thread Mick
On Saturday 21 Mar 2015 10:10:56 Neil Bothwick wrote: > On Sat, 21 Mar 2015 06:00:24 -0400, German wrote: > > > Was the firmware for the driver in question installed as well? > > > > > > What's the output of 'lspci -k' and 'lsusb -v' for your device? > > > > It works, so yes, firmare is installed

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread German
On Sun, 22 Mar 2015 03:47:13 -0400 Fernando Rodriguez wrote: > On Sunday, March 22, 2015 3:30:49 AM German wrote: > > On Sun, 22 Mar 2015 03:19:50 -0400 > > Fernando Rodriguez wrote: > > > > > On Sunday, March 22, 2015 3:06:59 AM German wrote: > > > > On Sun, 22 Mar 2015 08:49:54 +0200 > > > >

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread German
On Sun, 22 Mar 2015 09:35:46 +0200 Matti Nykyri wrote: > > On Mar 22, 2015, at 9:31, Fernando Rodriguez > > wrote: > > > >> On Sunday, March 22, 2015 3:06:59 AM German wrote: > >> On Sun, 22 Mar 2015 08:49:54 +0200 > >> Matti Nykyri wrote: > >> > On Mar 22, 2015, at 8:32, German wrote:

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 9:35:46 AM Matti Nykyri wrote: > > On Mar 22, 2015, at 9:31, Fernando Rodriguez wrote: > > > >> On Sunday, March 22, 2015 3:06:59 AM German wrote: > >> On Sun, 22 Mar 2015 08:49:54 +0200 > >> Matti Nykyri wrote: > >> > On Mar 22, 2015, at 8:32, German wrote: > >

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread German
On Sun, 22 Mar 2015 03:35:49 -0400 Fernando Rodriguez wrote: > On Sunday, March 22, 2015 3:30:49 AM German wrote: > > On Sun, 22 Mar 2015 03:19:50 -0400 > > Fernando Rodriguez wrote: > > > > > On Sunday, March 22, 2015 3:06:59 AM German wrote: > > > > On Sun, 22 Mar 2015 08:49:54 +0200 > > > >

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 3:30:49 AM German wrote: > On Sun, 22 Mar 2015 03:19:50 -0400 > Fernando Rodriguez wrote: > > > On Sunday, March 22, 2015 3:06:59 AM German wrote: > > > On Sun, 22 Mar 2015 08:49:54 +0200 > > > Matti Nykyri wrote: > > > > > > > > On Mar 22, 2015, at 8:32, German wrote

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Matti Nykyri
> On Mar 22, 2015, at 9:31, Fernando Rodriguez > wrote: > >> On Sunday, March 22, 2015 3:06:59 AM German wrote: >> On Sun, 22 Mar 2015 08:49:54 +0200 >> Matti Nykyri wrote: >> On Mar 22, 2015, at 8:32, German wrote: /sbin/poweroff says "Must be a superuser" :( >>> >>> D

[gentoo-user] Re: How to poweroff the system from user?

2015-03-22 Thread Nikos Chantziaras
On 21/03/15 21:26, German wrote: If I run poweroff from root, the system shuts down, however when I run poweroff from user -- command not found. How to shut down the system from user? Thanks If you have dbus running (KDE, Gnome and others automatically use it), then you can shut down with som

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 3:30:49 AM German wrote: > On Sun, 22 Mar 2015 03:19:50 -0400 > Fernando Rodriguez wrote: > > > On Sunday, March 22, 2015 3:06:59 AM German wrote: > > > On Sun, 22 Mar 2015 08:49:54 +0200 > > > Matti Nykyri wrote: > > > > > > > > On Mar 22, 2015, at 8:32, German wrote

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Matti Nykyri
> On Mar 22, 2015, at 9:30, German wrote: > > On Sun, 22 Mar 2015 03:19:50 -0400 > Fernando Rodriguez wrote: > >>> On Sunday, March 22, 2015 3:06:59 AM German wrote: >>> On Sun, 22 Mar 2015 08:49:54 +0200 >>> Matti Nykyri wrote: >>> > On Mar 22, 2015, at 8:32, German wrote: > >

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 3:06:59 AM German wrote: > On Sun, 22 Mar 2015 08:49:54 +0200 > Matti Nykyri wrote: > > > > On Mar 22, 2015, at 8:32, German wrote: > > > > > > > > > /sbin/poweroff says "Must be a superuser" :( > > > > Did you read any of the previous messages? They told you that yo

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread German
On Sun, 22 Mar 2015 03:19:50 -0400 Fernando Rodriguez wrote: > On Sunday, March 22, 2015 3:06:59 AM German wrote: > > On Sun, 22 Mar 2015 08:49:54 +0200 > > Matti Nykyri wrote: > > > > > > On Mar 22, 2015, at 8:32, German wrote: > > > > > > > > > > > > /sbin/poweroff says "Must be a superuse

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Matti Nykyri
> On Mar 22, 2015, at 9:11, Alexander Kapshuk > wrote: > >> On Sun, Mar 22, 2015 at 9:06 AM, German wrote: >> On Sun, 22 Mar 2015 08:49:54 +0200 >> Matti Nykyri wrote: >> >> > > On Mar 22, 2015, at 8:32, German wrote: >> > > >> > > >> > > /sbin/poweroff says "Must be a superuser" :( >> > >>

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Fernando Rodriguez
On Sunday, March 22, 2015 3:06:59 AM German wrote: > On Sun, 22 Mar 2015 08:49:54 +0200 > Matti Nykyri wrote: > > > > On Mar 22, 2015, at 8:32, German wrote: > > > > > > > > > /sbin/poweroff says "Must be a superuser" :( > > > > Did you read any of the previous messages? They told you that yo

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Alexander Kapshuk
On Sun, Mar 22, 2015 at 9:06 AM, German wrote: > On Sun, 22 Mar 2015 08:49:54 +0200 > Matti Nykyri wrote: > > > > On Mar 22, 2015, at 8:32, German wrote: > > > > > > > > > /sbin/poweroff says "Must be a superuser" :( > > > > Did you read any of the previous messages? They told you that you have

Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread German
On Sun, 22 Mar 2015 08:49:54 +0200 Matti Nykyri wrote: > > On Mar 22, 2015, at 8:32, German wrote: > > > > > > /sbin/poweroff says "Must be a superuser" :( > > Did you read any of the previous messages? They told you that you have to > have consolekit and polkit installed and configured for