genodelabs / genode-world

Collection of community-maintained components for Genode
Other
45 stars 47 forks source link

log_tee: fix `LOG session denied because of truncated arguments` #335

Closed trimpim closed 1 year ago

trimpim commented 1 year ago

While integrating the update to Genode 23.05 in to our scenario where we start log_tee in a sub init, we got the following warning/error for the log sessions of some components.

Warning: LOG session denied because of truncated arguments
Error: tcpip: environment LOG session denied (label="tcpip", ram_quota=8192, cap_quota=2, diag=0)

During debugging I realized, that the arguments for the LOG sessions going out of log_tee were doubled. For components with longer overall labels this led to the observed error.

nfeske commented 1 year ago

Thank you @trimpim for the reporting and the fix. I merged your patch to staging.

chelmuth commented 1 year ago

Fixed in master.