From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F42221380DC for ; Wed, 5 Feb 2014 00:10:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7B15E0954; Wed, 5 Feb 2014 00:10:03 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 944D9E0818 for ; Wed, 5 Feb 2014 00:10:02 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id c6so7172674lan.11 for ; Tue, 04 Feb 2014 16:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=lw05VfCOIZnJieB9HhC1JqyIxtGenV+ii6xi4vRGcbE=; b=FCmtyovLCW5+Q0vjtt4XH1LILrmKVx5cxyYy2A1DvL43HADXFcMlH0bgR8ahjT9fFn m6iVafEJZts1tBEr8mG/Pil1/1op2qCuHyviQl7hOa35ooiha3HMQLwRdC4D/g7FLIUd pEjqSZ0AgwFwYtPEdZgOYRHKAyQRx9T2XoamkVg248KNNl2gAyyQqsLqO270Wdk2jeSK 7adO6VDpJ7fgbu6Z05sJUYGzbWz6cK7XFYlnsPrvCfrghQteRDq9lQcT9FZgchEslvR8 +3XrCn4mdqDmHIO+aDRkr+8OIBsJ+WxApFVb2IHXdYE6yNuvh36WrpOlDm0ZRB0vQOPb NHSQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.152.27.100 with SMTP id s4mr12526160lag.18.1391559000963; Tue, 04 Feb 2014 16:10:00 -0800 (PST) Received: by 10.114.170.67 with HTTP; Tue, 4 Feb 2014 16:10:00 -0800 (PST) In-Reply-To: <52F1777B.9080200@gmail.com> References: <20140204195807.GG6850@syscon7.ed.shawcable.net> <52F15ED4.7060409@sporkbox.us> <87siryldes.fsf@nyu.edu> <52F1777B.9080200@gmail.com> Date: Tue, 4 Feb 2014 18:10:00 -0600 Message-ID: Subject: Re: [gentoo-user] Re: going from systemd to udev From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9292aa7c-8559-4d62-8946-f2c0d341d0ff X-Archives-Hash: 175f94f309455356cdda014ccbc370b7 On Tue, Feb 4, 2014 at 5:27 PM, walt wrote: > On 02/04/2014 02:29 PM, gottlieb@nyu.edu wrote: >> On Tue, Feb 04 2014, Daniel Campbell wrote: >> >>> On 02/04/2014 01:58 PM, Joseph wrote: >>>> Is it possible to go from "systemd" to "udev"? >>>> >>>> I don't like the way systemd works. I have a problem with mounting US= B >>>> sick (it mounts as root:root) and I can not even change the permission= . >>>> I am receiving Hylafax fax transmission reports (email) on all incomin= g >>>> faxes and now these emails are empty. >>>> It all start happening after switching to systemd :-( >>>> >>> >>> systemd and udev are part of the same project, so I believe what you >>> meant was switching from systemd to OpenRC. I've not made such a switch= , >>> but if you remember the steps you took, you can generally just reverse >>> them. That is, emerge openrc again, change the kernel line in GRUB to >>> point to regular init instead of systemd's init, reboot, and things >>> *should* fall into place. >>> >>> USB drives mounting as root sounds like a udev thing rather than a >>> systemd thing, and switching to OpenRC for your init won't fix it afaik= . >>> For the devices that you need this behavior for, it might be worth >>> looking into writing some udev rules. You can get a start by consulting >>> `lsusb` output and Googling for 'udev rules' to get a wide variety of >>> guides for writing udev rules. Despite the recent changes to udev by th= e >>> systemd team, udev still functions mostly the same and most guides will >>> be accurate. >>> >>> I hope this helps! >>> >>> ~Daniel >> >> There are changes in USE. -systemd +consolekit >> If you switched to a systemd profile, switch back. > > I'm sure that unsetting the consolekit useflag (when I switched to system= d) > resulted in some non-MicroSoft behavior, e.g. I now need to authenticate = as > root when plugging or ejecting a USB stick, and yet again when I poweroff= or > reboot the machine This does not happen with GNOME 3. At all. The only time I'm asked for my root password is when I add or remove a printer, and app-admin/system-config-printer-gnome has been doing this since the very beginning. I'm still hoping that someone fix that thing. > Being the only user of this machine, I could work up some outrage over th= is > new PITA -- but I've decided not to be outraged. I pretend to be a sysad= min > and imagine how I would feel if an arbitrary user demanded the ability to > plug any arbitrary USB stick into his corporate workstation. > > Well, I'm not a corporate sysadmin, and never will be, but I think I'd be > reluctant to let him do it. > > Any official sysadmins out there have an infallible opinion to offer? With GNOME+systemd (and therefore, logind), the seat0 user gets ownership of all removable devices (except printers, see above), and the hardware buttons (poweroff, reset, suspend, etc.) No root password asked. Ever. You can see your seat with loginctl; if your seat is not seat0, that's why your password is being asked. If it's seat0, then something else is going on. Do you have pam_systemd.so enabled in /etc/pam.d? Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico