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..
Issue enabling application in CHROOT
Re: Issue enabling application in CHROOT
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
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
-
- Posts: 2
- Joined: 2020/03/14 03:55:56
Re: Issue enabling application in CHROOT
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..
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..