Issue enabling application in CHROOT

Issues related to applications and software problems
Post Reply
sillyvainplex
Posts: 2
Joined: 2020/03/14 03:55:56

Issue enabling application in CHROOT

Post by sillyvainplex » 2020/03/14 04:00:28

Hey Guys


I am working on a project with warewulf and I can enable most application in CHROOT but there is one application I am unable too



chroot $CHROOT systemctl enable application
chroot: cannot change root directory to systemctl: No such file or directory

I can enable locally and yes I installed the application in the CHROOT section..

I have been at it for a week..

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issue enabling application in CHROOT

Post by TrevorH » 2020/03/14 04:54:05

If you literally ran chroot $CHROOT systemctl enable application then I'd say that your env variable $CHROOT is not set so it ends up running chroot systemctl enable application which does indeed give that exact error message.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sillyvainplex
Posts: 2
Joined: 2020/03/14 03:55:56

Re: Issue enabling application in CHROOT

Post by sillyvainplex » 2020/03/14 06:19:59

thank you Trevor for your reply

How do I edit the chroot to modify the environment variable?

Do I edit the local or the chroot part?

Sorry I am new to the CHROOT section but I have been using Linux since 2005 but the CHROOT part I never ever modified it..

Post Reply