Comments (3)
You made a good point!
Basically, I didn't test installations with root privileges and running with user privileges. And also, I realized that It should be considered because binary distribution like debian packaging is goes on in different privileges.
Yes, our logger thread cannot be properly working in this setup as you described. So I have no objection to use logrotate
in Linux/FreeBSD. For MacOSX, newsyslog
will be used.
I'll start this work from this week to solve this problem for accelerating debian package project in r0.2 branch. Of course, I'll try to solve Issue #4 at the same time.
from open5gs.
I've updated r0.2 for supporting logrotate
. Now, 'sudo make install' and './nextepc-epcd' is properly working.
There are two things that is different from other open sources. Mostly, the followings are for developer. Let me know if it could be a problem to the end-user.
221 systemd_unit_dir="${sysconfdir}/systemd/system/"
...
224 logrotate_conf_dir="${sysconfdir}/logrotate.d/"
I used ${sysconfdir}
instead of /etc
to permit developer to install nextepc
with the user-privilege.
7 create 640 @current_user@ @current_group@
So, if user installs this package with sudo make install
, the above value is set to current user and group. For example, support/logrotate/nextepc
file is generated as follows.
7 create 640 acetcom acetcom
I know most open source project generally uses specific user. In our case, it will be a 'nextepc:nextepc'. Yeah!... It could be changed with ./configure --enable_user=acetcom --enable-group=acetcom. However, in my case, I'd just like to use ./configure --prefix=`pwd`/install without any other options.
I'm not sure what is good for us. Just it's my first trial.
Feel free to raise any suggestions.
from open5gs.
Please, forget about the previous message. I think that above two things are not good for us. In debian package, I made a nextepc
user for systemd to execute nextepc's daemon. All things follow the method which is widely used in other open sources .
BTW, I've initially uploaded debian package using LaunchPad PPA
. Currently, I've tested only in Ubuntu 16.04 LTS.
sudo add-apt-repository ppa:acetcom/nextepc
sudo apt-get update
sudo apt-get install nextepc
Thank you for your contribution related to debian package.
from open5gs.
Related Issues (20)
- 5G Roaming SEPP N32-C and N32-F on separate interfaces
- 5G Roaming AMF support more than one TAI? HOT 4
- NAS is forcibly encrypted though NEA = NULL HOT 1
- ogs_gtp_xact_update_tx() failed HOT 7
- How to specify the remote SEPP's public key in local config file's 'sepp' section?
- [Bug]: IMS register fail for interface error between PCRF and PCSCF when PCSCF try to send SendAAAMessage
- Error building v2.6.4 with LLVM for fuzzing: FAILED: subprojects/freeDiameter/libfdcore/2059059@@fdcore@sta/sctp.c.o
- [Bug]:
- Multi UPF deployment with single SMF...No [nsmf-pdusession]
- Manual Scalability in Open5Gs
- Multi-PLMN network with two-UPFs
- !
- 5G roaming using two physical 5G SA networks?
- when im trying this command after configuring the files as shown in the installation docs im getting this error, how do i solve this?
- Issue with Open5gs 2.7.1 Version for Attach for Second attempt
- could not resolve hostname: "applicationserver.ims.mnc001.mcc001.3gppnetwork.org"
- NRF defaultNotificationSubscriptions missing when the requested profile sent by NRF
- [Bug]: nrf will crash in some cases, irregularly. If gdb is used on nrf, it is easier to reproduce this problem HOT 2
- [Bug]: UEContextReleaseCommand cause on UE inactivity to allow Samsung UE to transition to low power state when inactive HOT 2
- UDM not properly filling PLMN on the request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open5gs.