Attention is currently required from: pespin.
Hello Jenkins Builder, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36794?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: SIP_Templates: Add ts_SIP_Response_Trying
......................................................................
SIP_Templates: Add ts_SIP_Response_Trying
Similar to ts_SIP_Response_Ringing. We also have the counterpart tr_*
for both Trying and Ringing. This is needed in a follow-up patch.
Change-Id: I05d8be9ce8860c610c509670392e14f1096fdddb
---
M library/SIP_Templates.ttcn
1 file changed, 28 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/94/36794/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36794?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I05d8be9ce8860c610c509670392e14f1096fdddb
Gerrit-Change-Number: 36794
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hello Jenkins Builder, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36797?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: SIP_Templates: Allow passing Server field
......................................................................
SIP_Templates: Allow passing Server field
This field is used by an IMS core.
Change-Id: I7816eb4565fb027a2902c60c600a75b96dc293bc
---
M library/SIP_Templates.ttcn
1 file changed, 25 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/97/36797/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36797?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I7816eb4565fb027a2902c60c600a75b96dc293bc
Gerrit-Change-Number: 36797
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: jolly, pespin.
Hello Jenkins Builder, jolly, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36814?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: SIP_Templates: Always set Content-Length
......................................................................
SIP_Templates: Always set Content-Length
According to RFC3261 7.4.2, 7.5, 20.14 Content-Length SHOULD be set over
any transport, and MUST be set over TCP.
Hence, make sure we set it in all cases.
This allows Asterisk being able to decode SIP messages sent to it over a
TCP connection, since it uses the Content-Length field to look up for
message boundaries over the TCP stream.
Change-Id: I26e444fe466b4742d74ef5a6e371ce8488a5afcf
---
M library/SIP_Templates.ttcn
1 file changed, 68 insertions(+), 17 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/14/36814/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36814?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I26e444fe466b4742d74ef5a6e371ce8488a5afcf
Gerrit-Change-Number: 36814
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: jolly, laforge, osmith, pespin.
Hello Jenkins Builder, jolly, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36759?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Code-Review+1 by laforge, Code-Review+1 by osmith, Verified+1 by Jenkins Builder
Change subject: asterisk: Initial IMS registration
......................................................................
asterisk: Initial IMS registration
This patch is a step towards testing IMS.
So far only the code infrstrastructure to handle the 1st REGISTER
(outside IPSEC) is provided. It can already be seen how Asterisk
sends the second REGISTER over IPSEC, but there's no means to test it
yet in TTCN-3. This will be done in a follow-up patch, which may take
some work.
Change-Id: Idb3b19ccd82cad25948106b2c72aa424d7f79cd8
---
M asterisk/Asterisk_Tests.ttcn
M asterisk/IMS_ConnectionHandler.ttcn
M library/SIP_Templates.ttcn
3 files changed, 432 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/59/36759/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36759?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Idb3b19ccd82cad25948106b2c72aa424d7f79cd8
Gerrit-Change-Number: 36759
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
osmith has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/36800?usp=email )
Change subject: debian/postinst: add checks, be verbose
......................................................................
debian/postinst: add checks, be verbose
Do not attempt to change permissions/ownership if the package gets
upgraded from a version higher than the next release.
Do not fail if the user deleted the config file.
Be verbose when changing permissions.
Related: OS#4107
Change-Id: I853097a13e27b2ebd0b940117c8f5f4b3ea49b9a
---
M debian/osmo-stp.postinst
1 file changed, 31 insertions(+), 6 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
diff --git a/debian/osmo-stp.postinst b/debian/osmo-stp.postinst
index bfcc1dc..3dbfd43 100755
--- a/debian/osmo-stp.postinst
+++ b/debian/osmo-stp.postinst
@@ -16,12 +16,20 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo-stp.cfg
- chmod 0660 /etc/osmocom/osmo-stp.cfg
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
- mkdir -p /var/lib/osmocom
- chown -R osmocom:osmocom /var/lib/osmocom
+ if dpkg --compare-versions "$2" le "1.9.0"; then
+ if [ -e /etc/osmocom/osmo-stp.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-stp.cfg
+ chmod -v 0660 /etc/osmocom/osmo-stp.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
;;
esac
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/36800?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I853097a13e27b2ebd0b940117c8f5f4b3ea49b9a
Gerrit-Change-Number: 36800
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/36807?usp=email )
Change subject: debian/postinst: add checks, be verbose
......................................................................
debian/postinst: add checks, be verbose
Do not attempt to change permissions/ownership if the package gets
upgraded from a version higher than the next release.
Do not fail if the user deleted the config file.
Be verbose when changing permissions.
Related: OS#4107
Change-Id: I2b01a7625cf66fbb7d203f939ddcc1cbab43cf33
---
M debian/postinst
1 file changed, 31 insertions(+), 6 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/debian/postinst b/debian/postinst
index 80821c4..46cd851 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,12 +16,20 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo-msc.cfg
- chmod 0660 /etc/osmocom/osmo-msc.cfg
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
- mkdir -p /var/lib/osmocom
- chown -R osmocom:osmocom /var/lib/osmocom
+ if dpkg --compare-versions "$2" le "1.12.0"; then
+ if [ -e /etc/osmocom/osmo-msc.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-msc.cfg
+ chmod -v 0660 /etc/osmocom/osmo-msc.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
;;
esac
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/36807?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I2b01a7625cf66fbb7d203f939ddcc1cbab43cf33
Gerrit-Change-Number: 36807
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-smlc/+/36810?usp=email )
Change subject: debian/postinst: add checks, be verbose
......................................................................
debian/postinst: add checks, be verbose
Do not attempt to change permissions/ownership if the package gets
upgraded from a version higher than the next release.
Do not fail if the user deleted the config file.
Be verbose when changing permissions.
Related: OS#4107
Change-Id: I8994759df644d6edd8f937051b95690537b749be
---
M debian/postinst
1 file changed, 31 insertions(+), 6 deletions(-)
Approvals:
pespin: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/debian/postinst b/debian/postinst
index faecd26..6c99b1f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,12 +16,20 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo-smlc.cfg
- chmod 0660 /etc/osmocom/osmo-smlc.cfg
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
- mkdir -p /var/lib/osmocom
- chown -R osmocom:osmocom /var/lib/osmocom
+ if dpkg --compare-versions "$2" le "0.3.0"; then
+ if [ -e /etc/osmocom/osmo-smlc.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-smlc.cfg
+ chmod -v 0660 /etc/osmocom/osmo-smlc.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
;;
esac
--
To view, visit https://gerrit.osmocom.org/c/osmo-smlc/+/36810?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-smlc
Gerrit-Branch: master
Gerrit-Change-Id: I8994759df644d6edd8f937051b95690537b749be
Gerrit-Change-Number: 36810
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/36804?usp=email )
Change subject: debian/postinst: add checks, be verbose
......................................................................
debian/postinst: add checks, be verbose
Do not attempt to change permissions/ownership if the package gets
upgraded from a version higher than the next release.
Do not fail if the user deleted the config file.
Be verbose when changing permissions.
Related: OS#4107
Change-Id: I1bcbe414fd18101e4d875a16539deab7baf9cb5f
---
M debian/postinst
1 file changed, 31 insertions(+), 6 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/debian/postinst b/debian/postinst
index 5dedec4..34fb79d 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -21,12 +21,20 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo-hlr.cfg
- chmod 0660 /etc/osmocom/osmo-hlr.cfg
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
- mkdir -p /var/lib/osmocom
- chown -R osmocom:osmocom /var/lib/osmocom
+ if dpkg --compare-versions "$2" le "1.8.0"; then
+ if [ -e /etc/osmocom/osmo-hlr.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-hlr.cfg
+ chmod -v 0660 /etc/osmocom/osmo-hlr.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
;;
esac
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/36804?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I1bcbe414fd18101e4d875a16539deab7baf9cb5f
Gerrit-Change-Number: 36804
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: fixeria, pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30131?usp=email )
Change subject: contrib/systemd: run as osmocom user
......................................................................
Patch Set 4:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30131?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I3e0e5978992dac0a0c76c6f0e859576aa3eb72eb
Gerrit-Change-Number: 30131
Gerrit-PatchSet: 4
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 10:52:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email )
Change subject: contrib/systemd: run as osmocom user
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File contrib/systemd/osmo-pcu.service:
https://gerrit.osmocom.org/c/osmo-pcu/+/36828/comment/aff5a129_05a7e8e7
PS1, Line 17: CPUSchedulingPolicy=rr
> Are you sure this is going to work when running as non-root? I am running all Osmocom services as a […]
Oh, I see your explanation in the COMMIT_MSG now. Nevermind :D
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I362a9e55309033c42b16f12321f8d1aa27da7b59
Gerrit-Change-Number: 36828
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 09:35:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email )
Change subject: contrib/systemd: run as osmocom user
......................................................................
Patch Set 1:
(1 comment)
File contrib/systemd/osmo-pcu.service:
https://gerrit.osmocom.org/c/osmo-pcu/+/36828/comment/89048e8d_7fc16586
PS1, Line 17: CPUSchedulingPolicy=rr
Are you sure this is going to work when running as non-root? I am running all Osmocom services as a regular user on my system, and AFAIR I had to create the following file:
```
$ cat /etc/security/limits.d/osmocom.conf
@osmocom - rtprio 99
```
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I362a9e55309033c42b16f12321f8d1aa27da7b59
Gerrit-Change-Number: 36828
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 09:33:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: lynxis lazus, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email )
Change subject: sgsn: reset encryption in SGSN_Tests_Iu.f_vty_config()
......................................................................
Patch Set 1:
(1 comment)
File sgsn/SGSN_Tests_Iu.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825/comment/190c1fee_4df5…
PS1, Line 19: f_vty_config(SGSNVTY, "sgsn", "encryption uea 0");
> I would also prefer using encryption by default in our test cases. […]
Feel free to submit a separate patch enabling the encryption by default, it would only be a matter of changing one line thanks to this patch. As I said, I am just moving stuff to the common init function and not changing the default UEA configuration here. Marking this thread as resolved.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic2c5a11e86e4349796fa7508076ac27ef22815cd
Gerrit-Change-Number: 36825
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 15 May 2024 09:28:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: comment
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/30133?usp=email )
Change subject: contrib/systemd: run as osmocom user
......................................................................
Patch Set 3:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/30133?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I37be0dd4df012047a495235195912bd06ad2423d
Gerrit-Change-Number: 30133
Gerrit-PatchSet: 3
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 09:11:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: fixeria, pespin.
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email )
Change subject: sgsn: reset encryption in SGSN_Tests_Iu.f_vty_config()
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File sgsn/SGSN_Tests_Iu.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825/comment/ca0f594e_6cfb…
PS1, Line 19: f_vty_config(SGSNVTY, "sgsn", "encryption uea 0");
> Whether we want to run all tests with encryption or not is a separate question. […]
I would also prefer using encryption by default in our test cases.
For Iu it shouldn't matter as much, because encryption is done by the hnodeb.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic2c5a11e86e4349796fa7508076ac27ef22815cd
Gerrit-Change-Number: 36825
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 08:32:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email )
The change is no longer submittable: Code-Review is unsatisfied now.
Change subject: sgsn: reset encryption in SGSN_Tests_Iu.f_vty_config()
......................................................................
Patch Set 1: -Code-Review
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36825?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic2c5a11e86e4349796fa7508076ac27ef22815cd
Gerrit-Change-Number: 36825
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 08:27:31 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email )
Change subject: contrib/systemd: run as osmocom user
......................................................................
contrib/systemd: run as osmocom user
I have verified that with AmbientCapabilities=CAP_SYS_NICE, setting
scheduling policy as described in the manual still works as expected.
Related: OS#4107
Change-Id: I362a9e55309033c42b16f12321f8d1aa27da7b59
---
M contrib/systemd/osmo-pcu.service
A debian/postinst
2 files changed, 55 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/28/36828/1
diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 521f6fc..8c0fd69 100644
--- a/contrib/systemd/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service
@@ -9,7 +9,10 @@
StateDirectory=osmocom
WorkingDirectory=%S/osmocom
Restart=always
+User=osmocom
+Group=osmocom
RestartSec=2
+AmbientCapabilities=CAP_SYS_NICE
# CPU scheduling policy:
CPUSchedulingPolicy=rr
# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
diff --git a/debian/postinst b/debian/postinst
new file mode 100755
index 0000000..cfd72a2
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,39 @@
+#!/bin/sh -e
+case "$1" in
+ configure)
+ # Create the osmocom group and user (if it doesn't exist yet)
+ if ! getent group osmocom >/dev/null; then
+ groupadd --system osmocom
+ fi
+ if ! getent passwd osmocom >/dev/null; then
+ useradd \
+ --system \
+ --gid osmocom \
+ --home-dir /var/lib/osmocom \
+ --shell /sbin/nologin \
+ --comment "Open Source Mobile Communications" \
+ osmocom
+ fi
+
+ # Fix permissions of previous (root-owned) install (OS#4107)
+ if dpkg --compare-versions "$2" le "1.5.0"; then
+ if [ -e /etc/osmocom/osmo-pcu.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-pcu.cfg
+ chmod -v 0660 /etc/osmocom/osmo-pcu.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
+ ;;
+esac
+
+# dh_installdeb(1) will replace this with shell code automatically
+# generated by other debhelper scripts.
+#DEBHELPER#
+
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/36828?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I362a9e55309033c42b16f12321f8d1aa27da7b59
Gerrit-Change-Number: 36828
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: lynxis lazus.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36783?usp=email )
Change subject: docs: add basic manual of the osmo-epdg
......................................................................
Patch Set 7:
(1 comment)
File docs/manuals/chapters/epcrequirements.adoc:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36783/comment/c619ddaa_f410…
PS7, Line 1: [[epcrequirements]]
This file does not get included, and gets deleted in the next commit?
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36783?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I596b6a351b7356aefa7e69f95521bc4012b9264b
Gerrit-Change-Number: 36783
Gerrit-PatchSet: 7
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 15 May 2024 07:36:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36793?usp=email )
Change subject: SIP_Templates: Allow passing 'Allow' field
......................................................................
Patch Set 1:
(1 comment)
File library/SIP_Templates.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36793/comment/4d8c1849_78c5…
PS1, Line 78: function tr_AllowMethods(template Method_List allow_methods) return template Allow {
this is now unused, even in https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36759/4. is it worth keeping?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36793?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I10dd36d8c0ef8dbcbb58016c9684d877a0455b03
Gerrit-Change-Number: 36793
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 15 May 2024 07:01:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/36811?usp=email )
Change subject: debian/postinst: add checks, be verbose
......................................................................
debian/postinst: add checks, be verbose
Do not attempt to change permissions/ownership if the package gets
upgraded from a version higher than the next release.
Do not fail if the user deleted the config file.
Be verbose when changing permissions.
Related: OS#4107
Change-Id: I8994759df644d6edd8f937051b95690537b749be
---
M debian/postinst
1 file changed, 31 insertions(+), 6 deletions(-)
Approvals:
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/debian/postinst b/debian/postinst
index 4310e7e..3298043 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,12 +16,20 @@
fi
# Fix permissions of previous (root-owned) install (OS#4107)
- chown osmocom:osmocom /etc/osmocom/osmo-upf.cfg
- chmod 0660 /etc/osmocom/osmo-upf.cfg
- chown root:osmocom /etc/osmocom
- chmod 2775 /etc/osmocom
- mkdir -p /var/lib/osmocom
- chown -R osmocom:osmocom /var/lib/osmocom
+ if dpkg --compare-versions "$2" le "0.2.0"; then
+ if [ -e /etc/osmocom/osmo-upf.cfg ]; then
+ chown -v osmocom:osmocom /etc/osmocom/osmo-upf.cfg
+ chmod -v 0660 /etc/osmocom/osmo-upf.cfg
+ fi
+
+ if [ -d /etc/osmocom ]; then
+ chown -v root:osmocom /etc/osmocom
+ chmod -v 2775 /etc/osmocom
+ fi
+
+ mkdir -p /var/lib/osmocom
+ chown -R -v osmocom:osmocom /var/lib/osmocom
+ fi
;;
esac
--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/36811?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I8994759df644d6edd8f937051b95690537b749be
Gerrit-Change-Number: 36811
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged