If we want to use journalctl instead of dlogutil, these is an issue about journalctl root access on running the command "sdb dlog".
The following is the info I checked on IVI device. # ls -l /bin/journalctl -rwxr-xr-x 1 root root 266020 Apr 24 12:31 /bin/journalctl # ls -l /bin/dlogutil -rwxr-xr-x 1 root app_logging 26648 Apr 29 04:24 /bin/dlogutil "sdb dlog" calls "sdb shell dlogutil" currently, it can be run as a 'developer' account. But running "sdb shell journalctl -af" needs root access. Of cause, we can use "sdb root on && sdb shell journalctl -af". But I think this operation is more appropriate to be done as a 'developer' account. journalctl maintainers, how do you think about it? If you agree my opinion, could you change the access of journalctl ? Thanks. Best regards, Dongxing -----Original Message----- From: Dev [mailto:[email protected]] On Behalf Of Marcin Niesluchowski Sent: Friday, June 06, 2014 1:04 AM To: Ylinen, Mikko; [email protected] Subject: Re: [Dev] [dlog] Log to systemd journal On 2014-06-05 at 12:52:38, Ylinen, Mikko wrote: > > You listed those four components. Are they all _readers_ of /dev/log_*? > If You mean repositories below (with links to files in gerrit), then they all use dlogutil. -> platform/core/telephony/telephony-daemon [1] -> platform/core/uifw/dali-adaptor [2] sdk/ide/common-eplugin [3] -> platform/core/system/sdbd [4] As for telephony-daemon it is clear how dlogutil is used then for other packages I did not investigate its usage. Although I doubt that this functionalities cannot be provided using systemd journal (journalctl). Therefore I would like to ask maintainers of those repositories to switch to journalctl or just remove dlogutil if not needed. Links ===== [1] https://review.tizen.org/gerrit/gitweb?p=platform/core/telephony/telephony-daemon.git;a=blob;f=resource/etc/rc.d/init.d/telephony-daemon;hb=refs/heads/tizen [2] https://review.tizen.org/gerrit/gitweb?p=platform/core/uifw/dali-adaptor.git;a=blob;f=adaptors/tizen/scripts/dalireslog.sh;hb=HEAD [3] https://review.tizen.org/gerrit/gitweb?p=sdk/ide/common-eplugin.git;a=blob;f=org.tizen.common/src/org/tizen/common/core/command/sdb/DlogSdbCommand.java;hb=refs/heads/tizen [4] https://review.tizen.org/gerrit/gitweb?p=platform/core/system/sdbd.git;a=blob;f=src/commandline.c;hb=refs/heads/tizen _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
