<svanheule>
russell--: no idea. my guess would be logs or config, but I don't remember (if I ever checked)
<svanheule>
you want to use all available storage on the GS1900s?
noltari has joined #openwrt-devel
noltari_ has quit [Ping timeout: 480 seconds]
<russell-->
i was wondering why it was preserved, i guess i could imagine some reasons
<svanheule>
no reason other than "12MB should be enough for a while"
<svanheule>
otherwise we would have to employ mtd-concat to gain those last 2MB, but then the user would lose their stock config when flashing OpenWrt (which isn't that big of a problem in the end)
<russell-->
svanheule: i'm not counting on going back to vendor firmware :-)
<russell-->
although i suppose for the PoE devices, that could have some value for reverse engineering
<svanheule>
the main problem going forward will remain to allow an easy factory install
<svanheule>
snapshot builds still fit inside the old 6MB partition, but 24.10 builds with LuCI already don't :(
<schmars[m]>
totkeks: other packages use that to append options like --foo=123 to the command. i'm testing podman too and have been wondering about that line. $command doesn't come from procd, so my best guess is the author copied the init script from another package and forgot to remove the append line
<totkeks>
schmars[m], okay. because I have been looking through the wiki and forum for some docs about that and couldn't find any. like use set for the binary and append for the parameters. but this doesn't seem to be the case
<schmars[m]>
nah you can pass everything right into procd_set_param if it's convenient
<totkeks>
schmars[m], are you using procd to run your containers? I'm testing that currently. also opened a forum thread to gather input
<schmars[m]>
yeah, i just do procd_set_param command /usr/bin/podman run -i mycontainer - there might be more to consider, i'm just dabbling around at the moment
<stintel>
you can always add a `logger -t podman-init "command: $command"` in the init script to see if $command actually contains anything
<schmars[m]>
yep true ^
<stintel>
or run the init script with INIT_TRACE=1 but then you'll have a lot of noise
<totkeks>
windows terminal supports copilot ai. it might be able to filter through that and find the relevant parts :D
<jakllsch>
heh
<totkeks>
mh, i tried PROCD_DEBUG=1 and INIT_TRACE=1. neither shows me why it thinks the instance crashes (container itself, not podman)
<schmars[m]>
you can also redirect stdout/stderr to logread
<schmars[m]>
oh and make sure to not wrap the whole command including parameters in quotes, otherwise it'll try to find a binary for the whole thing
<stintel>
/home/build/openwrt/build_dir/host/cmake-3.30.5/Utilities/cmlibarchive/libarchive/archive_random.c:125:9: error: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration]
<stintel>
125 | arc4random_buf(buf, nbytes);
<stintel>
| ^~~~~~~~~~~~~~
<stintel>
in openwrt-24.10 4cc1da1e44c28aa153956e179f28b8ee38dc3ac6
<totkeks>
schmars[m], got it running now. needed to remove the -d flag, because well, that detaches the running container and procd thinks it died :D
<stintel>
I guess it's related to building on a musl host
* stintel
gives up and hits the pub
minimal has quit [Quit: Leaving]
<totkeks>
schmars[m], do you have your code somewhere public?
<totkeks>
is there a naming convention for uci configs in terms of plural or singular (/etc/config/containers vs container)?
* enyc
meows
<enyc>
is this an usuasy number of bugs for a release in -rc stage, ooi?
goliath_ has joined #openwrt-devel
goliath is now known as Guest4277
goliath_ is now known as goliath
Guest4277 has quit [Ping timeout: 480 seconds]
n3ph has quit [Quit: WeeChat 4.4.3]
n3ph has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<SlimeyX>
you only have one chance to test the automatic self destruct system
AndyCap has quit [Ping timeout: 480 seconds]
<totkeks>
someone knows how to see output from the init.d script before procd takes over the instance? besides INIT_TRACE=1. like just the stdout/stderr of the commands running in the init script