-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php-chroots.target subsequent targets not active #2
Comments
I have same problem, comment the script line : 82 and 83 using "#" It's work fine on my system, reboot will auto re-mount files/dir Because when using command: you can use "sudo journalctl -b -0" check the systemd log, you will found some line like the php-chroot-create-mountpoint-file-${eBind}@${eChroot}.service file will check dir/file exits, my english no good, Hope you can understand |
Hi!
Thank you very much for your two very detailed articles and script on how to setup the chroots for PHP. I've been using this in low power ARM devices where I "can't" run docker/lxc/systemd-nspawn due to RAM limitations.
Now, over the years I've noticed a small glitch in the script that I never come around to fix. It appears that whenever I reboot the system
php-chroots.target
is reached however the subsequent targets aren't usually reached.After rebooting here is what happened:
Now the
test_chroot
:As you can see
php-chroots.target
is loaded and active, and thenphp-chroot-mnt-NVME1-web-test_chroot-chroot.target
is inactive.To fix this, I just need to issue:
And then all chroots get to work just fine. Any idea why this would be happening? I've also noticed that sometimes some of the other chroots start others don't. It seems random.
OS: Debian 10 / Armbian 20.08.17 Buster with Linux 4.4.213-rk3399
The text was updated successfully, but these errors were encountered: