dan
bedc1009f8
whitespace
2025-11-11 21:44:37 +00:00
dan
4abdbeb1ea
fix reference to dhcp client in tutorial
2025-11-11 21:44:37 +00:00
dan
e5c036f100
fix bad relative path
2025-11-11 21:44:37 +00:00
dan
e49f8055f3
add etc/hosts to base module
...
this is hardcoded to localhost only. it would be better to have
a config option to allow defining static hosts
2025-11-11 21:44:37 +00:00
dan
7261ef8b21
DHCPNAK means we can't use the requested address
...
so probably we should flush it
2025-11-11 21:44:37 +00:00
dan
489d1843b5
no action needed for dhcp renewal message
...
... according to my reading, a renewal is always for the same
address we have already
2025-11-11 21:44:37 +00:00
dan
bf7d02ae85
note dhcp client rename
2025-11-11 21:44:37 +00:00
dan
d9f91e4820
update examples for dhcp4c rename
2025-11-11 21:44:37 +00:00
dan
46dcf71e16
fix swconfig build
...
missing ctype.h
2025-11-04 18:53:38 +00:00
dan
6e3bfa9029
think
2025-11-04 00:28:26 +00:00
dan
78e4d30120
dhcp4 client: start controlled service when lease acquired
...
it is problematic to have dhcp signal readiness when a lease is
acquired, because it holds the s6 service lock while it's waiting
and that can lead to deadlock. Instead, start the dhcp client
"daemon" process and monitor its outputs, bringing up and down
a controlled "dhcp lease acquired" service that other services
(e.g. ntp, or resolvconf, or ...) can declare as a dependency
2025-11-04 00:24:39 +00:00
dan
bb2c36a0b4
prefer modules/dhcp4c over system.services.network.dhcp.client
2025-11-03 23:51:52 +00:00
dan
c5e0567511
bridge: flush ipv6 routes via member interfaces
...
Adding an interface as a bridge member does not (by itself) remove the
routes which go via that interface, whioch makes them basically into
null routes. This isn't a problem for IPv4 because there were no
addresses anyway, but interfaces can acquire IPv6 addresses via
autodiscovery before they get added to the bridde
Possibly it would be better to disable autodiscovery on these
interfaces. More thought needed.
2025-11-03 22:01:35 +00:00
dan
a3c4ebbe29
dhcpc touch outputs/state
...
this is important for service subscribers to see the change event
2025-11-03 19:12:58 +00:00
dan
5da61c6d31
bundles depend on controlled services if any of their contents do
2025-11-03 19:12:07 +00:00
dan
d3b99aba96
remove unneeded comma
2025-11-01 11:35:55 +00:00
dan
671b795fbb
think
2025-11-01 11:35:38 +00:00
dan
574c95640b
remove dhcpc readiness notification
...
because there's an ugly deadlock. s6-rc won't start anything else
while waiting for int.link.dhcpc to announce it's ready, and the
-running service needs to call s6-rc to launch the scripts that add
members to the bridge. dhcpc won't work until the bridge has a member
2025-10-31 21:46:21 +00:00
dan
19360eca57
remove ifwait service name clash opportunity
2025-10-31 21:45:01 +00:00
dan
9699f0eaa4
think
2025-10-31 21:44:23 +00:00
dan
f2ba9c2f61
use correct openssl in cqueues
2025-10-29 21:19:11 +00:00
dan
5c4004e1b8
add readiness support for ntp
2025-10-29 21:16:49 +00:00
dan
32f0be84be
think
2025-10-28 23:40:44 +00:00
dan
5d810dbbbd
README should probably not stil claim we're pre-1.0
2025-10-28 23:39:57 +00:00
dan
ead6cb918a
log backfill: synthesize timestamps when in 1970s
...
if the log message timestamp is in 1970, treat it as if
the epoch were the system boot time
2025-10-28 23:29:20 +00:00
dan
f4b87430ea
tai64: write timestamp
2025-10-28 23:28:33 +00:00
dan
c3d6ad7ad4
unix time to TAI conversion
2025-10-28 21:05:55 +00:00
dan
8049714cdb
rename anoia.tai64.to-utc as to-unix
...
it's a far more accurate name for somethingthat return non-leap
seconds since 1-1-1970
2025-10-28 20:17:35 +00:00
dan
8106389b74
add log backfill services
2025-10-27 21:19:43 +00:00
dan
0f90f3f46d
lualinux.open needs three args
2025-10-27 21:18:52 +00:00
dan
481715f906
remove debug output
2025-10-27 21:16:49 +00:00
dan
c29416a287
move log fifo away from /run/log which doesn't exist yet
2025-10-27 21:16:17 +00:00
dan
9e042bd385
ppp: ignore error return from writing readiness notification
...
ip-up and ipv6-up both attempt to write to fd 10, but only the
first writer will succeed because the peer closes the pipe as soon
as it gets anything. I can't see a way to make this race-proof, so
... here we are
2025-10-27 21:12:06 +00:00
dan
26e1608fa7
align log shipping start/stop messages between producer and consumer
...
also there's no need to make it configurable, so get rid of that
2025-10-26 20:41:19 +00:00
dan
ad9bba4f93
logtap: add WIP backfill command
2025-10-26 20:34:52 +00:00
dan
6f559e3700
add fennelc, a script to do what writeFennel does
...
it's a bit simpler because no need to do quite as much string surgery
to compute package.{c,}path
also it can be used in Makefiles
2025-10-26 20:32:52 +00:00
dan
6478c56ed1
log.shipping.command is now a command not a string
2025-10-25 17:34:50 +01:00
dan
186543d2de
remove option for log shipping socket
...
* it's a fifo now not a socket
* I think it's an internal detail, not public interface
* backfill will need a second fifo anyway
2025-10-24 23:53:46 +01:00
dan
c8b3188bd4
remove unneeded module
2025-10-24 23:46:13 +01:00
dan
60ff3ab688
bordervm espose 443 for logs not 9428
...
this is because nginx is proxying them.
probably we should pick a non-default port all the same, but need to
investigate what's convention here
2025-10-20 23:48:21 +01:00
dan
bfb4799075
certifix-client provice ca-certificate as an output
2025-10-20 23:47:21 +01:00
dan
1b14161a0e
modern openssl needs rsa key >= 2048
...
per
https://docs.openssl.org/3.3/man3/SSL_CTX_set_security_level/#default-callback-behaviour
the default "security level" in openssl 3.3 is 2
2025-10-20 23:45:53 +01:00
dan
72acb2e711
Merge remote-tracking branch 'newedge/fix-gl-ar750'
2025-10-19 14:22:49 +01:00
dan
87c45dec67
switch certifix-client to luahttp
2025-10-19 14:11:51 +01:00
dan
53244beab8
add luaossl to lua overlay
...
this means it can be seen by other lua packages (needed for
e.g. luahttp)
2025-10-19 14:11:51 +01:00
dan
3c0f55cd9e
remove outdated cmake patch
2025-10-19 14:11:51 +01:00
dan
d1cd13d5dc
CSR version should be 1 not 3
2025-10-19 14:11:51 +01:00
dan
88dcfc8a05
think
2025-10-19 14:11:51 +01:00
dan
33fdf0d86d
add missing prototype to fetch-freebsd lua glue to make it build
2025-10-19 14:10:13 +01:00
dan
5aa18101b7
shorten bordervm dhcp allocation
...
we use .8 and .10 for static addresses, so start the dhcp range at .12
2025-10-19 14:10:13 +01:00