Re: [systemd-devel] Grouping services in systemd..

2020-06-09 Thread Umut Tezduyar Lindskog
We had a similar problem and we solved it by using grouping for critical services and then using startup cpu shares for services that should be responsive within that group. Even if you use startup cpu shares and create a target for everything you would want to boot, some unnecessary services

Re: [systemd-devel] is the watchdog useful?

2019-10-22 Thread Umut Tezduyar Lindskog
I am curious Zbigniew of how you find out if the coredump was on a starved process? This is common for our embedded devices. I didn't think it is common for desktop too. It is really useful for getting coredumps on deadlocked applications. For that reason I don't think it is good to remove this

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-03-21 Thread Umut Tezduyar Lindskog
Back then, this is something we have tried and it works. Not with bind mount though. We also have SD-card as primary storage. As soon as the storage service mounted the SD-Card, we have created a symbolink link under /var/log to the persistent and triggered journald flush. It worked just fine! On

Re: [systemd-devel] what does it mean to have exit-code of 251

2019-03-04 Thread Umut Tezduyar Lindskog
You need to do some bit analysis - https://shapeshed.com/unix-exit-codes/ On Mon, Mar 4, 2019 at 12:29 PM prashantkumar dhotre wrote: > > Hi, > > In my journal log, I see ; > > 1199473 Mar 01 15:46:03 evo-qfx-01 systemd[1]: ifmand.service: Main process > exited, code=exited, status=251/n/a > >

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-12 Thread Umut Tezduyar Lindskog
Also checkout systemd generators (https://www.freedesktop.org/software/systemd/man/systemd.generator.html). A generator can overlay the /etc and generators should run before systemd starts scanning the unit files. Umut On Mon, Feb 11, 2019 at 10:07 PM Matt Schuckmann wrote: > > Thank you all

Re: [systemd-devel] journald cves on 239

2019-01-24 Thread Umut Tezduyar Lindskog
Thanks to you all. I wasn't aware of the stable branches. Nice to see them. On Thu, Jan 24, 2019 at 4:06 PM Mike Gilbert wrote: > > On Thu, Jan 24, 2019 at 9:34 AM Umut Tezduyar Lindskog > wrote: > > > > Hello, > > > > We are on systemd 239 and we would like to

[systemd-devel] journald cves on 239

2019-01-24 Thread Umut Tezduyar Lindskog
Hello, We are on systemd 239 and we would like to patch following CVEs without jumping to 240. CVE-2018-16864 CVE-2018-16865 CVE-2018-16866 Can someone please help us out and point the commits that we need to back-port since 239 was tagged? Thanks Umut

Re: [systemd-devel] clang-format: auto-formatting the code base of systemd

2019-01-08 Thread Umut Tezduyar Lindskog
On Sun, Jan 6, 2019 at 5:52 PM Lennart Poettering wrote: > > On Fr, 04.01.19 14:23, Sebastian Jennen (sebastian.jen...@gmx.de) wrote: > > > Hello systemd team, > > > > there is a pull request currently on systemd, which adds a .clang-format > > support, which you can find here: > >

[systemd-devel] Statistics collection

2018-12-13 Thread Umut Tezduyar Lindskog
Hello, Do you know any statistics collection application for embedded environment that has fairly working systemd and journald plugins. There are few I can find but surprisingly none of them have deep systemd support. Thanks Umut ___ systemd-devel

Re: [systemd-devel] systemd-timedated doesn't return available time zones

2018-11-20 Thread Umut Tezduyar Lindskog
Thanks. We will prepare a patch. Umut On 2018-11-20, 15:51, "systemd-devel on behalf of Lennart Poettering" wrote: On Di, 20.11.18 12:50, Christopher Wong (christopher.w...@axis.com) wrote: > ?Hi guys, > > > We plan to place an abstraction service over

[systemd-devel] MemoryCurrent property of the root slice is off

2018-10-29 Thread Umut Tezduyar Lindskog
Hey, How come the root slice's memory accounting is not matching (or close to) with what I see in the /sys/fs? Do we do some other special accounting? systemctl 239 (default-hierarchy=hybrid) a@b:memory$ pwd /sys/fs/cgroup/memory a@b:memory$ systemctl show -p MemoryCurrent -- -.slice

[systemd-devel] PrivateDevices= together with DevicePolicy=

2018-08-21 Thread Umut Tezduyar Lindskog
Hi, I am turning on PrivateDevices and as a result getting a minimal /dev tree for my service. Then I would like to add some selected devices with DevicePolicy=auto & DeviceAllow=/dev/cam0. As a result, I don't see the device /dev/cam0 in the /dev tree and since the mount space is RO, I cannot

Re: [systemd-devel] Async server with sd-bus

2018-05-21 Thread Umut Tezduyar Lindskog
Hello, On Mon, May 21, 2018 at 8:37 AM, Stanislav Angelovič wrote: > Hi folks, > > Suppose we have a server whose methods may take relatively long time and I > would like to process them asynchronously within the server, so while a > client is waiting for reply to his

Re: [systemd-devel] [ANNOUNCE] systemd v238

2018-03-08 Thread Umut Tezduyar Lindskog
Hello Zbigniew, On Mon, Mar 5, 2018 at 11:37 PM, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > systemd-238 has been tagged. > > https://github.com/systemd/systemd/archive/v238/systemd-238.tar.gz > > CHANGES WITH 238: > > * The MemoryAccounting= unit property now

Re: [systemd-devel] custom var in sd_notify

2018-03-01 Thread Umut Tezduyar Lindskog
On Wed, Feb 28, 2018 at 7:04 PM, Lennart Poettering wrote: > On Mo, 26.02.18 08:09, Mantas Mikulėnas (graw...@gmail.com) wrote: > >> > Daemons can choose to send additional variables. However, it is recommended >> > to prefix variable names not listed above with X_. >> >

Re: [systemd-devel] How does hybrid cgroup setup work?

2017-11-12 Thread Umut Tezduyar Lindskog
On Fri, Nov 10, 2017 at 12:16 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Fr, 10.11.17 11:11, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > >> On Wed, Nov 8, 2017 at 9:25 PM, Lennart Poettering >> <lenn...@poettering.net> wrote: >> &g

Re: [systemd-devel] How does hybrid cgroup setup work?

2017-11-10 Thread Umut Tezduyar Lindskog
On Wed, Nov 8, 2017 at 9:25 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Sa, 28.10.17 22:01, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > >> Hello, >> >> I am trying to have cpu controller on v1 and memory controller on >> unified but it i

[systemd-devel] How does hybrid cgroup setup work?

2017-10-28 Thread Umut Tezduyar Lindskog
Hello, I am trying to have cpu controller on v1 and memory controller on unified but it is not working the way I am expecting. When I enable CONFIG_MEMCG, cgroup is popping up in /proc/cgroups and mount_cgroup_controllers() is mounting it very early. Once it is mounted in v1, it becomes

Re: [systemd-devel] delayed reply to sd-bus method invocation

2017-07-03 Thread Umut Tezduyar Lindskog
Hello Jason, Just wanted to remind you that clients set a timeout for the method reply. Don't remember off the top of my head but different implementations have different default timeouts. Consider this when delaying the reply. Umut On Mon, Jul 3, 2017 at 10:36 AM Lennart Poettering

[systemd-devel] Does systemd-stdio-bridge handle dbus UNIX_FD passing somehow?

2017-06-27 Thread Umut Tezduyar Lindskog
Hello, I would like to make a method call on a remote machine with busctl where the method returns UNIX_FD (h), type unix domain socket. I am guessing the FD stops on stdio-bridge without any other magic bridging the UDS to an another socket on the host. Is that the case? Can there be any magic

[systemd-devel] 11 MB cost of DefaultMemoryAccounting=yes

2017-05-11 Thread Umut Tezduyar Lindskog
Hello, Even though this is not a systemd problem, I believe systemd mailing list is a good place to discuss. Our kernel has CONFIG_MEMCG enabled. As soon as we set DefaultMemoryAccounting=yes, our system wide memory usage increased 11 MB. The increase is mostly on kmalloc-* slab memory with the

Re: [systemd-devel] getting systemd 232 ready

2016-10-21 Thread Umut Tezduyar Lindskog
On Fri, Oct 21, 2016 at 7:00 PM, Martin Pitt wrote: > Hello Zbigniew, Lennart, all, > > Zbigniew Jędrzejewski-Szmek [2016-10-20 4:00 +]: >> Open bugs with v232 milestone [1]: >> [2] >>

Re: [systemd-devel] why do we have aliases fro timedated, resolved, networkd, and what are they good for?

2016-09-11 Thread Umut Tezduyar Lindskog
Hi Michael, On Sat, Sep 10, 2016 at 1:00 AM, Michael Biebl wrote: > Hi > > I wonder why we have the following aliases/symlinks > > dbus-org.freedesktop.hostname1.service -> systemd-hostnamed.service > dbus-org.freedesktop.import1.service -> systemd-importd.service >

Re: [systemd-devel] why are the systemd binaries so huge and can we do something about that?

2016-05-16 Thread Umut Tezduyar Lindskog
On Mon, May 16, 2016 at 11:06 AM, Martin Pitt wrote: > Michael Biebl [2016-05-16 4:24 +0200]: >> Any ideas, why simple tools like loginctl, busctl, hostnamectl require 300K+ >> ? >> Could we move more common functionality into a shared, private library >> to counter the

Re: [systemd-devel] Support for large applications

2016-02-23 Thread Umut Tezduyar Lindskog
On Wed, Feb 17, 2016 at 1:35 PM, Avi Kivity wrote: > We are using systemd to supervise our NoSQL database and are generally > happy. > > A few things will help even more: > > 1. log core dumps immediately rather than after the dump completes > > A database will often consume

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-23 Thread Umut Tezduyar Lindskog
On Mon, Feb 22, 2016 at 8:51 PM, Martin Townsend wrote: > Hi, > > Thanks for your reply. I wouldn't really call this system stripped down, it > has an nginx webserver, DHCP server, postgresql-server, sftp server, a few > mono (C#) daemons running, loads quite a few

Re: [systemd-devel] Moving systemd-bootchart to a standalone repository

2016-02-17 Thread Umut Tezduyar Lindskog
Hi, src/shared & src/basic have very useful code that upstream have been static linking to most binaries. My understanding is that we haven’t been feeling comfortable about the API to make these paths a standalone library (or include them in libsystemd). Now that we started duplicating the

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-15 Thread Umut Tezduyar Lindskog
Hi, On Fri, Feb 12, 2016 at 10:36 PM, Lennart Poettering wrote: > On Fri, 12.02.16 23:12, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: > >> 12.02.2016 22:57, Lennart Poettering пишет: >> > On Fri, 12.02.16 22:28, Mikhail Kasimov (mikhail.kasi...@gmail.com) wrote: >>

Re: [systemd-devel] [ANNOUNCE] systemd v228

2015-11-19 Thread Umut Tezduyar Lindskog
I think so :) Better than giving wrong information. On Thu, Nov 19, 2015 at 11:30 AM, Michael Biebl <mbi...@gmail.com> wrote: > 2015-11-19 11:17 GMT+01:00 Umut Tezduyar Lindskog <u...@tezduyar.com>: >> On Wed, Nov 18, 2015 at 10:13 AM, David Herrmann <dh.herrm

Re: [systemd-devel] [ANNOUNCE] systemd v228

2015-11-19 Thread Umut Tezduyar Lindskog
On Wed, Nov 18, 2015 at 10:13 AM, David Herrmann wrote: > Hey! > > We just tagged a new release, slightly delayed due to the conference. > It includes several new features, some old cruft removed, and many > bugfixes! > > CHANGES WITH 228: > > * A number of

[systemd-devel] public bus_event_loop_with_idle function

2015-11-18 Thread Umut Tezduyar Lindskog
Hey, bus_event_loop_with_idle seems very useful function in terms of shutting down services race free and it is both for kdbus/dbus-daemon. Any plans making it public? Umut ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Keeping track of usage time

2015-11-03 Thread Umut Tezduyar Lindskog
On Tue, Nov 3, 2015 at 1:20 PM, Dimitri John Ledkov <dimitri.j.led...@intel.com> wrote: > On 3 November 2015 at 06:27, Umut Tezduyar Lindskog <u...@tezduyar.com> wrote: >> journalctl --list-boots seems great actually but wouldn't work for us. >> We cannot keep l

Re: [systemd-devel] "File exists warning" on first boot

2015-11-03 Thread Umut Tezduyar Lindskog
This is due to both services (getty@tty1.service and remote-fs.target) having [Install] section. I do not know why these services are not shipped without the [Install] section like the rest of the other systemd services. Umut On Tue, Sep 8, 2015 at 10:36 AM, Johan x Lundin

[systemd-devel] Keeping track of usage time

2015-11-02 Thread Umut Tezduyar Lindskog
Hi, We would like to implement a feature to keep track of accumulated values of uptimes in our products. Tracked time will give us the total usage time of our product not just since last reboot (/proc/uptime). Is upstream interested in having such implementation? Umut

Re: [systemd-devel] Keeping track of usage time

2015-11-02 Thread Umut Tezduyar Lindskog
to a file and the file gets preserved over reboot. Umut On Mon, Nov 2, 2015 at 7:00 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Mon, 02.11.15 15:46, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > >> Hi, >> >> We would like to implement a featur

Re: [systemd-devel] systemd.conf 2015 Announcement and CfP

2015-07-30 Thread Umut Tezduyar Lindskog
Fantastic! Tried to purchase a ticket but seems like PayPal is the only supported payment. Is this a glitch? Umut On Wed, Jul 29, 2015 at 5:55 PM, Lennart Poettering lenn...@poettering.net wrote: Heya! The first systemd conference, systemd.conf, will take place on November 5th-7th, 2015 at

Re: [systemd-devel] Minimum required gcc version?

2015-07-08 Thread Umut Tezduyar Lindskog
For the reference, this problem is tracked @ https://github.com/systemd/systemd/issues/406 On Thu, Jun 18, 2015 at 5:34 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 18.06.15 17:33, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Thu, Jun 18, 2015 at 03:20:04PM +0200,

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Umut Tezduyar Lindskog
You can use PID 1's DBUS API - http://www.freedesktop.org/wiki/Software/systemd/dbus/. Particularly you should be interested in NJobs and Progress property. Since it is too late to wait for DBus to come up you need to connect to systemd directly (instead of going through dbus-daemon). The socket

