Re: chroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank,

mount -t proc proc /path/to/chroot_dir/proc
chroot
works fine

but
systemd-nspawn -D /path/to/chroot_dir
provides:
Failed to determine whether the unified cgroups hierarchy is used: No such file or directory

then,

Spawning container linux on /mnt/linux.
Press ^] three times within 1s to kill container.
Host and machine ids are equal (a386c24a48d84be2825a0b0cb284c5e0): refusing to link journals

Any idea?

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Sunday, July 17, 2016 at 4:23 PM
> From: "Tom H" <tomh0665@xxxxxxxxx>
> To: "Fedora Users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: chroot
>
> On Sun, Jul 17, 2016 at 9:55 AM, Patrick Dupre <pdupre@xxxxxxx> wrote:
> >
> > I wanted to make a chroot, and I get:
> >
> > Error, do this: mount -t proc proc /proc
> > /bin/basename: missing operand
> > Try '/bin/basename --help' for more information.
> 
> Not enough info. What's calling basename?
> 
> The proc mount should be
> 
> mount -t proc proc /path/to/chroot_dir/proc
> 
> but you'd be better off using
> 
> systemd-nspawn -D /path/to/chroot_dir
> 
> to chroot without having to pre-mount proc or any other "api" filesystem.
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux