OK, even stranger things now.* inetd was not starting because S41inetd did not have execute permission, so I did the chmod, but after a reboot, the perms had reverted
* openssh didn't start as a service, even when reconfigured in the GUI, because it created the file /var/run/empty as world-writeable, so I hacked the script to do that
* I can't activate sdc1 for Alt-F packages because shutting down services doesn't work, and running "aufs.sh -u") gives an error saying aufs on / is busy
* the status page is now showing this message at the top: "'dumb': unknown terminal type. sh: bad number sh: bad number sh: bad number"
On Wednesday, September 22, 2021 at 10:38:59 AM UTC+1 Jezzaaaa wrote:OK, even stranger things now.* inetd was not starting because S41inetd did not have execute permission, so I did the chmod, but after a reboot, the perms had revertedAnd have you saved settings? permissions are reapplied at reboot from the last saved settings. If you have saved settings then there might be a problem with the flash-saved settings filesystem.
* I can't activate sdc1 for Alt-F packages because shutting down services doesn't work, and running "aufs.sh -u") gives an error saying aufs on / is busyYes. the best is to "boot disable" all them and reboot; they will not be used afterwards. If both are boot enabled, the first to be discovered is used (the first discovered might not always be the same)
* the status page is now showing this message at the top: "'dumb': unknown terminal type. sh: bad number sh: bad number sh: bad number"
You might have one or two problems regarding settings and/or the on-disk package instalation (the Alt-F dir). When the Alt-F dir is in use, any file that is contains and also exists in the system takes over, so if, say, inetd.conf exists in /Alt-F/etc/ it will be used instead. Configuration are loaded from flash-saved settings, then if it also exists under Alt-F, the new one will be used.
So, you can do two things: disable all Alt-F and reboot -- if problems still occurs, then the issue is in settings, you have to clear (or even format) all saved settings on flash, then reboot. This will bring the system to a "factory" state -- only configuration will be lost, not disk data, so you will have to set it again.
If problems are with the Alt-F dir, (as it has incorrect or corrupted files that take over the saved settings) you have to delete it -- all on-disk packages will be removed, along with its configuration. Don't rely on the other Alt-F dir, it might have incorrect or corrupted configuration files.A final note: Don't directly add/delete/edit anything under /Alt-F, instead edit the normal /, i.e., don't edit /Alt-F/whateverdir/whaterverfile, add/remove/edit /whateverdir/whaterverfile instead. If you really need to change anything under /Alt-F, use 'aufs.sh -n' first, and 'aufs.sh -r' when you are done.Notice also that if /Alt-F/somedir exists, and you edit or create /somedir/somefile, the edit will be stored in /Alt-F/somedir/somefile.
The 'fixup clean' command will erase all files under /Alt-F that also exists in the base system (remove if it exists under /Alt-F, is not a conf file nor a file from a disk-installed package). So, if there is a corrupted status.cgi file under /Alt-F/usr/www/cgi-bin, the command will remove it, making the normal /usr/www/cgi-bin/status.cgi to be used. This is complex, and the faster way it to delete the Alt-F dir, reinstall on-disk packages and start fresh.
João, I really appreciate your help with this.On Thu, 23 Sept 2021 at 05:13, João Cardoso <whoami...@gmail.com> wrote:On Wednesday, September 22, 2021 at 10:38:59 AM UTC+1 Jezzaaaa wrote:OK, even stranger things now.* inetd was not starting because S41inetd did not have execute permission, so I did the chmod, but after a reboot, the perms had revertedAnd have you saved settings? permissions are reapplied at reboot from the last saved settings. If you have saved settings then there might be a problem with the flash-saved settings filesystem.Ah, OK, I didn't think of this. I have now fixed permissions and then saved settings. Now inetd is starting correctly.* I can't activate sdc1 for Alt-F packages because shutting down services doesn't work, and running "aufs.sh -u") gives an error saying aufs on / is busyYes. the best is to "boot disable" all them and reboot; they will not be used afterwards. If both are boot enabled, the first to be discovered is used (the first discovered might not always be the same)I'm not quite understanding this. If I boot disable both of them, will nothing boot anymore? Or where will Alt-F boot from?
* the status page is now showing this message at the top: "'dumb': unknown terminal type. sh: bad number sh: bad number sh: bad number"This message has now gone away. But there is still one last obvious problem: shutdown and reboot don't work;
from the GUI it counts to 60 and carries on without a reboot. And of course not being able to activate Alt-F on sdc1. These all might be related.You might have one or two problems regarding settings and/or the on-disk package instalation (the Alt-F dir). When the Alt-F dir is in use, any file that is contains and also exists in the system takes over, so if, say, inetd.conf exists in /Alt-F/etc/ it will be used instead. Configuration are loaded from flash-saved settings, then if it also exists under Alt-F, the new one will be used.Oh, I think I understand. Is this how aufs works? I should read up on this.
So, you can do two things: disable all Alt-F and reboot -- if problems still occurs, then the issue is in settings, you have to clear (or even format) all saved settings on flash, then reboot. This will bring the system to a "factory" state -- only configuration will be lost, not disk data, so you will have to set it again.I have to set it again, meaning I cannot save and then factory state, and then restore saved settings?
If problems are with the Alt-F dir, (as it has incorrect or corrupted files that take over the saved settings) you have to delete it -- all on-disk packages will be removed, along with its configuration. Don't rely on the other Alt-F dir, it might have incorrect or corrupted configuration files.A final note: Don't directly add/delete/edit anything under /Alt-F, instead edit the normal /, i.e., don't edit /Alt-F/whateverdir/whaterverfile, add/remove/edit /whateverdir/whaterverfile instead. If you really need to change anything under /Alt-F, use 'aufs.sh -n' first, and 'aufs.sh -r' when you are done.Notice also that if /Alt-F/somedir exists, and you edit or create /somedir/somefile, the edit will be stored in /Alt-F/somedir/somefile.OK thanks.The 'fixup clean' command will erase all files under /Alt-F that also exists in the base system (remove if it exists under /Alt-F, is not a conf file nor a file from a disk-installed package). So, if there is a corrupted status.cgi file under /Alt-F/usr/www/cgi-bin, the command will remove it, making the normal /usr/www/cgi-bin/status.cgi to be used. This is complex, and the faster way it to delete the Alt-F dir, reinstall on-disk packages and start fresh.So I would do this if reverting factory settings didn't fix my problems?
CheersJeremy