Re: [systemd-devel] feature request: dlopen

2015-02-22 Thread Cristian Rodríguez
El 22/02/15 a las 22:37, Luke Kenneth Casson Leighton escribió: well, you could provide hints in the documentation (and force them to be read by deliberately changing the API) Wow.. so what you want is even nuttier than I thought.. that would be a good place to start, showing people how

[systemd-devel] [PATCH] shared: fix wrong assertion in barrier_set_role()

2015-02-20 Thread Cristian Rodríguez
assert(b-pipe[0] = 0 b-pipe[0] = 0); Test the same condition twice, pretty sure we mean assert(b-pipe[0] = 0 b-pipe[1] = 0); --- src/shared/barrier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/barrier.c b/src/shared/barrier.c index f65363a..b7dca75 100644

[systemd-devel] [PATCH 8/9] shared: AFS is also a network filesystem

2015-02-20 Thread Cristian Rodríguez
--- src/shared/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/util.c b/src/shared/util.c index dc65280..6729461 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1692,6 +1692,7 @@ bool chars_intersect(const char *a, const char *b) { bool fstype_is_network(const

Re: [systemd-devel] [PATCH] sysv-generator: Do not generate units for files handled by rc-local generator

2015-01-23 Thread Cristian Rodríguez
El 23/01/15 a las 10:31, Lennart Poettering escribió: The rc-local generator only exists to add compat support for those systems where it never was a sysvinit script anyway... They are not init scripts though. but plain shell scripts with no dependency information. they are installed in

[systemd-devel] [PATCH] mount-setup: Do not bother with /proc/bus/usb

2015-01-23 Thread Cristian Rodríguez
Current systemd requires kernel = 3.7 per the README file but CONFIG_USB_DEVICEFS disappeared from the kernel in upstream commit fb28d58b72aa9215b26f1d5478462af394a4d253 (kernel 3.5-rc1) --- src/core/mount-setup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/mount-setup.c

[systemd-devel] [PATCH] build-sys: use -fno-semantic-interposition if available

2015-01-25 Thread Cristian Rodríguez
GCC5 introduces -fno-semantic-interposition allowing better code generation in shared libraries at the cost of making interposition of exported symbols impossible (i.e, a 3rd party shared library overriding sd_notify() will not work) Using this particular feature with systemd is not supported and

[systemd-devel] [PATCH] tree-wide: Introduce a dup_cloexec inline helper

2015-04-22 Thread Cristian Rodríguez
- Nicer easier to remember than fcntl(fd, F_DUPFD_CLOEXEC, 3) - Update CODING_STYLE - Use it tree-wide --- CODING_STYLE | 6 +++--- src/import/curl-util.c | 2 +- src/import/importd.c | 4 ++-- src/journal/cat.c| 2 +-

[systemd-devel] [PATCH] po: Remove src/fsckd/fsckd.c from filelist

2015-05-05 Thread Cristian Rodríguez
Otherwise make check ends in failed state. --- po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 70e7594..b4c1121 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -5,4 +5,3 @@ src/locale/org.freedesktop.locale1.policy.in

[systemd-devel] [PATCH] sd-bus: fix memory leak in test-bus-chat

2015-05-09 Thread Cristian Rodríguez
Building with address sanitizer enabled on GCC 5.1.x a memory leak is reported because we never close the bus, fix it by using cleanup variable attribute. --- src/libsystemd/sd-bus/test-bus-chat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[systemd-devel] [PATCH] modules-load: fix memory leak

2015-05-11 Thread Cristian Rodríguez
= ==64281==ERROR: LeakSanitizer: detected memory leaks Direct leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f623c961c4a in malloc (/usr/lib64/libasan.so.2+0x96c4a) #1 0x5651f79ad34e in malloc_multiply

[systemd-devel] [PATCH] shared: Use O_EXCL with O_TMPFILE in open_tmpfile

2015-05-11 Thread Cristian Rodríguez
In this usecase, the file will never be materialized with linkat(). --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index c5c1b0c..f295edb 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -4838,7 +4838,7 @@

[systemd-devel] resolved crashes on SIGTERM

2015-05-11 Thread Cristian Rodríguez
resolved crashes on SIGTERM with ... = ==33557==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c0bd60 at pc 0x556098c5 bp 0x7fffde70 sp 0x7fffde68 READ of size 8 at 0x60c0bd60 thread T0 #0

[systemd-devel] [PATCH] core: fix memory leak in manager_run_generators()

2015-05-11 Thread Cristian Rodríguez
If systemd is built with GCC address sanitizer or leak sanitizer the following memory leak ocurs: May 12 02:02:46 linux.site systemd[326]: = May 12 02:02:46 linux.site systemd[326]: ==326==ERROR: LeakSanitizer: detected memory

[systemd-devel] [PATCH] buildsys: *_la_CPPFLAGS takes $(AM_CPPFLAGS) not $(AM_CFLAGS)

2015-05-09 Thread Cristian Rodríguez
--- Makefile.am | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1ec1e77..e4d00a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6333,7 +6333,7 @@ libsystemd_journal_la_SOURCES = \ src/compat-libs/libsystemd-journal.sym

[systemd-devel] [PATCH] buildsys: Remove X_SERVER from AM_CPPFLAGS

2015-05-16 Thread Cristian Rodríguez
It is a leftover from multi-seat-x wrapper which is long gone. --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 211ce6a..4639b2f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -203,7 +203,6 @@ AM_CPPFLAGS = \

[systemd-devel] [PATCH] timedate: fix memory leak in timedated

2015-05-15 Thread Cristian Rodríguez
$ /usr/lib/systemd/systemd-timedated (wait until auto-exit) = ==396==ERROR: LeakSanitizer: detected memory leaks Direct leak of 928 byte(s) in 1 object(s) allocated from: #0 0x7f782f788db1 in __interceptor_calloc

Re: [systemd-devel] [PATCH] sd-bus: fix memory leak in test-bus-chat

2015-05-13 Thread Cristian Rodríguez
On Wed, May 13, 2015 at 8:01 AM, Daniel Mack dan...@zonque.org wrote: We should still keep this flush, right? -sd_bus_unref(bus); } The cleanup function already does : static inline void sd_bus_close_unrefp(sd_bus **bus) { if (*bus) {

Re: [systemd-devel] resolved crashes on SIGTERM

2015-05-18 Thread Cristian Rodríguez
On Mon, May 18, 2015 at 6:25 PM, Lennart Poettering lenn...@poettering.net wrote: Fixed in git. Please verify. It is OK now.. Thank you. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] SD_BUS_VTABLE_CAPABILITY

2015-04-17 Thread Cristian Rodríguez
On Fri, Apr 17, 2015 at 7:51 AM, Lennart Poettering lenn...@poettering.net wrote: Groups *suck* as authentication scheme. If you add one group for each privilege you want, then you'll have a huge number of groups, and that's hardly desirable. It's pretty close to being unmanagable with

Re: [systemd-devel] Adopt processes spawned before /lib/systemd/systemd takes over as PID 1?

2015-04-17 Thread Cristian Rodríguez
On Fri, Apr 17, 2015 at 4:06 PM, Matt Hoosier matt.hoos...@gmail.com wrote: On Fri, Apr 17, 2015 at 12:22 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 17.04.15 09:00, Matt Hoosier (matt.hoos...@gmail.com) wrote: Hi, I'm writing to see whether there's a best way to allow

Re: [systemd-devel] Check if systems is container in systemd-remount-fs.service

2015-04-08 Thread Cristian Rodríguez
On Wed, Apr 8, 2015 at 6:55 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 17.03.15 10:54, Peter Paule (systemd-de...@fedux.org) wrote: Hi, does it make sense to check if the system is started as a container in systemd-remount-fs.service and only start the service if the system

[systemd-devel] [PATCH] buildsys: remove always true autoconf checks

2015-05-19 Thread Cristian Rodríguez
All this checks are always true in any modernish linux system. --- configure.ac | 11 --- 1 file changed, 11 deletions(-) diff --git a/configure.ac b/configure.ac index 3efee22..cd6375b 100644 --- a/configure.ac +++ b/configure.ac @@ -1293,17 +1293,6 @@

Re: [systemd-devel] Reduce unit-loading time

2015-05-19 Thread Cristian Rodríguez
On Mon, May 18, 2015 at 7:24 AM, cee1 fykc...@gmail.com wrote: 2015-05-17 17:45 GMT+08:00 Martin Pitt martin.p...@ubuntu.com: Hello cee, cee1 [2015-05-16 0:46 +0800]: Thanks for the suggestion, it was other processes running in parallel which presumably consuming lots of IO, after sending

Re: [systemd-devel] Reduce unit-loading time

2015-05-19 Thread Cristian Rodríguez
On Tue, May 19, 2015 at 5:39 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: On Mon, May 18, 2015 at 7:24 AM, cee1 fykc...@gmail.com wrote: 2015-05-17 17:45 GMT+08:00 Martin Pitt martin.p...@ubuntu.com: Hello cee, cee1 [2015-05-16 0:46 +0800]: Thanks for the suggestion, it was other

Re: [systemd-devel] Performance of systemctl status tab completion

2015-06-02 Thread Cristian Rodríguez
On Tue, Jun 2, 2015 at 1:18 PM, Chris Morgan chmor...@gmail.com wrote: Hi all. systemd 216 here on an embedded arm system, 1ghz with a load of 60% or more. I enabled tab completion, because I really don't like to type, and quickly found out that something like: systemctl status xxtab tab

Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Cristian Rodríguez
On Thu, Jun 25, 2015 at 4:15 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote: Hi list, I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Probably GregKH can assist you with this problem, udev is not at

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-14 Thread Cristian Rodríguez
El jun. 14, 2015 10:21, cee1 fykc...@gmail.com escribió: Hi all, Why we need to read/save random seed? Can it be read from /dev/random each time? Because the kernel is borked and still is needs to be fed of entropy at system startup by user space. Please read the random man page. I agree we

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-14 Thread Cristian Rodríguez
On Sun, Jun 14, 2015 at 1:43 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Jun 14, 2015 at 12:49:55PM -0300, Cristian Rodríguez wrote: El jun. 14, 2015 10:21, cee1 fykc...@gmail.com escribió: Hi all, Why we need to read/save random seed? Can it be read from /dev/random each

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-14 Thread Cristian Rodríguez
On Sun, Jun 14, 2015 at 6:45 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Jun 14, 2015 at 02:11:53PM -0300, Cristian Rodríguez wrote: On Sun, Jun 14, 2015 at 1:43 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Jun 14, 2015 at 12:49:55PM -0300, Cristian Rodríguez wrote: El

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-15 Thread Cristian Rodríguez
On Mon, Jun 15, 2015 at 12:33 PM, cee1 fykc...@gmail.com wrote: Hi, I maybe got confused. First, systemd-random-seed.service will save a seed from /dev/urandom when shutdown, and load that seed to /dev/urandom when next boot up. My questions are: 1. Can we not save a seed, but load a

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

2015-05-28 Thread Cristian Rodríguez
On Thu, May 28, 2015 at 9:21 PM, aaron_wri...@selinc.com wrote: Brandon Philips bran...@ifup.co wrote on 05/28/2015 05:10:33 PM: Access to the system dbus is controlled by dbus policies. You will need to write a policy for giving this user access to the systemd1 object. I compiled systemd

Re: [systemd-devel] 3.7s for systemd-logind.service starting

2015-07-03 Thread Cristian Rodríguez
On Fri, Jul 3, 2015 at 5:00 AM, RayBloodworth k870818...@outlook.com wrote: From this boot chart, dbus.service starts after systemd-logind.service, but dbus.service takes littile time for launching. This is a bug, fixed in v209.. commit 8f9c6fe5ff1d59001aecbf3fbf9ca0ed7ff28ba7

Re: [systemd-devel] 3.7s for systemd-logind.service starting

2015-07-03 Thread Cristian Rodríguez
On Fri, Jul 3, 2015 at 2:05 AM, RayBloodworth k870818...@outlook.com wrote: Hi, everyone I'm optimizing booting performance of my system. systemd version: 208 platform: freescale i.MX6D Cortex-A9 Please test again with a current release, I doubt anyone here will help if you are

Re: [systemd-devel] How to wait for specific interface/IP?

2015-05-23 Thread Cristian Rodríguez
On Sat, May 23, 2015 at 1:03 PM, Ian Pilcher arequip...@gmail.com wrote: Is there a simple way to make a service require that a specific network interface/IP address be active? You have to wait for the *link* to be active, not for the interface.. I have a manually set up bridge and dnsmasq

[systemd-devel] [PATCH] core: if PR_SET_CHILD_SUBREAPER fails, log_error instead of warning

2015-05-23 Thread Cristian Rodríguez
It was a warning when we still supported kernel 3.4. current minimum version is 3.7. --- src/core/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index c39815b..3bebc98 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1608,9

Re: [systemd-devel] [PATCH] buildsys: remove always true autoconf checks

2015-05-21 Thread Cristian Rodríguez
On Thu, May 21, 2015 at 11:39 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 19.05.15 20:17, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: All this checks are always true in any modernish linux system. --- configure.ac | 11 --- 1 file changed, 11 deletions

Re: [systemd-devel] SysVInit service migration to systemd

2015-06-29 Thread Cristian Rodríguez
On Mon, Jun 29, 2015 at 10:58 AM, Lesley Kimmel ljkimme...@hotmail.com wrote: Jonathan; Thanks for the background and information. Since you clearly seem to have a grasp of systemd please humour me with a few more questions (some of them slightly ignorant): a) Why are PID bad? Because they

Re: [systemd-devel] about libmount

2015-11-05 Thread Cristian Rodríguez
On Thu, Nov 5, 2015 at 12:30 PM, Martin Pitt wrote: > Hello Yankun, > > yan...@iscas.ac.cn [2015-11-05 23:24 +0800]: >> I can not find a available uri for systemd in china > > Sorry, but I don't understand at all what this means. It may be blocked by internet censors..is

Re: [systemd-devel] MYSQL SERVICE FAILED

2016-05-01 Thread Cristian Rodríguez
On Sat, Apr 30, 2016 at 3:32 PM, Alessandro Cellini wrote: > *** > -- Unit mysql.service has failed. > -- > -- The result is failed. HI: Neither the mysql package nor the mysql.service are provided by the systemd project but by your

Re: [systemd-devel] Systemctl causes Spark native thread creation issue

2017-02-20 Thread Cristian Rodríguez
El 20-02-2017 a las 18:44, Rao Vz escribió: > Hi, Guys > Any help is appreciated. > Most likely you went over TasksMax. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd should not depend on CONFIG_CRYPTO_USER_API_HASH

2017-03-20 Thread Cristian Rodríguez
El 20-03-2017 a las 10:26, D.S. Ljungmark escribió: > I find your argument to be strange. > > "The kernel has this functionality, please do not use it and rather > reimplement it in every piece of userspace that ever needs it, because > that's supposed to be more secure." > > I simply don't

Re: [systemd-devel] systemd-udevd invoked oom-killer

2017-07-11 Thread Cristian Rodríguez
El 11-07-2017 a las 18:23, WANG Siyuan escribió: > Hi, all > systemd-udevd invoked oom-killer during Linux boot. I open debug message > of systemd-udevd. But I can't find where the problem is. Could anybody > help me? Thanks very much. The oom-killer should never be invoked on udev at boot..

Re: [systemd-devel] Packagekit crashes

2017-09-08 Thread Cristian Rodríguez
El 08-09-2017 a las 16:58, Robert Washbourne escribió: On systemctl start packagekit: packagekitd[18300]: failed to setup context: metadata expire time too small, has to be at least one second I'm sorry if this is the wrong place to post, please point me in the right direction

[systemd-devel] [PATCH] shared: add statx(2) to @file-system syscall filter list

2017-09-02 Thread Cristian Rodríguez
--- src/shared/seccomp-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 29eb2b17d..0857f5907 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -403,6 +403,7 @@ const SyscallFilterSet

Re: [systemd-devel] [ty...@mit.edu: Re: Linux messages full of `random: get_random_u32 called from`]

2018-05-02 Thread Cristian Rodríguez
El 02-05-2018 a las 6:25, Lennart Poettering escribió: On Di, 01.05.18 18:08, Vito Caputo (vcap...@pengaru.com) wrote: Or maybe this confusion is just another iteration of the stuff dicussed here? https://github.com/systemd/systemd/issues/4167 On modern x86 hardware we could fallback to

Re: [systemd-devel] How to build only udev

2018-07-04 Thread Cristian Rodríguez
El 04-07-2018 a las 15:42, Kevin Greene escribió: Thanks Simon. I have tried doing that actually, but the arm64 version doesn't seem to be available. I'm on Ubuntu 16.04 fwiw. Are you entirely sure that's the case?.. I mean.. you do not go very far without libudev-dev in a modern binary

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-22 Thread Cristian Rodríguez
El 21-01-2018 a las 8:12, Yubin Ruan escribió: Hi, I use offlineimap to synchronize my emails. I want it to do a synchronization at system startup so recently I add a systemd service for it. However I always get error like this: EOF occurred in violation of protocol (_ssl.c:590) Socket

Re: [systemd-devel] A question about the race condition between two service

2018-11-05 Thread Cristian Rodríguez
El 01-11-2018 a las 5:34, piliu escribió: Any suggestion? Yeah. Don't..if poweroff fails reboot will too..please attack the root cause of this problem.. why the machine fails to poweroff, is it a service blocking poweroff ? is there a kernel bug ?

Re: [systemd-devel] Run OpenVPN unprivileged as systemd user service

2018-11-01 Thread Cristian Rodríguez
El 01-11-2018 a las 9:41, Paul Menzel escribió: If yes, do you have any hints before I start to dig into that? opening TUN/TAP interfaces and changing routing is a privileged operation. ___ systemd-devel mailing list

Re: [systemd-devel] Systemd service taking huge memory

2018-11-08 Thread Cristian Rodríguez
El 08-11-2018 a las 11:02, deepan muthusamy escribió: If I start my application as system service, it is consuming huge memory. This leads to my system getting slow down. If I start manually, it's not consuming that much memory. What can be the possible reasons? Your application has a

Re: [systemd-devel] Environment-variable security?

2018-11-13 Thread Cristian Rodríguez
El 13-11-2018 a las 9:49, David Parsley escribió: I disagree; privacy of environment variables to individual users on the system is as fundamental as Unix file permissions. Please find us ONE reference to a relevant, current *nix standard that says environment variables are either secret,

Re: [systemd-devel] A question about the race condition between two service

2018-11-06 Thread Cristian Rodríguez
El 05-11-2018 a las 3:17, piliu escribió: During this service, the power state can not be got from sysfs, neither it can be got by systemd's utility. So is it acceptable to signal the failure of service by a tmp file under /tmp ? I.e adding FailureAction=touch /tmp/poweroff_fail in

Re: [systemd-devel] Data flow is slow

2018-11-09 Thread Cristian Rodríguez
El 09-11-2018 a las 1:08, deepan muthusamy escribió: I created a session bus as system service. And iam connecting to that session bus. My requirement is like this, that's why I'm doing this.@ Simon. Well..considering that Simon literally wrote the dbus daemon I will certainly listen to

Re: [systemd-devel] bpfilter blocks root unmount during shutdown

2018-09-25 Thread Cristian Rodríguez
El 24-09-2018 a las 13:30, Andrei Borzenkov escribió: This process is spawned as special kernel thread, even though it is otherwise normal user process. WUT ? So how is this new kind of task supposed to be handled by userspace ? looks like a kernel bug to me.

Re: [systemd-devel] Systemd logging..

2018-11-22 Thread Cristian Rodríguez
El 21-11-2018 a las 11:08, deepan muthusamy escribió: > Can u please tell me what are all the things I have to add in .service file to store all logs into a log file. Some daemons provide an option to log to file, use that if available, otherwise make your program write debug or log

Re: [systemd-devel] How to add a second bridge to a nspawn container?

2019-01-04 Thread Cristian Rodríguez
El 04-01-2019 a las 2:50, Mantas Mikulėnas escribió: That's because the specified interface is not a bridge... Yeah, that and it is a wireless interface..it may not work .. OP needs to use ipvlan instead. ___ systemd-devel mailing list

Re: [systemd-devel] MongoDB error after the changing the Path

2019-01-09 Thread Cristian Rodríguez
El 09-01-2019 a las 10:35, hemanthkuma...@vakilsearch.com escribió: Hi All, I am facing the problem in MongDB after the Path. So help me ti sort the issue [root@ca-mongo mongo]# cat /etc/mongod.conf Please ask in mongodb users list, this problem has nothing to do with systemd

Re: [systemd-devel] EXT: sdbus_event loop state mark as volatile?

2019-09-09 Thread Cristian Rodríguez
> >while (e->state != SD_EVENT_FINISHED) { > >r = sd_event_run(e, (uint64_t) -1); > > > > But since e->state is changed by another thread it Well..then the game is up because sd-bus does not claim to be thread safe or even aspires to be.. accessing e from different

Re: [systemd-devel] perform fsck on everyt boot

2019-12-06 Thread Cristian Rodríguez
On Mon, Nov 11, 2019 at 9:34 AM Belisko Marek wrote: > Am I still > missing something? Thanks. Yes, what you are trying to do is the wrong thing(tm) to do, please figure out why there is filesystem corruption in the first place, while ext4 of course has bugs like any software around, it is not

Re: [systemd-devel] systemd-timesyncd - use unprivileged ports

2020-03-22 Thread Cristian Rodríguez
On Wed, Mar 11, 2020 at 4:17 PM Jędrzej Dudkiewicz wrote: > Sorry, of course source port - No, you really want UDP source port randomization using whatever algorithm the kernel chooses to, due to security reasons. ___ systemd-devel mailing list

Re: [systemd-devel] Is LTO worth it?

2021-01-20 Thread Cristian Rodríguez
On Mon, Jan 11, 2021 at 12:39 PM Lennart Poettering wrote: > https://fedoraproject.org/wiki/LTOByDefault > > (I think Suse is even further ahead on this) Yes. lto is already on by default, on worthiness of t..the jury is still out.. ___ systemd-devel

Re: [systemd-devel] Alias for SMTP providers [ie. mutually exclusive service alternatives]

2021-06-18 Thread Cristian Rodríguez
On Tue, Jun 15, 2021 at 5:13 AM Kenneth Porter wrote: > > What happens if I list multiple services in a Wants= and After= clause that > are mutually exclusive (eg. sendmail/postfix/exim? How can I say "This unit > needs to send mail" without knowing which is enabled? Unfortunately "need to send

Re: [systemd-devel] Should services be able to run without /proc?

2021-02-10 Thread Cristian Rodríguez
Glibc needs /proc mounted so the answer is no. El El mar, 9 de feb. de 2021 a la(s) 12:05, Antonius Frie < antonius.f...@ruhr-uni-bochum.de> escribió: > Hi! > > So this is kind of a follow-up to the thread in [1], and the > corresponding PR in [2]. > > In short, the PR made some changes to allow

Re: [systemd-devel] Looking for known memory leaks ... [ISOLATED?]

2021-02-25 Thread Cristian Rodríguez
> > > > $ systemctl status $$ > > They wrote a tight loop that just kept calling that command, > I just did and memory use remain constant, so whatever your problem is I cannot reproduce or was fixed ages ago. A noticeable memory leak should be easily reproducible and fixed building systemd

Re: [systemd-devel] sdbus errors and their underlaying int value: unique?

2021-03-04 Thread Cristian Rodríguez
On Tue, Mar 2, 2021 at 7:55 AM Carlo Wood wrote: > On Tue, 2 Mar 2021 10:40:25 +0100 > Carlo Wood wrote: > > > I'm not writing my own C++ wrappers around sbus. > > I'm now* writing my own C++ wrappers around sbus. > > JUst curious..what is wrong with QTDbus.. ? I strongly suggest you against

Re: [systemd-devel] Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-22 Thread Cristian Rodríguez
On Mon, Feb 22, 2021 at 8:22 AM Robert P. J. Day wrote: > On Thu, 18 Feb 2021, Lennart Poettering wrote: > > > On Do, 18.02.21 11:48, Robert P. J. Day (rpj...@crashcourse.ca) wrote: > > > > > A colleague has reported the following apparent issue in a fairly > > > old (v230) version of systemd

Re: [systemd-devel] [hostnamed] Why the service will automatically exit after 30 seconds

2021-08-18 Thread Cristian Rodríguez
On Tue, Aug 17, 2021 at 9:35 PM 李成刚 wrote: > > How to configure this service so that it will not automatically exit So what are you trying to accomplish with this ? why do you need yet another service running when it is totally idle ? > When the systemd-hostnamed service is started through

Re: [systemd-devel] New developer building systemd

2021-09-13 Thread Cristian Rodríguez
The function is used.. only when HAVE_LIBCRYPTSETUP. You either need to define it on an #ifdef HAVE_LIBCRYPTSETUP or add add an __attribute__(__unused__) to it, then the warning will shut up and the linker may garbage collect it later. On Fri, Sep 10, 2021 at 12:50 PM Marcus Harrison wrote:

Re: [systemd-devel] PIDFile creation logic

2021-10-18 Thread Cristian Rodríguez
On Mon, Oct 18, 2021 at 4:44 PM Kenneth Porter wrote: > > I just installed the new-to-EPEL ndppd service and am seeing this in my log: > > Oct 17 21:10:08 saruman systemd: Can't open PID file > /var/run/ndppd/ndppd.pid (yet?) after start: No such file or directory > > Examining the source, I see

Re: [systemd-devel] asset failure that looks like it's coming from systemd/

2021-12-25 Thread Cristian Rodríguez
On Sat, Dec 25, 2021 at 1:04 PM Steve Dodd wrote: > On Fri, 24 Dec 2021 at 10:11, Jonathan Kelly wrote: > > > No. I'm in the middle here ... trying to compile unicon and it borks ... > the unicon people don't know anything about random-util.c ... it not part > of their software. > > Only thing

Re: [systemd-devel] asset failure that looks like it's coming from systemd/

2021-12-25 Thread Cristian Rodríguez
On Thu, Dec 23, 2021 at 10:53 PM Jonathan Kelly wrote: > Hi, > > in trying to compile unicon programming language - I'm on arch linux ... > > Linux arch 5.15.10-arch1-1 #1 SMP PREEMPT Fri, 17 Dec 2021 11:17:37 > + x86_64 GNU/Linux > > ... I'm getting this error > > make[2]: Entering

Re: [systemd-devel] Exception safety od sd-bus

2021-07-26 Thread Cristian Rodríguez
On Thu, Jul 22, 2021 at 9:16 AM Norbert Lange wrote: > > It should be "supported" in the way that exceptions will *not* > propagate in C libraries, and your program will call std::terminate > should one callback throw an exception. > Mark your callbacks with 'noexcept', statical analysis might

Re: [systemd-devel] How to grant systemd-nspawn access to USB device?

2022-03-10 Thread Cristian Rodríguez
On Wed, Mar 9, 2022 at 12:09 PM Kevin P wrote: > > Hello Greg and thanks for answering :) > I never used strace, so I couldn't figure from the output, but further > research led me to this post: > http://www.pclinuxos.com/forum/index.php?topic=135714.0 > So I just tried (on the host): > chmod

Re: [systemd-devel] systemd.sockets vs xinetd

2022-02-12 Thread Cristian Rodríguez
On Thu, Feb 10, 2022 at 5:42 AM Yolo von BNANA wrote: > If you’ve done any investigation into systemd.sockets, you may believe that > it makes super servers like xinetd obsolete. At this point in time, that is > not true. The xinetd super server offers more functionality than >

Re: [systemd-devel] sd_bus_process() + sd_bus_wait() is it not suitable for application?

2022-01-22 Thread Cristian Rodríguez
What do you mean with memory increase ? sd_bus is unlikely to have any severe memory leak under normal conditions (if there is any, they are usually found in error paths) so you are either mis-using the api or misunderstanding memory management. if there is any memory leak either in your code or

Re: [systemd-devel] Help! iSCSI based file systems with "_netdev" causing ordering cycles to occur (random services and mounts fail)

2023-10-30 Thread Cristian Rodríguez
On Sat, Oct 28, 2023 at 12:46 AM Tony Rodriguez wrote: > On 10/27/23 07:06, Lennart Poettering wrote: > > On Do, 26.10.23 19:03, Tony Rodriguez (unixpro1...@gmail.com) wrote: > > > >> Experiencing this same issue with iSCSI and systemd-239 for RH8/Rocky8 > and > >> RH9/Rocky9 system-252. Nothing

Re: [systemd-devel] systemd-resolved: performance question

2023-04-06 Thread Cristian Rodríguez
On Fri, Mar 24, 2023 at 7:41 AM Lennart Poettering wrote: > > > There are conflicting goals here: nice, reliably behaviour that config > changes are guaranteed to be taken into account, and a simple goal of > performance to reduce these stat calls. > An option to simply ignore resolv.conf

Re: [systemd-devel] IPv6 Compliance Issues witih networkd

2023-07-16 Thread Cristian Rodríguez
On Wed, Jul 12, 2023 at 6:38 PM Muggeridge, Matt wrote: > Hi there, > > I am noticing networkd has a number of IPv6 compliance issues, where it is > not meeting various RFC's "must" requirements. For comparison, when I stop > networkd and configure the network via legacy methods, the protocol >

Re: [systemd-devel] [EXT] Splitting large message written to stdout, explanation?

2023-05-27 Thread Cristian Rodríguez
On Thu, May 25, 2023 at 10:44 PM Virendra Negi < virendra.n...@sugarboxnetworks.com> wrote: > @Windl but the logs are sent to rsyslog is over unix socket. > It doesn't matter. just don't. This is a bad idea, will perform very poorly on production, it is not designed from the ground up for

Re: [systemd-devel] Permissions problems with systemd-networkd and others.

2024-02-12 Thread Cristian Rodríguez
On Wed, Feb 7, 2024 at 5:42 PM Murrell, Robert A. wrote: > I finally got everything working. Here is what I did to fix the problem: > > > > adduser systemd-network root > > adduser systemd-resolve root > > adduser bind root > > find /etc -type d -exec chmod 755 {} + > No!.. Now you are

Re: [systemd-devel] timedatectl causing system reset

2024-02-12 Thread Cristian Rodríguez
On Mon, Feb 12, 2024 at 12:17 PM ashok athukuri wrote: > > Hello, > > In my Linux box, Initially both services "systemd-timedated.service" and > "systemd-timesyncd.service" are inactive > When I executed command: > #timedatectl set-ntp true > Failed to set ntp: Connection timed out > > But I

Re: networkd: bridge is configured before interfaces are enslaved

2023-12-29 Thread Cristian Rodríguez
On Thu, Dec 21, 2023 at 8:08 AM Jordi Auge < jordi.a...@technica-engineering.de> wrote: > > So, what would be the correct behaviour here? > > So it claims to behave like the standard bridge but doesn't.. looks like a bug on your switch device driver.

Re: [systemd-devel] [help] Benchmarking software shows degraded performance

2023-11-30 Thread Cristian Rodríguez
On Thu, Nov 30, 2023 at 1:17 AM wrote: > Hi all, > > We have decided to replace buysbox init with systemd in our development > boards Buildroot images. > > One of the boards - > https://www.microchip.com/en-us/development-tool/atsama5d27-som1-ek1 > > While we notice the reduction in boot time as

Re: [systemd-devel] Configure netdev RPS using systemd-networkd

2023-12-04 Thread Cristian Rodríguez
On Mon, Dec 4, 2023 at 5:01 AM Renjaya Raga Zenta wrote: > Hi, > > We want to implement our networking using systemd-networkd. We think > systemd is stable enough right now, so we want to try more "systemd-only" > solution. > > In our environment, we use RPS (Receive Packet Steering) for load

Re: [systemd-devel] Systems-resolved: Calling gethostbyaddr on non-local/non-private causes connection attempt

2024-02-23 Thread Cristian Rodríguez
On Thu, Feb 22, 2024 at 8:13 PM anthony_ful...@trendmicro.com wrote: I tried again now with packet capture software and no such behaviour was found. ..what you have in the hosts line of nsswitch.conf ?

Re: [systemd-devel] Systems-resolved: Calling gethostbyaddr on non-local/non-private causes connection attempt

2024-02-22 Thread Cristian Rodríguez
On Thu, Feb 22, 2024 at 2:09 PM anthony_ful...@trendmicro.com wrote: > > Port 5355 is used for LLMNR and RFC-4795 [4], states in the abstract that > “LLMNR only operates on the local link” so I think the current behavior of > contacting hosts on port 5355 is incorrect, especially if that host

Re: [systemd-devel] Systems-resolved: Calling gethostbyaddr on non-local/non-private causes connection attempt

2024-02-25 Thread Cristian Rodríguez
On Fri, Feb 23, 2024 at 4:37 PM anthony_ful...@trendmicro.com wrote: > > I tried this on a fresh installation of Fedora Workstation 39. I installed > wireshark and set the filter to `tcp.port == 5355` then ran the python script > again with an ip of `123.123.123.123` and I see an outbound

Re: [systemd-devel] enable systemd-resolved in early boot (dracut)

2024-03-21 Thread Cristian Rodríguez
On Tue, Mar 19, 2024 at 7:44 AM Aleksandar Kostadinov wrote: > > Hello, > > I want to enable systemd-resolved in early boot so that `clevis` can > resolve `tang` address by mdns. This will simplify local network > configuration by not relying on static IP addresses. > > But it seems that is not

Re: [systemd-devel] soft-reboot and surviving it

2024-04-19 Thread Cristian Rodríguez
On Fri, Apr 19, 2024 at 6:17 AM Thorsten Kukuk wrote: > > On Fri, Apr 19, 2024 at 11:48 AM Luca Boccassi > wrote: > > > However, logging should work out of the box as long as the journal is > > used, what problem are you seeing exactly? > > Starting around the shutdown and new start of

<    1   2   3