Commit Graph

  • 142f8ad460
    Minor changes to service management main Nocturn9x 2023-03-29 11:41:15 +0200
  • 7b7b675fef Minor changes and additions Nocturn9x 2022-10-18 09:32:44 +0200
  • 6283c82391 BLM ^ 2 Nocturn9x 2022-03-16 14:37:15 +0100
  • ea1f3cc6f9 Merge branch 'main' of https://github.com/nocturn9x/nimd Nocturn9x 2022-03-16 14:36:21 +0100
  • 4d01a31796 BLM Nocturn9x 2022-03-16 14:36:16 +0100
  • 38698ec72a Minor changes to error handling in main loop + changes to boot script and config Mattia Giambirtone 2022-03-13 13:04:40 +0100
  • 5f965826ea Shell has stderr working now Mattia Giambirtone 2022-03-13 12:46:39 +0100
  • 99fd4171ed NimD now checks if another instance is running before starting up Mattia Giambirtone 2022-03-12 17:22:40 +0100
  • e34e48f87c Updated README with note to scripts folder for testing Mattia Giambirtone 2022-03-12 15:55:50 +0100
  • df1371c13f Added build and startup scripts Mattia Giambirtone 2022-03-12 15:53:31 +0100
  • d240d05cef Minor changes to nimDExit and shutdown.nim Mattia Giambirtone 2022-03-12 15:51:31 +0100
  • c0a3c18140 Minor changes Nocturn9x 2022-03-01 12:31:32 +0100
  • a0a49874bb Minor changes to docstrings Nocturn9x 2022-01-31 15:06:43 +0100
  • 5e4aed7e0f Added comment about new reload operation in mainloop Nocturn9x 2022-01-31 14:58:29 +0100
  • 84720c1f4c Added config reloading functionality and related subprogram Nocturn9x 2022-01-31 14:56:12 +0100
  • 93b73de32a Solved merge conflict Nocturn9x 2022-01-14 08:31:56 +0100
  • 611f97d1e6 Added working directory and streams options to services Nocturn9x 2022-01-14 08:30:18 +0100
  • c25867245c NimD now calls sync() before shutting down nocturn9x 2022-01-09 23:00:17 +0100
  • 76f2df1969 Fixed config parsing module (sorta) and added example config file nocturn9x 2022-01-09 22:46:25 +0100
  • d41e67f413 Fixed issues with fcntl and replaced file locking with a duplicate of stderr in O_APPEND mode. Added basic utilities for shutdown/reboot/halt nocturn9x 2022-01-04 12:00:18 +0100
  • a93c3c6fd0 Failed attempts to fix missing stderr from supervised processes nocturn9x 2021-12-27 18:21:07 +0100
  • b68b6f5e74 Failed attempts to fix missing stderr from supervised processes nocturn9x 2021-12-27 15:08:57 +0100
  • d6c46b3543 Minor changes to mainloop.nim nocturn9x 2021-12-27 11:18:42 +0100
  • 2f107f7f28 Added VERY experimental (untested) networking code nocturn9x 2021-12-27 11:17:24 +0100
  • fea5e625e2 Added log redirection and cgroups support via setsid() Nocturn9x 2021-12-16 11:24:00 +0100
  • 9289c455e3 The shell is now spawned as a boot service Nocturn9x 2021-12-09 17:30:30 +0100
  • fd35755da5 Hopefully fixed dependency resolution. Added file locking on logs. Improved README, fixed some minor issues Nocturn9x 2021-12-09 17:09:00 +0100
  • 342fd15ffb Added more entries to .gitignore Nocturn9x 2021-12-08 11:11:05 +0100
  • b12cf0f5aa Improved README. Initial (broken!) work on dependency resolution nocturn9x 2021-12-06 20:45:53 +0100
  • f2b23afe1b Added more entries to gitignore nocturn9x 2021-12-06 13:47:42 +0100
  • 9b49b57d4c Removed unneeded vm file nocturn9x 2021-12-06 13:47:30 +0100
  • 92850e8d70 Aligned log messages, minor general fixes, unified virtual and real filesystems and started to work on the API for parsing NimD's config (also added empty networking module) nocturn9x 2021-12-06 13:47:11 +0100
  • 2ba8cfa5be Added more entries to gitignore nocturn9x 2021-12-06 13:46:14 +0100
  • ff2701b05f Many changes after first VM tests. Added more entries to gitignore nocturn9x 2021-12-05 22:08:08 +0100
  • 4692f0328b Added more entries to gitignore nocturn9x 2021-12-05 20:55:29 +0100
  • 3f3403170f Added more entries to gitignore nocturn9x 2021-12-05 20:53:44 +0100
  • 539035f3a5 Added more entries to gitignore nocturn9x 2021-12-05 20:12:46 +0100
  • a9cb133b71 Removed now unneeded docker config nocturn9x 2021-12-05 20:10:39 +0100
  • c97c6678c2 Removed duplicate code nocturn9x 2021-12-05 11:55:26 +0100
  • 63ab7c61e4 More work to fix multiprocessing issues nocturn9x 2021-12-04 18:12:22 +0100
  • e83639a60f
    Update main.nim n00nehere 2021-12-04 17:52:10 +0100
  • 5549f67737
    Update main.nim n00nehere 2021-12-04 17:48:45 +0100
  • cad0908ccd
    Merge pull request #1 from n00neheregit/patch-1 Mattia 2021-12-04 17:37:54 +0100
  • e0bad78bd8
    FIX TYPO n00nehere 2021-12-04 17:34:05 +0100
  • 41a54288e3 Fixed most bugs with spawning services (last: block signals) nocturn9x 2021-12-04 17:31:18 +0100
  • 8517cdb736 Added config.nims for musl nocturn9x 2021-12-04 14:06:28 +0100
  • 2293d192f1 Updated gitignore nocturn9x 2021-12-04 13:53:23 +0100
  • 5777e1a715 Major code cleanup. Added initial (VERY broken) support for services Nocturn9x 2021-12-04 13:47:06 +0100
  • bd7d4e1974 Added sync() system call for testing purposes. Added SIGSTP signal handler. Removed CtrlCException. Added dummy SIGCHLD handler for future process reaping. NimD now creates some symlinks at startup so Linux ports of BSD software don't crash. Moved exists procedure to misc module. UnmountAllDisks now unmounts the source instead of the target. Other minor fixes and typos Nocturn9x 2021-12-02 23:16:16 +0100
  • 6ef157baa0 Minor fixes + removed redundant SIGINT hook Nocturn9x 2021-12-02 21:28:58 +0100
  • b01da7eada Slightly changed CRITICAL's error message format Nocturn9x 2021-12-02 19:03:10 +0100
  • 5c2515c3a7 Uncommented call to umount2() Nocturn9x 2021-12-02 18:55:33 +0100
  • d055d876a1 NimD now sets the machine's hostname, nimd has now colored logs. Added emergency mode (spawns root shell on fatal crash), stopped unmounting virtual filesystems Nocturn9x 2021-12-02 18:54:48 +0100
  • 1c6254b50f Improved README Nocturn9x 2021-12-02 14:02:05 +0100
  • 1cebcc0d90 Fixed typo Nocturn9x 2021-12-02 02:57:46 +0100
  • 7fe67c0495 This code is trash Nocturn9x 2021-12-02 02:56:10 +0100
  • 407b43ec5f NimD now correctly resolves symlinks when checking if a real filesystem is mounted. also removed extra check for target as it was unnecessary and error-prone Nocturn9x 2021-12-02 02:53:51 +0100
  • b94a4c0b1c Fixed disk (un)mounting once and for all: checks for already (un)mounted disks and automatically converts labels, uuids, ids and partuuids to their corresponding /dev/disk symlink Nocturn9x 2021-12-02 01:07:04 +0100
  • 6884791b2e Improved more error messages Nocturn9x 2021-12-01 12:41:22 +0100
  • afce3a6c6d Changed proc's filesystemtype back to proc (previously procfs) Nocturn9x 2021-12-01 12:39:42 +0100
  • cca1bb5da9 Improved log messages Nocturn9x 2021-12-01 12:37:58 +0100
  • ddca38c84b Switched the gc to ORC for better performance and added the useMalloc flag for better debugging and memory corruption detection Nocturn9x 2021-12-01 12:18:13 +0100
  • e7bd635574 Fixed garbage collection issue in unmountAllDisks and added nim-to-C wrapper for mount using nim types to avoid dangling pointers in the future Nocturn9x 2021-12-01 12:13:03 +0100
  • f6223d43b2 Removed debugging echo statements Nocturn9x 2021-12-01 12:02:56 +0100
  • 26f98cec52 Added shutdown hooks support and unmounting of all handlers upon exit Nocturn9x 2021-12-01 12:00:07 +0100
  • 7652a2c1cf Modularized the system further, added mounting of virtual filesystems Nocturn9x 2021-11-30 23:56:38 +0100
  • c6f6fcb54e Initial ground work on the init Nocturn9x 2021-11-30 20:54:27 +0100
  • d242a72a89 Fixed log level handling in Logger.log() Nocturn9x 2021-11-30 16:15:29 +0100
  • 8a05dbd95a Updated gitignore to excluse src/main.nim's binary Nocturn9x 2021-11-30 16:15:08 +0100
  • 60f48afe00 Added missing newline to default log handlers Nocturn9x 2021-11-30 16:13:12 +0100
  • 3164cd1466 Initial structure Nocturn9x 2021-11-30 16:10:41 +0100
  • 3a3c61a08d
    Initial commit Mattia 2021-11-29 15:31:32 +0100