Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [dnbd3-proxy-mode] Make local-switch-service Type=simple | Simon Rettberg | 2024-02-16 | 1 | -1/+3 |
| | | | | | | | This will not wait for the script to finish, like with oneshot, to consider the job done and thus the system being booted up fully. Because this really is a background job that isn't vital to the system's operation. | ||||
* | [dnbd3-proxy-mode] local proxy: Skip last iteration of forced switch | Simon Rettberg | 2024-02-02 | 1 | -1/+1 |
| | | | | | | | This looks ugly in systemd-analyze plot - the service takes forever. The remaining aproaches should be enough to cover the bootup process - if we need something more permanent, dnbd3 should be extended to forbid switching unless the server is actually unreachable. | ||||
* | Make useradd and groupadd return 0 | Simon Rettberg | 2024-02-01 | 1 | -2/+1 |
| | | | | | These functions will perror on error, so make sure on success we return 0, even though checking the return value is useless... | ||||
* | [dnbd3-proxy-mode] Add user dnbd3 to fuse group at build time | Simon Rettberg | 2024-02-01 | 3 | -3/+4 |
| | |||||
* | [dnbd3-proxy-mode] Dynamic deletion delay based on RTC | Simon Rettberg | 2023-05-08 | 1 | -2/+14 |
| | | | | | | | | If the proxy is being started up mid-day, it might be undesired to have it wait for 18 hours before deleting old images. This might mean we don't have a good idea which image has been unused longest, but it's better to delete *some* unused image than just not replicating any images at all. | ||||
* | [dnbd3-proxy-mode/run-virt] Firewall: Whitelist dnbd3-servers if local ↵ | Simon Rettberg | 2022-12-15 | 1 | -1/+1 |
| | | | | | | | | | caching is enabled We patch the config to say 127.0.0.1 is the only dnbd3 server, discarding the actually configured servers. This breaks the automatic whitelisting of the dnbd3 servers/proxies if a vm/course has firewalling enabled. | ||||
* | [dnbd3-proxy-mode] Fix syntax error in cron file | Simon Rettberg | 2022-10-17 | 1 | -1/+1 |
| | |||||
* | [dnbd3-proxy-mode] Avoid double-reboots | Simon Rettberg | 2022-10-04 | 1 | -2/+3 |
| | |||||
* | [dnbd3-proxy-mode] Force sparse mode for < 200GB ID45 partition | Simon Rettberg | 2022-06-21 | 1 | -11/+5 |
| | |||||
* | [dnbd3-proxy-mode] More agressive switching to local dnbd3 proxy | Simon Rettberg | 2022-03-24 | 1 | -7/+10 |
| | |||||
* | [dnbd3-proxy-mode] Split dnbd0 local caching split into own unit | Simon Rettberg | 2022-02-23 | 4 | -25/+37 |
| | | | | Other approach also failed as service doesn't run as root, obviously | ||||
* | [dnbd3-proxy-mode] Move stag4 local caching to dnbd3-server.service | Simon Rettberg | 2022-02-22 | 2 | -21/+32 |
| | | | | | The switching to the local proxy was blocking the actual startup of the proxy. | ||||
* | [dnbd3-proxy-mode] Local caching: fix block device check | Simon Rettberg | 2022-02-16 | 1 | -1/+1 |
| | |||||
* | fix useradd calls | Simon Rettberg | 2021-07-27 | 1 | -1/+1 |
| | |||||
* | useradd.inc: Rewrite helper once again | Simon Rettberg | 2021-07-27 | 1 | -2/+1 |
| | |||||
* | [dnbd3-proxy-mode/disk-partitions] Add persistent.target | Simon Rettberg | 2021-07-22 | 1 | -2/+2 |
| | |||||
* | Add installer mode for stage4 | Simon Rettberg | 2021-07-08 | 2 | -2/+20 |
| | |||||
* | [dnbd3-proxy-mode] Increase priority etc. of dnbd3-server | Simon Rettberg | 2021-05-04 | 1 | -0/+4 |
| | |||||
* | [dnbd3-proxy-mode] Honor config overrides from SLX_DNBD3_EXTRA | Simon Rettberg | 2020-11-05 | 1 | -0/+11 |
| | | | | Closes #3328 | ||||
* | [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.d | Simon Rettberg | 2020-09-23 | 1 | -2/+0 |
| | | | | | | Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier. | ||||
* | [dnbd3-proxy-mode] Fix proxy mode with firewalling | Simon Rettberg | 2020-09-22 | 1 | -1/+1 |
| | | | | DNBD3_PORT was set after use. | ||||
* | [dnbd3-proxy-mode] Make cache dir inaccessible to world | Simon Rettberg | 2020-08-25 | 1 | -1/+2 |
| | |||||
* | [dnbd3/run-virt] Use dnbd3-server-proxy-fuse for local caching | Simon Rettberg | 2020-07-30 | 2 | -3/+17 |
| | |||||
* | [dnbd3-proxy-mode] explicit Before= on update-etc_issue | Jonathan Bauer | 2020-07-17 | 1 | -1/+1 |
| | |||||
* | [dnbd3-proxy-mode] Set more vars depending on mode (proxy/local caching) | Simon Rettberg | 2019-09-09 | 1 | -0/+6 |
| | |||||
* | [dnbd3-proxy] add default PATH.. | Jonathan Bauer | 2019-08-12 | 1 | -0/+2 |
| | |||||
* | [dnbd3-proxy-mode] Support local caching | Simon Rettberg | 2019-07-09 | 4 | -111/+182 |
| | |||||
* | [dnbd3-proxy-mode] Watch for hash check fails and log to server | Simon Rettberg | 2019-01-29 | 3 | -0/+17 |
| | |||||
* | [dnbd3-proxy-mode] add runmode info to ssh issue | Steffen Ritter | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | [dnbd3-proxy-mode] fix copies instead of links in dnbd3-proxy.target.requires | Jonathan Bauer | 2018-08-29 | 2 | -17/+2 |
| | |||||
* | [dnbd3-proxy] Scale maxReplicationSize according to cache partition | Simon Rettberg | 2018-07-18 | 1 | -1/+7 |
| | |||||
* | [dnbd3-proxy-mode] Run setup before spawning getty | Simon Rettberg | 2018-03-29 | 1 | -1/+3 |
| | |||||
* | [dnbd3-proxy-mode] Workaround for broken slx-admin whitelist, apply to all ifs | Simon Rettberg | 2018-03-28 | 1 | -3/+5 |
| | | | | Refs #3348 | ||||
* | [dnbd3-proxy-mode] Whitelist sat server for port 5003 if firewalling is enabled | Simon Rettberg | 2018-03-28 | 1 | -1/+1 |
| | | | | Closes #3347 | ||||
* | [hardware-stats] Suppress local warnings about swap/tmp if flag-file is present | Simon Rettberg | 2018-03-19 | 1 | -0/+6 |
| | |||||
* | [dnbd3(-proxy-mode)] Support sparse mode | Simon Rettberg | 2018-03-15 | 1 | -5/+27 |
| | |||||
* | [dnbd3-proxy-mode] acl: All access for sat server | Simon Rettberg | 2017-11-30 | 1 | -1/+1 |
| | |||||
* | [dnbd3-proxy-mode] increase max FDs to 65536 | Jonathan Bauer | 2017-11-08 | 1 | -0/+1 |
| | |||||
* | [dnbd3-proxy-mode] Tweak serverPenalty, only create ipt rules with whitelist ↵ | Simon Rettberg | 2017-11-02 | 3 | -11/+18 |
| | | | | present | ||||
* | [dnbd3-proxy-mode] Support new lookupMissingForProxy option of dnbd3-server | Simon Rettberg | 2017-11-02 | 1 | -1/+7 |
| | |||||
* | [dnbd3-proxy-mode] Run dnbd3-server in -errormsg mode if setup failed | Simon Rettberg | 2017-11-02 | 3 | -30/+72 |
| | |||||
* | [dnbd3-proxy-mode] Exclude own ip addresses from alt-servers | Simon Rettberg | 2017-10-24 | 1 | -2/+7 |
| | |||||
* | [dnbd3-proxy] spawn getty pls | Jonathan Bauer | 2017-10-24 | 3 | -2/+4 |
| | |||||
* | [dnbd3-proxy] better use of $@ | Jonathan Bauer | 2017-10-18 | 1 | -4/+4 |
| | | | | * handle multiple SLX_KCL_SERVERS | ||||
* | [dnbd3-proxy] fix stupid insert instead of append | Jonathan Bauer | 2017-10-18 | 1 | -1/+1 |
| | |||||
* | [dnbd3-proxy-mode] generate basic rpc.acl | Jonathan Bauer | 2017-10-13 | 1 | -1/+6 |
| | |||||
* | [dnbd3-proxy-mode] SLX_BGR for bg replication | Jonathan Bauer | 2017-10-13 | 1 | -1/+3 |
| | |||||
* | [dnbd3-proxy-mode] fix typo fix, remove files ... | Jonathan Bauer | 2017-10-13 | 1 | -3/+15 |
| | | | | | ... before creating them. And change /etc/issue to mark that the proxy mode is active | ||||
* | [dnbd3-proxy-mode] fix bad iptables & typos | Jonathan Bauer | 2017-10-13 | 1 | -5/+8 |
| | |||||
* | [dnbd3-proxy-mode] new module for netbooted dnbd3 ... | Jonathan Bauer | 2017-10-13 | 8 | -0/+148 |
... proxy |