<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707/1/src/common/main.c">File src/common/main.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707/1/src/common/main.c@95">Patch Set #1, Line 95:</a> <code style="font-family:monospace,monospace">                        LOGP(DLGLOBAL, LOGL_FATAL, "%s: Unknown VTY reference generation "</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">You shouldn't use libosmocore logging system here, because you are still configuring it from cmd lin […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I agree, we cannot use logging here.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707/1/src/common/main.c@306">Patch Set #1, Line 306:</a> <code style="font-family:monospace,monospace">          LOGP(DLGLOBAL, LOGL_FATAL, "Failed to create BTS structure\n");</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I'm not sure whether it's a 100% good idea to merge this patch, specially since we introduced suppor […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">what is more realistic in production deployments is e.g. the use of syslog target. and I'd say that's important.</p><p style="white-space: pre-wrap; word-wrap: break-word;">We possibly could introduce some logic to libosmocore that would not do async writes but only sync writes until osmo_select_main() is called the first time?  This way it would be safe and do the right thing in all cases.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707/1/src/common/main.c@420">Patch Set #1, Line 420:</a> <code style="font-family:monospace,monospace">                      perror("Error during daemonize");</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">If all lines are changed, this perror() line should too.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Ack</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/24707">change 24707</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bts/+/24707"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2ae4acf6a92137236e1b62c2d0aab79a34134f45 </div>
<div style="display:none"> Gerrit-Change-Number: 24707 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 18 Jun 2021 12:33:32 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>