• Franco Fichtner's avatar
    rc: add a safety sync after the recovery stage to avoid a vicious cycle · f45171e7
    Franco Fichtner authored
    The current fix now works as expected and always brings back the
    console login after an unclean shutdown, which was previously not
    happening.  A small quirk, however, is that while the base system
    recovers, the OPNsense backend on top may not fully recover directly
    after the unclean shutdown.  In those instances, a manual reboot
    will bring back the fully operational system and its services.
    
    The unclean shutdown dilemma is, however, an unavoidable occurrence
    and any kernel panic or power failure can corrupt the file system
    into an unrecoverable state.  Having snapshots or backups at hand is
    a good habit to get into, which can also 'fix' the eventual breakdown
    of a physical disk.
    
    Discussed with: ad@ jos@
    Tested by: jos@
    f45171e7
Name
Last commit
Last update
..
devd Loading commit data...
inc Loading commit data...
rc.d Loading commit data...
bogons Loading commit data...
bogonsv6 Loading commit data...
ca_countries Loading commit data...
ddb.conf Loading commit data...
dh-parameters.1024 Loading commit data...
dh-parameters.2048 Loading commit data...
dh-parameters.4096 Loading commit data...
rc Loading commit data...
rc.backup_captiveportal Loading commit data...
rc.backup_dhcpleases Loading commit data...
rc.backup_rrd Loading commit data...
rc.bootup Loading commit data...
rc.carpbackup Loading commit data...
rc.carpmaster Loading commit data...
rc.crashdump Loading commit data...
rc.dyndns.update Loading commit data...
rc.expireaccounts Loading commit data...
rc.filter_configure_sync Loading commit data...
rc.filter_configure_xmlrpc Loading commit data...
rc.filter_synchronize Loading commit data...
rc.halt Loading commit data...
rc.halt.common Loading commit data...
rc.initial Loading commit data...
rc.initial.banner Loading commit data...
rc.initial.defaults Loading commit data...
rc.initial.firmware Loading commit data...
rc.initial.halt Loading commit data...
rc.initial.password Loading commit data...
rc.initial.ping Loading commit data...
rc.initial.reboot Loading commit data...
rc.initial.setlanip Loading commit data...
rc.initial.setports Loading commit data...
rc.installer Loading commit data...
rc.interfaces_wan_configure Loading commit data...
rc.ipfw Loading commit data...
rc.kill_states Loading commit data...
rc.linkup Loading commit data...
rc.newipsecdns Loading commit data...
rc.newroutedns Loading commit data...
rc.newwanip Loading commit data...
rc.newwanipv6 Loading commit data...
rc.notify_message Loading commit data...
rc.openvpn Loading commit data...
rc.opnsense Loading commit data...
rc.php_ini_setup Loading commit data...
rc.php_test_run Loading commit data...
rc.prunecaptiveportal Loading commit data...
rc.reboot Loading commit data...
rc.recover Loading commit data...
rc.reload_all Loading commit data...
rc.reload_interfaces Loading commit data...
rc.resolv_conf_generate Loading commit data...
rc.restart_webgui Loading commit data...
rc.restore_config_backup Loading commit data...
rc.restore_full_backup Loading commit data...
rc.sshd Loading commit data...
rc.update_alias_url_data Loading commit data...
rc.update_bogons Loading commit data...
rc.update_urltables Loading commit data...