From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-153639-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31CA41380DC for <garchives@archives.gentoo.org>; Wed, 5 Feb 2014 20:44:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35E3EE0D31; Wed, 5 Feb 2014 20:44:03 +0000 (UTC) Received: from mail142c7.megamailservers.com (mail111c7-2520.megamailservers.com [69.49.98.21]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0ED22E0D28 for <gentoo-user@lists.gentoo.org>; Wed, 5 Feb 2014 20:44:01 +0000 (UTC) X-POP-User: admin.sys-concept.com Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail142c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s15KhxHF029880 for <gentoo-user@lists.gentoo.org>; Wed, 5 Feb 2014 15:44:00 -0500 Received: by syscon7.localdomain (Postfix, from userid 1000) id 4D246200659; Wed, 5 Feb 2014 13:44:28 -0700 (MST) Date: Wed, 5 Feb 2014 13:44:28 -0700 From: Joseph <syscon780@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] can not mount USB stick as user Message-ID: <20140205204428.GK4093@syscon7.ed.shawcable.net> References: <20140205163228.GC4093@syscon7.ed.shawcable.net> <CADPrc828F6cWQW8ZYQkjGgvigz=+ShHoH2uwtc6ho4USsOVayQ@mail.gmail.com> <20140205183803.GE4093@syscon7.ed.shawcable.net> <CADPrc82xW3NXL7WsPntLFAb23xSxDbXK3Sq+9UBx=Tfkd3bOmg@mail.gmail.com> <20140205195511.GI4093@syscon7.ed.shawcable.net> <CADPrc80ow4NfeWT8Y_7ie0ynrRhFVyF2k2cnwA8HqFCjttqUtA@mail.gmail.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <CADPrc80ow4NfeWT8Y_7ie0ynrRhFVyF2k2cnwA8HqFCjttqUtA@mail.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=2.1 cv=QOBRGG7L c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=LcaDllckn3IA:10 a=VdDIRW5T8icA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=Qujx1JGnEUAA:10 a=7mOBRU54AAAA:8 a=Q4TdNA_FRNrTz5fbhIgA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 X-CTCH-RefID: str=0001.0A020201.52F2A290.0170,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Archives-Salt: d917f6c2-30ef-4739-b95d-cc49bb5ebfae X-Archives-Hash: e155d4add1c23985a913abf066e453dc On 02/05/14 14:02, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 1:55 PM, Joseph <syscon780@gmail.com> wrote: >> On 02/05/14 13:06, Canek Peláez Valdés wrote: >>> >>> On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: >>> >>> [ humongous snip ] >>> >>>>> 4. Using systemd is more than just emerging it; you need to change >>>>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>>>> /proc/1/comm is "systemd"? >>>> >>>> >>>> I only have this: >>>> cat /proc/1/comm >>>> init >>> >>> >>> [ snip ] >>> >>>> systemctl --all --full >>>> Failed to get D-Bus connection: No connection to service manager. >>>> >>>> loginctl >>>> Failed to issue method call: Launch helper exited with unknown return >>>> code 1 >>> >>> >>> Joseph, you are not running systemd. You have systemd *installed*, but >>> you are still *running* OpenRC. Therefore, your system is obviously >>> going to fail, since at least some parts of it believe you are running >>> systemd when you are not. >>> >>> If you use GRUB, you need to change its config file and add the >>> following to your kernel command line: >>> >>> init=/usr/lib/systemd/systemd >>> >>> If you are using GRUB2, change /etc/default/grub and modify >>> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >>> grub2-mkconfig again. >>> >>> Beware, systemd requires some kernel config options set or it will not >>> work. For systemd 208, these are: >>> >>> AUTOFS4_FS >>> BLK_DEV_BSG >>> CGROUPS >>> DEVTMPFS >>> DMIID >>> EPOLL >>> FANOTIFY >>> FHANDLE >>> INOTIFY_USER >>> IPV6 >>> NET >>> PROC_FS >>> SECCOMP >>> SIGNALFD >>> SYSFS >>> TIMERFD >>> >>> Also, the following kernel config options should *NOT* be set: >>> >>> IDE >>> SYSFS_DEPRECATED >>> SYSFS_DEPRECATED_V2 >>> GRKERNSEC_PROC >>> >>> Lastly, if you have /usr in a different partition from /, you *need* >>> an initramfs (this is now true also for OpenRC). Please check the >>> instructions set in: >>> >>> https://wiki.gentoo.org/wiki/Systemd >>> >>> To finish, let me remark that systemd never had problems in your >>> system. The problem was that you were not running systemd. >>> >>> Regards. >>> -- >>> Canek Peláez Valdés >>> Posgrado en Ciencia e Ingeniería de la Computación >>> Universidad Nacional Autónoma de México >> >> >> Thank you for correction. You are correct I would need to switch to new >> systemd. >> I think for now I'll go back to udev as I'm afraid something might not work >> after switching :-/ > >Why don't you give it a try? You are almost there. > >When booting, edit the grub entry and add >init=/usr/lib/systemd/systemd. If it works, great; otherwise, you >reboot and get back to where you were. > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México I've tried to switch my backup system to systemd by adding line init=/usr/lib/systemd/systemd to grub donfig and as I suspected the system did not boot. I got a kernel paanic. can not open root device "hda3" or unknown block (0,0): error -6 -- Joseph