Re: [systemd-devel] Getting boot progress and messages

2015-06-24 Thread Umut Tezduyar Lindskog
On Wed, Jun 24, 2015 at 11:53 AM, Daniel Mack dan...@zonque.org wrote: On 06/24/2015 11:30 AM, Umut Tezduyar Lindskog wrote: IMPORTANT: Man page says This interface is private to systemd and should not be used in external projects. for /run/systemd/private. I am not sure if this is still

[systemd-devel] feedback on sd-bus

2015-06-23 Thread Umut Tezduyar Lindskog
Hi, We recently have reimplemented a central component of our software stack with sd-bus and the results are very satisfactory. Though, we have some feedback to discuss. The reimplemented component is a glib based application. For this reason, we have integrated GMain with sd-event (using Tom's

[systemd-devel] sd-bus vs glib object path node hierarchy

2015-06-16 Thread Umut Tezduyar Lindskog
Hi, I have noticed that glib vs sd-bus have different hierarchy in terms of how objects are stacked. I don't have any argument why one or the other one would be better but I was wondering what the reason for this difference. /com/a/b registered with sd_bus_add_object_vtable Introspection:

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Umut Tezduyar Lindskog
On Mon, Jun 1, 2015 at 8:12 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi As of today we've disabled git-push to fd.o. The official development git repository is now at github [1]. The old repository will still be back-synced, but we had to disable push-access to avoid getting

Re: [systemd-devel] Vendor default masked service

2015-06-01 Thread Umut Tezduyar Lindskog
On Thu, May 28, 2015 at 6:25 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 28.05.15 13:56, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Thu, May 28, 2015 at 1:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.05.15 13:05, Umut Tezduyar Lindskog (u

Re: [systemd-devel] systemctl as non-root

2015-05-29 Thread Umut Tezduyar Lindskog
On Fri, May 29, 2015 at 10:23 AM, Andrei Borzenkov arvidj...@gmail.com wrote: On Fri, May 29, 2015 at 11:05 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On May 28, 2015 2:28 PM, aaron_wri...@selinc.com wrote: I'm working on an embedded system, and I ran into a situation where a non

[systemd-devel] [PATCH] sd-bus: make sure type=error messages are also dumped

2015-05-29 Thread Umut Tezduyar Lindskog
--- src/libsystemd/sd-bus/sd-bus.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index edc27ae..a6096f9 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++

[systemd-devel] [PATCH] shared: do not include aux_h if it is off

2015-05-29 Thread Umut Tezduyar Lindskog
--- src/shared/random-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/random-util.c b/src/shared/random-util.c index 88f5182..b230044 100644 --- a/src/shared/random-util.c +++ b/src/shared/random-util.c @@ -23,7 +23,9 @@ #include sys/stat.h #include fcntl.h #include

Re: [systemd-devel] Vendor default masked service

2015-05-28 Thread Umut Tezduyar Lindskog
On Thu, May 28, 2015 at 1:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.05.15 13:05, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Tue, May 26, 2015 at 4:14 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.05.15 11:53, Umut Tezduyar Lindskog (u

Re: [systemd-devel] Vendor default masked service

2015-05-28 Thread Umut Tezduyar Lindskog
On Thu, May 28, 2015 at 2:15 PM, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: On 28 May 2015 at 12:56, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Thu, May 28, 2015 at 1:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.05.15 13:05, Umut Tezduyar Lindskog (u

[systemd-devel] regression: crashing journal due to watchdog

2015-05-27 Thread Umut Tezduyar Lindskog
Hi, The for (;;) loop in server_process_datagram might prevent journal from feeding the watchdog if there is always something to receive in the syslog socket. Potentially journald is restarted, applications stall if the syslog socket is staying full I thought about fixing it by checking the

Re: [systemd-devel] Vendor default masked service

2015-05-27 Thread Umut Tezduyar Lindskog
On Tue, May 26, 2015 at 4:14 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.05.15 11:53, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I was wondering if we have a way to provide vendor default masked service? Well, so far our thinking was that if the vendor wants

Re: [systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread Umut Tezduyar Lindskog
Hi Charles, We have done something similar to this with the cpu accounting. The option is --cpu=TYPE (There is also hidden key '%' on the tty output which toggles between different display modes). If this patch will be taken I think we should be consistent. Maybe something like --io=TYPE or

[systemd-devel] Vendor default masked service

2015-05-26 Thread Umut Tezduyar Lindskog
Hi, I was wondering if we have a way to provide vendor default masked service? Vendor default masked service has advantages like: - systemctl start won't work - dbus activation won't work It is common that an embedded system doesn't use packages, rather it ships everything in monolithic

[systemd-devel] [PATCH] nspawn: be verbose about interface names

2015-05-22 Thread Umut Tezduyar Lindskog
Allowed interface name is relatively small. Lets not make users go in to the source code to figure out what happened. --machine=debian-tree conflicts with --machine=debian-tree2 ex: Failed to add new veth \ interfaces (host0, vb-debian-tree): File exists --- src/nspawn/nspawn.c | 2 +-

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-20 Thread Umut Tezduyar Lindskog
On Mon, May 18, 2015 at 3:59 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device logic. I am at 219 + 628c89cc + 496068a8 + 5259bcf6 I have 2 mounts (one

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Umut Tezduyar Lindskog
On Mon, May 18, 2015 at 11:02 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 18.05.15 15:59, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device

Re: [systemd-devel] [PATCH v3] device: Fix overzealous unmounting of tentative device mounts

2015-05-19 Thread Umut Tezduyar Lindskog
On Tue, May 19, 2015 at 1:56 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 19.05.15 10:23, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, I have a better fix now. So the problem is that this tentative → dead transition only works if a device is referenced once, but

[systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Umut Tezduyar Lindskog
Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device logic. I am at 219 + 628c89cc + 496068a8 + 5259bcf6 I have 2 mounts (one is bind mount) on mapper device. /proc/self/mountinfo: 47 37 254:0 /

Re: [systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-05-01 Thread Umut Tezduyar Lindskog
On Thu, Apr 30, 2015 at 11:13 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi Simon, On Wed, Apr 29, 2015 at 5:34 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 29/04/15 15:08, Umut Tezduyar Lindskog wrote: We [1] have noticed that there could be up to %50 performance

Re: [systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-04-30 Thread Umut Tezduyar Lindskog
Hi Simon, On Wed, Apr 29, 2015 at 5:34 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 29/04/15 15:08, Umut Tezduyar Lindskog wrote: We [1] have noticed that there could be up to %50 performance gain on using sd-bus over gdbus on dbus-daemon. ... gdbus.c

Re: [systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-04-30 Thread Umut Tezduyar Lindskog
Hi Greg, On Wed, Apr 29, 2015 at 5:49 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Apr 29, 2015 at 04:08:50PM +0200, Umut Tezduyar Lindskog wrote: Hi, We [1] have noticed that there could be up to %50 performance gain on using sd-bus over gdbus on dbus-daemon. For this reason, we

[systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-04-29 Thread Umut Tezduyar Lindskog
Hi, We [1] have noticed that there could be up to %50 performance gain on using sd-bus over gdbus on dbus-daemon. For this reason, we have high interest in using sd-bus. What are the plans in terms of making sd-bus API public? Details of the test [2]: gdbus.c - g_dbus_proxy_new_for_bus_sync()

[systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

2015-04-23 Thread Umut Tezduyar Lindskog
It is not uncommon that file systems have the same volume label, especially on flash drives. disk/by-label udev rule in 60-persistent-storage.rules generates a symb link to the device. 2 devices might have the same label link if they have same label. After 628c89cc, this becomes very visible with

Re: [systemd-devel] [RFC] core: introduce ExitOnIdle= and ExitOnIdleSec=

2015-04-21 Thread Umut Tezduyar Lindskog
My two cents is feature can be implemented as long as we get support from the application. For example sd-event has the builtin support to quit when it is idle. Systemd can pass the exit-on-idle timeout to the application via env variables so the event loop can configure itself to quit. I am not

[systemd-devel] bootloader time on a non-EFI bootloader

2015-03-16 Thread Umut Tezduyar Lindskog
Hi, I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI bootloader? Or is there an another way? Umut ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] journald on embedded systems

2015-03-13 Thread Umut Tezduyar Lindskog
Getting inspiration from what you are proposing, you can already forward messages to a datagram socket (syslog). You could implement a program to empty out the datagram socket and only write the messages you want. Syslog format doesnt know anything about FIELD though. One down side of this

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
this problem too. Thanks! On Thu, Mar 12, 2015 at 8:27 AM, Jeff Waugh j...@bethesignal.org wrote: On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: What does this fix Jeff, could you please explain? Here's the relevant part of a pkg-config file produced during

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
What does this fix Jeff, could you please explain? On Tue, Mar 10, 2015 at 7:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and possibly other use cases).

[systemd-devel] [PATCH] cgtop: fix assert when not on tty

2015-03-11 Thread Umut Tezduyar Lindskog
systemd-cgtop --dept=1 -b -n 10 -d 0.1 | cat Assertion 'new_length = 3' failed at src/shared/util.c:3 \ 595, function ellipsize_mem(). Aborting. Aborted (core dumped) --- src/cgtop/cgtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c

Re: [systemd-devel] Cleaning up transient scopes

2015-03-05 Thread Umut Tezduyar Lindskog
On Thu, Mar 5, 2015 at 12:00 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 04.03.15 18:51, Alexander Larsson (al...@redhat.com) wrote: If i run a transient scope on the user systemd instance like: $ systemd-run --user --scope true Then the scope seems to live past the end of

[systemd-devel] how to nest slices under system.slice

2015-03-05 Thread Umut Tezduyar Lindskog
Hi, How do I add a slice that is inside the system.slice? Following slice gets nested to -.slice where I want to nest it inside system.slice (just like instantaneous service slices). hello.slice [Unit] Description=hello slice I tried following which produced the correct output with systemctl

Re: [systemd-devel] Service watchdog feature in state ACTIVATING ?

2015-03-02 Thread Umut Tezduyar Lindskog
Hi Marko, On Sunday, March 1, 2015, Hoyer, Marko (ADITG/SW2) mho...@de.adit-jv.com wrote: Hi, I ran into a use case where the activation phase of a service takes significantly longer than the desired watchdog period (Activating: 10-20secs, Watchdog: 1-5secs). I found out that the watchdog

[systemd-devel] [PATCH] core: downgrade unit type not supported message

2015-02-20 Thread Umut Tezduyar Lindskog
Otherwise every daemon reload prints out warnings like: systemd[1]: Unit type .busname is not supported on this system. systemd[1]: Unit type .swap is not supported on this system. --- src/core/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c

Re: [systemd-devel] [PATCH] journald: Introduce RFC 5424 syslog

2015-02-19 Thread Umut Tezduyar Lindskog
Hi Susant, On Thu, Feb 19, 2015 at 8:58 AM, Susant Sahani sus...@redhat.com wrote: This patch adds support for RFC 5424 syslog format to journald. Journald can now forward logs to a multicast UDP group. RFC 5424 format: PRIVERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID SP

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-19 Thread Umut Tezduyar Lindskog
For the reference, LTO doesn't work with systemd 218 on mips: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026326.html On Wed, Feb 18, 2015 at 7:45 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: LTO may be unreliable, does not work properly in several archs It may

[systemd-devel] [PATCHv3] sysctl: consider --prefix while parsing the files

2015-02-07 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. This also optimizes the startup tiny bit since we have udev rules running on network devices

Re: [systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-05 Thread Umut Tezduyar Lindskog
On Wed, Feb 4, 2015 at 4:55 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Feb 04, 2015 at 03:50:01PM +0100, Umut Tezduyar Lindskog wrote: not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even

[systemd-devel] [PATCH] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 34 ++ 1 file changed, 18

[systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 32 1 file changed, 16

Re: [systemd-devel] Support for staged startup

2015-01-30 Thread Umut Tezduyar Lindskog
Hi, What you have figured out is so far the only way if you want to have dynamic targets. If you do not use --no-block to start your second target, first target will never finish. Other caveat of your way is that systemd doesn't know about your final target until it receives systemctl start

Re: [systemd-devel] ConditionNeedsUpdate date comparison

2015-01-27 Thread Umut Tezduyar Lindskog
Hi, On Tue, Jan 27, 2015 at 1:35 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 26.01.15 14:00, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, condition_test_needs_update() wants the timestamp of /usr to be newer than what is being checked. Is there a reason why we

[systemd-devel] ConditionNeedsUpdate date comparison

2015-01-26 Thread Umut Tezduyar Lindskog
Hi, condition_test_needs_update() wants the timestamp of /usr to be newer than what is being checked. Is there a reason why we don't check for /usr != Condition.parameter? It makes sense to check for /usr Condition.parameter in a package managed linux but our embedded system is upgrading the

[systemd-devel] Fwd: [systemd-commits] Makefile.am src/bus-proxyd units/.gitignore units/systemd-bus-proxyd.service.m4.in units/systemd-bus-pro...@.service.m4.in units/systemd-bus-proxyd.socket units/

2015-01-17 Thread Umut Tezduyar Lindskog
Hi David, Have you done any experiment in terms of the number of connections can be made on 32 bit arch with bus proxy being multi-threaded instead of multi-processed? Umut -- Forwarded message -- From: David Herrmann dvd...@kemper.freedesktop.org Date: Sat, Jan 17, 2015 at

[systemd-devel] Relative links in tmpfiles.d/etc.conf

2015-01-03 Thread Umut Tezduyar Lindskog
Hi, Our /etc is a sym link and due to that all the links created by tmpfiles.d/etc.conf are wrong. Is there a reason why the links are relative? I would like to send a patch to either: a) Convert the relative links to absolute ones. b) Follow the sym link before creating the relative one. Umut

Re: [systemd-devel] forever loop during garbage collection

2014-12-29 Thread Umut Tezduyar Lindskog
Ping? On Wednesday, December 10, 2014, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Mon, Dec 8, 2014 at 8:09 PM, Lennart Poettering lenn...@poettering.net javascript:; wrote: On Sun, 30.11.14 14:38, Umut Tezduyar Lindskog (u...@tezduyar.com javascript:;) wrote: Hi, We

Re: [systemd-devel] Improving module loading

2014-12-20 Thread Umut Tezduyar Lindskog
On Sat, Dec 20, 2014 at 6:10 PM, Greg KH gre...@linuxfoundation.org wrote: On Sat, Dec 20, 2014 at 10:45:34AM +, Hoyer, Marko (ADITG/SW2) wrote: Hi, -Original Message- From: systemd-devel [mailto:systemd-devel- boun...@lists.freedesktop.org] On Behalf Of Umut Tezduyar Lindskog

Re: [systemd-devel] Improving module loading

2014-12-20 Thread Umut Tezduyar Lindskog
Hi Marko, Thank you very much for your feedback! On Sat, Dec 20, 2014 at 11:45 AM, Hoyer, Marko (ADITG/SW2) mho...@de.adit-jv.com wrote: Hi, -Original Message- From: systemd-devel [mailto:systemd-devel- boun...@lists.freedesktop.org] On Behalf Of Umut Tezduyar Lindskog Sent

[systemd-devel] [PATCH] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
--- Makefile-man.am | 9 ++--- Makefile.am | 2 ++ configure.ac| 6 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile-man.am b/Makefile-man.am index 45b8238..c6506aa 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -14,7 +14,6 @@ MANPAGES += \

[systemd-devel] [PATCHv2] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
Umut: I can't generate man list since I am cross compiling Please run make update-man-list and include changes on Makefile-man.am. I have updated the Makefile-man.am manually on v1, even though very first that file says DO NOT EDIT IT. --- Makefile.am | 2 ++ configure.ac | 6 ++ 2 files

Re: [systemd-devel] [PATCH] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- Makefile-man.am | 9 ++--- Makefile.am | 2 ++ configure.ac| 6 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile-man.am b/Makefile-man.am index 45b8238..c6506aa 100644 --- a/Makefile-man.am

Re: [systemd-devel] HEADSUP: hwdb management split from udevadm

2014-12-18 Thread Umut Tezduyar Lindskog
Fantastic Tom! You were nice enough to group all the hwdb files in a section. Can I send a patch to wrap them with a ./configure option? The option should even include to make udevadm-hwdb.c, libudev-hwdb.c and udev-builtin-hwdb.c configurable. Umut On Thu, Dec 18, 2014 at 3:57 PM, Tom

Re: [systemd-devel] HEADSUP: hwdb management split from udevadm

2014-12-18 Thread Umut Tezduyar Lindskog
On Thu, Dec 18, 2014 at 9:57 PM, Tom Gundersen t...@jklm.no wrote: On Thu, Dec 18, 2014 at 9:11 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Can I send a patch to wrap them with a ./configure option? The option should even include to make udevadm-hwdb.c, libudev-hwdb.c and udev-builtin

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
= name_to_handle_at(AT_FDCWD, parent, h.handle, mount_id_parent, 0); +r = name_to_handle_at(AT_FDCWD, parent, h.handle, mount_id_parent, AT_SYMLINK_FOLLOW); Umut On Wed, Dec 17, 2014 at 3:20 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar

[systemd-devel] name_to_handle_at() with UBIFS

2014-12-17 Thread Umut Tezduyar Lindskog
For the record: It is not enough to have CONFIG_FHANDLE to get the support for name_to_handle_with(). The FS also needs to support it and UBIFS doesn't have support for it at the moment. Umut ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
On Wed, Dec 17, 2014 at 10:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 12/17/2014 02:20 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote: --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [systemd-devel] name_to_handle_at() with UBIFS

2014-12-17 Thread Umut Tezduyar Lindskog
On Wed, Dec 17, 2014 at 7:54 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 17.12.14 10:45, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: For the record: It is not enough to have CONFIG_FHANDLE to get the support for name_to_handle_with(). The FS also needs to support

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-16 Thread Umut Tezduyar Lindskog
For the reference, -flto option was preventing static linker from making the assignments. Could be very well something specific to our toolchain. On Fri, Dec 12, 2014 at 11:50 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Fri, Dec 12, 2014 at 4:46 PM, Lennart Poettering lenn

Re: [systemd-devel] Improving module loading

2014-12-16 Thread Umut Tezduyar Lindskog
On Tue, Dec 16, 2014 at 4:59 PM, Tom Gundersen t...@jklm.no wrote: On Tue, Dec 16, 2014 at 4:54 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: The other thought is, what is the preferred way of loading modules when they are needed. Rely on kernel autoloading. Not all modules support

[systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-16 Thread Umut Tezduyar Lindskog
--- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index dcc8321..304281f 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -518,7 +518,7 @@ fallback: if (r 0)

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-12 Thread Umut Tezduyar Lindskog
On Fri, Dec 12, 2014 at 12:24 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 11.12.14 23:01, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Trying to build 218 but I am getting undefined reference error. The source code of bus-error.c mentions that gcc magically maps

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-12 Thread Umut Tezduyar Lindskog
-axis-linux-gnu/lib:/build/target/mipsisa32r2el-axis-linux-gnu/usr/lib -o libnss_resolve.la -rpath /usr/lib src/nss-resolve/nss-resolve.lo libsystemd-shared.la libsystemd-internal.la -lrt -ldl On Fri, Dec 12, 2014 at 10:10 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Fri, Dec 12, 2014

  1   2   3   >