On 08/08/2012 10:21 AM, Václav Pavlín wrote:
If we decide to change behaviour of systemctl, the approach, I described
here, can be used. If you prefer to edit autocomplete script, it can be
done with merge of sytemctl output of list-units and list-unit-files and
then pipe to uniq.
A lot of
On 10/25/2012 04:16 PM, Michal Sekletar wrote:
---
src/journal/coredumpctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index d15a31e..1a4d78f 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -222,6 +222,7
Dne 25.10.2012 16:16, Michal Sekletar napsal(a):
---
src/journal/coredumpctl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index 5c442ff..d15a31e 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -58,6
Dne 25.10.2012 16:16, Michal Sekletar napsal(a):
---
src/locale/localectl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index c05eba0..16700fe 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -354,6 +354,7 @@ static
Dne 25.10.2012 16:16, Michal Sekletar napsal(a):
l might contain zero strings, however there is still memory
allocated for NULL terminator, use _cleanup_strv_free_ instead to
prevent tiny leak in such case.
---
src/locale/localectl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Dne 25.10.2012 16:16, Michal Sekletar napsal(a):
https://bugzilla.redhat.com/show_bug.cgi?id=869779
---
src/sysctl/sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
index a68d67f..035e0ec 100644
--- a/src/sysctl/sysctl.c
+++
All active units will call unit_notify() during coldplug, so we just
make sure we're counting from zero again and get the correct result for
n_on_console.
For n_running_jobs we likewise reset it to zero and then count
the running jobs as we encounter them in deserialization.
---
Dne 8.3.2013 10:57, Yan Lei napsal(a):
Sorry for troubling you, but I have got an issue to confirm with you.
My issue is when I use the following command:
systemd-cat --priority=0 echo hello
Nothing logged into the journal, and the exit code is 141. I wonder
whether it is
a bug or it
On 03/08/2013 03:13 PM, Michal Sekletar wrote:
@@ -447,7 +447,11 @@ static int mount_add_default_dependencies(Mount *m) {
if (UNIT(m)-manager-running_as != SYSTEMD_SYSTEM)
return 0;
-p = get_mount_parameters_fragment(m);
+if (m-from_fragment)
+
On 03/08/2013 03:25 PM, Umut Tezduyar wrote:
I thought mounts coming from mountinfo are not getting default
dependencies anyways. mount_add_one() never sets load_extras to true
for new mount units.
But it does call unit_add_to_load_queue(u), which should eventually
result in mount_load()
that if we can make the manual
mount units themselves pull remote-fs-pre.target in retroactively.
Here's my proposal.
Michal Schmidt (3):
Revert remote-fs.target: want remote-fs-pre.target
unit: do not care if order isn't right when retroactively starting
deps
unit: do not start Requisite
This reverts commit 6bde0b3220e95a08cefb70846f73b2cf24b7734a.
remote-fs.target is usually enabled whether there are any remote
mounts in fstab or not.
remote-fs-pre.target pulls in NetworkManager-wait-online.service.
= The commit caused NM-w-o to be pulled into boot.
Let's fix the problem of
Attempt to satisfy requirement dependencies retroactively even if
the unexpectedly activated unit would prefer to be started After them.
This way remote-fs-pre.target can be pulled in by performing a manual
mount (the mount units have both Wants= and After= remote-fs-pre.target).
---
Activating Requisite units goes against the reason of existence of this
dependency type.
---
src/core/unit.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/core/unit.c b/src/core/unit.c
index d1f109d..25109ce 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1237,10 +1237,6 @@
On 03/23/2013 03:14 AM, Lennart Poettering wrote:
On Wed, 13.03.13 01:44, Michal Schmidt (mschm...@redhat.com) wrote:
Attempt to satisfy requirement dependencies retroactively even if
the unexpectedly activated unit would prefer to be started After them.
This way remote-fs-pre.target can
On 04/16/2013 07:45 PM, Kevin Wilson wrote:
No I moved /usr/lib/systemd/systemd-cgroups-agent to some backup.
and made sure that:
ls /usr/lib/systemd/systemd-cgroups-agent
ls: cannot access /usr/lib/systemd/systemd-cgroups-agent: No such file
or directory
Now I tried killing two services that
On 04/17/2013 04:33 PM, Lennart Poettering wrote:
It's so pretty in fact, that it almost makes me want to
add sleep(30) or so to all my daemons' startup and shutdown code just to
see it. It's like KITT, but in ASCII!
No, no, you're not supposed to like it. You should tremble in fear!
It's not
On 05/07/2013 10:53 AM, Colin Guthrie wrote:
'Twas brillig, and Lennart Poettering at 07/05/13 01:41 did gyre and gimble:
This is probably a good release to synchronize a distribution on. For
example, it is our goal that this is the version we will include in
Fedora 19, more or less.
You said
as expected. I will send Karel a fix.
... hmm, I don't remember any discussion.
The comment referred to the bug fixed by this util-linux commit:
commit c13d60b291cfe3e2c094225195d967c9f195ca54
Author: Michal Schmidt mschm...@redhat.com
Date: Mon Oct 29 23:33:01 2012 +0100
agetty: fix
Do not quit plymouth until the dependencies for ge...@tty1.service are
ready, in order to minimize the time a black screen is displayed.
---
units/fedora/plymouth-quit.service |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/units/fedora/plymouth-quit.service
condrestart should be equivalent to try-restart, i.e. it should be
translated into TryRestartUnit. See
http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780
---
src/systemctl.c |6 +++---
1 files changed,
On Wed, 1 Dec 2010 15:53:54 +0100 Kay Sievers wrote:
On Wed, Dec 1, 2010 at 15:39, Michal Schmidt mschm...@redhat.com
wrote:
inotify_add_watch(17, /dev/.systemd/ask-password,
IN_ATTRIB|IN_MOVED_TO|IN_CREATE|IN_DELETE_SELF|IN_MOVE_SELF) = 1
inotify_add_watch(17, /dev/.systemd
On Wed, 16 Mar 2011 23:24:22 +0100 Lennart Poettering wrote:
On Wed, 16.03.11 16:14, Daniel Drake (d...@laptop.org) wrote:
Any chance of a build for Fedora rawhide? Latest there is v18.
F15 should have an up-to-date systemd, and it should migrate
automatically from there.
It won't. koji
On Fri, 18 Mar 2011 07:42:34 +0100 Michael Biebl wrote:
On Fri, 18 Mar 2011 07:03:01 +0100
Michael Biebl mbi...@gmail.com wrote:
when booting with systemd.log_level=debug, I get
[...]
My point rather is, that for a default rsyslog + systemd installation
imho this should not happen.
When
In Fedora udev-retry.service exists both as a native unit and as a
legacy SysV service. The ordering inferred from the rc.d symlink farm is
being incorrectly applied to the native unit:
$ systemctl show -p After -p Before udev-retry.service
Before=basic.target dnsmasq.service netconsole.service
of the system.
To do that we need to add ConditionSELinux.
The new unit will have something like:
[Unit]
...
ConditionSELinux=disabled
ConditionPathIsDirectory=/etc/selinux
ConditionPathExists=!/.autorelabel
[Service]
ExecStart=/bin/touch /.autorelabel
...
---
Michal Schmidt (4):
man: document
Several condition types were missing their strings, they were showing as
(null) in systemctl dump.
Indentation was missing too.
---
src/condition.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/condition.c b/src/condition.c
index b404b49..5ab77d8 100644
---
They only differ in the condition type, otherwise the code is identical.
Replace them with a more generic config_parse_condition_string().
---
src/load-fragment.c | 44 ++--
1 files changed, 6 insertions(+), 38 deletions(-)
diff --git
Using ConditionSELinux a unit can depend on the SELinux state:
disabled, permissive, enforcing
A bool argument is also accepted:
no = disabled
yes = permissive | enforcing
I'd like to use this feature for a unit that creates /.autorelabel if
SELinux is disabled, to ensure a relabel is done
---
man/systemd.unit.xml | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 47ddece..e255f7a 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -565,6 +565,7 @@
On Sun, 3 Apr 2011 16:38:35 +0200 Kay Sievers wrote:
Wouldn't it be nicer to have ConditionSecurity=SELinux, like we have
ConditionVirtualization=kvm? You never know what people invent next
year. :)
OK, why not.
I guess just having ConditionSecurity=SELinux and
ConditionSecurity=!SELinux would
This replaces the previous ConditionSELinux series.
Kay suggested ConditionSecurity would be nicer and more general.
---
Michal Schmidt (4):
man: document ConditionSecurity
condition: add ConditionSecurity
load-fragment: unify config_parse_condition_{kernel,virt
Using ConditionSecurity a unit can depend on a security module being
enabled/disabled. For now the only recognized security module is SELinux.
I'd like to use this feature for a unit that creates /.autorelabel if
SELinux is disabled, to ensure a relabel is done automatically when the
system is
This should fix the crash reported by Dan Horak on s390x which
does not have VTs.
---
src/manager.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/manager.c b/src/manager.c
index dae746c..9fc854b 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -127,7 +127,7 @@
On Mon, 4 Apr 2011 22:51:55 +0200 Kay Sievers wrote:
We really need something here that is not tied to the / inode, because
we want to support r/o / or / on tmpfs with only the subdirs mounted
from disk. xattrs of / just have the same issues as /.-files, it's
just a different storage format
On 04/18/2011 11:04 PM, Stef Bon wrote:
2011/1/17 Lennart Poetteringmz...@0pointer.de:
possible is via xattr support in procfs and cgroupfs.
Anyway, as mentioned, I am not really ready to discuss this now. Sorry
of that might sound disappointing.
Why do think anyone is disappointed, by you
Even after commit e5a53dc7 cgroup: be nice to Ingo Molnar systemd still
hangs on boot on a kernel without CONFIG_CGROUPS.
mount_setup() must not fail when cgroup controllers cannot be mounted.
https://bugzilla.redhat.com/show_bug.cgi?id=628004
---
src/mount-setup.c |4 +++-
1 files
It is customary that pam modules do not log debugging information by default.
Usually they offer a 'debug' option.
Add a boolean debug= option to pam_systemd.so.
This will solve bug
https://bugzilla.redhat.com/show_bug.cgi?id=705427
Commit 53d5582fa006b0eb528f5dc3f4ba978abd8ac5a3 was not
After freeing the dbus message reset the pointer to NULL to avoid freeing it
again at the end of the function.
https://bugzilla.redhat.com/show_bug.cgi?id=709909
---
src/systemctl.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index
On 06/03/2011 01:49 PM, Kay Sievers wrote:
Like with many other more complex packages, extract what you need from
the spec-file of a distro package:
http://pkgs.fedoraproject.org/gitweb/?p=systemd.git;a=blob;f=systemd.spec;hb=HEAD
Just note that where the spec file says %configure, it's a
On 06/06/2011 03:01 PM, Avi Kivity wrote:
I have a system which was upgraded to F15 and thus systemd. During the
boot process it times out starting various .device units, like
sda1.device.
A general advice: Always use stable names (UUID, LABEL,
/dev/disk/by-*/...). You never know which disk
The kernel now provides the /sys/fs/selinux mountpoint and libselinux
prefers it if it's available.
systemd currently tests only for /selinux and this leads to an infinite
loop of policy reloads in the latest Rawhide.
Fix it by checking both possible mountpoints.
Also add the new path to
On 06/09/2011 11:41 AM, Vratislav Podzimek wrote:
with 21 added it gives:
fsck-root.service
fsck@dev-disk-by\x2duuid-SOME_UUID.service loaded inactive dead
where SOME_UUID is the uuid of of my /boot partition (so nothing about
the one unintentionally checked on boot)
...
So I can see no
sysinfo returns the total memory size in multiples of mem_unit bytes.
As long as the size in bytes fits into unsigned long, the kernel uses
mem_unit = 1, but this is not true on i386 with more than 4 GB RAM.
https://bugzilla.redhat.com/show_bug.cgi?id=712341
---
src/readahead-common.c |5
On Fri, 1 Jul 2011 23:17:57 +0200 Lennart Poettering wrote:
The problem here is that apache is a SysV init script, and for those
it is not really clear whether it is a problem that no process is
running anymore or if that's just the normal case.
This is true in general, but sometimes we do
On Wed, 6 Jul 2011 00:42:25 +0200 Lennart Poettering wrote:
Actually, I do want a way how people can reset all service enable
states to what the vendor intended. And that should be systemctl
preset without arguments I believe.
That would be too easy to run accidentally.
They can run:
cd
On 07/07/2011 08:28 AM, Rainer Gerhards wrote:
Let's make sure we are on the same line. Sequece of events:
1. systemd starts syslogd
2. syslogd parses config, detects errors
3. syslogd logs config errors via syslog()
Thus it sends them to /dev/log. No process is reading it, but
syslog.socket
'man systemd.target' says:
Unless DefaultDependencies= is set to false, target units will
implicitly complement all configured dependencies of type
Wants=, Requires=, RequiresOverridable= with dependencies of type
After= if the units in question also have DefaultDependencies=true.
It did
There is a lot of services with incorrectly implemented double-forking.
Their original process exits before the child writes the PID file.
With SysVinit it was rarely a problem, because the PID file was usually
read only when the initscript was called again.
systemd wants to read the PID file
On Wed, 28 Sep 2011 17:49:54 +0200 Reindl Harald wrote:
why does systemd not restart a killed service if the
ExecStartPre-process is still running, see below - at my opinion
after killall afpd the service should be restarted and in a perfect
case even if ExecStartPre-process dies
On 09/29/2011 10:29 AM, Nick Urbanik wrote:
Dear Folks,
I have made a systemd snapshot with systemctl snapshot.
How do I view (or record elsewhere) the contents of that snapshot?
systemctl show foo.snapshot
How is the snapshot stored on the disk?
The snapshot unit is generated in memory
On 09/29/2011 09:30 AM, Nick Urbanik wrote:
How do I do the equivalent of chkconfig --list | grep '3:on'?
There's a convenient command systemctl list-unit-files, but it is not
available in the version of systemd in Fedora 15.
You can explore the /etc/systemd/system/*.target.wants/
On 10/04/2011 02:22 PM, Reindl Harald wrote:
would it be possible to backport PathExistsGlob for F15
https://bugzilla.redhat.com/show_bug.cgi?id=734435
Possible, yes. The bug is not relevant for F15 though, because cups is a
SysV/LSB service there.
this means we can not make a
On 10/06/2011 07:26 PM, Barry Scott wrote:
On Thursday 06 October 2011 15:56:43 Barry Scott wrote:
We can reproducably get an F15 system in a state that it fails to
complete a reboot.
Then can you suggest how to reproduce it?
The obvious difference between a reboot that works and one
On 10/11/2011 12:44 PM, Barry Scott wrote:
The full log is here:
http://onelanftp.co.uk/bscott/ntb10117.netconsole.txt
The first boot sequence from lines 1-182 works.
The second from 188-1182 has the problem.
If the kernel is at fault then I would expect to see the
About to execute:
On 10/11/2011 05:09 PM, Barry Scott wrote:
I have uploaded full netconsole logs with the options you suggested:
http://onelanftp.co.uk/bscott/netconsole.noreboot.txt
http://onelanftp.co.uk/bscott/netconsole.reboot.txt
A suspicious moment occurring only in the failing case is:
[ 751.743255]
On 10/12/2011 03:46 PM, Barry Scott wrote:
Thanks to Michal's observation that swapoff failed we have now found the
root cause.
swapoff is called while all our production processes are still running.
We would have expected systemd to turn off swap after stopping most if not
all processes and
On 10/12/2011 04:54 PM, Barry Scott wrote:
What dependency is supposed to cause the swapoff to be after the production
processes are stopped?
The units' ordering should be something like this:
*.swap Before swap.target Before sysinit.target Before basic.target
Before production.service
This
On Tue, 11 Oct 2011 20:56:53 -0400 Dave Reisner wrote:
In the case of completion for the 'restart' verb, passing the invalid
unit name (the colums header) causes completion to cease functioning
entirely, with the error:
Failed to issue method call: Unit name UNIT is not valid.
This adds
On Thu, 03 Nov 2011 12:41:05 -0400 Michael D. Berger wrote:
However, in starting a TCP listener socket, from
bind(...) I now get EADDRNOTAVAIL which is
explained in man 2 bind, so I am still not
operational.
Do you use NetworkManager? The network interface may not be up yet when
your service
On 11/04/2011 03:11 AM, Michael D. Berger wrote:
[Service]
ControlGroupAttribute=cpu.rt_runtime_us 50
ExecStart=/usr/sbin/myDaemon --daemon
I'm guessing --daemon tells the program to daemonize itself.
In that case you need to add Type=forking and PIDFile=
See man
On 11/05/2011 06:09 PM, Michael D. Berger wrote:
Thanks to the help provided by members of the list,
myDaemon is now functioning correctly under systemd.
Now for myUpperDaemon:
IF myDaemon is enabled; then
myUpperDaemon must start after myDaemon
ELSE
myUpperDaemon must start anyway
On 11/14/2011 11:00 AM, floydsm...@aol.com wrote:
I can not systemctl enable rc.local.service in final fc16 - error is:
Failed to issue method call: No such file or directory
The unit is called rc-local.service.
$ systemctl list-unit-files|grep rc-local
rc-local.service
On Wed, 09 Nov 2011 20:48:31 +0100 Thomas Jarosch wrote:
The code should probably look like the statements above it.
Please verify, I just detected it using cppcheck.
Patch applied. Thanks!
Michal
___
systemd-devel mailing list
On 11/15/2011 10:10 PM, Mirco Tischler wrote:
2011/11/15 Manuel Amador (Rudd-O)rud...@rudd-o.com:
It's a multi-instance service. You can instance it several times based
on a parameter, much like tty@.service can be instantiated to be
tty@tty1.service.
Correct. In the instances of
On 11/15/2011 09:20 AM, Tom Gundersen wrote:
-After=systemd-readahead-collect.service systemd-readahead-replay.service
local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
rootfs-remount.service @localstatedir@.mount
What if /var/lib itself is a separate
On 11/16/2011 04:14 PM, Michael D. Berger wrote:
. On F16_64 can I now do:
systemctl start openvpn.service
, or perhaps:
systemctl start openvpn@.service
, or do I have to do something else?
If your config file is /etc/openvpn/foo.conf, then:
systemctl start openvpn@foo.service
On Fri, 18 Nov 2011 19:16:50 -0500 Michael D. Berger wrote:
So now if I want to enable openvpn so it would start
on boot, what do I do?
ln -s /lib/systemd/system/openvpn@.service \
/etc/systemd/system/multi-user.target.wants/openvpn@foo.service
Michal
On Fri, 18 Nov 2011 19:21:46 -0500 Michael D. Berger wrote:
Even though it is enabled, httpd fails to start on boot.
After boot, I can start it with no problem. I do have
a rather complex httpd.conf .
What does systemctl status httpd.service say after boot?
Michal
On Fri, 18 Nov 2011 20:06:59 -0500 Michael D. Berger wrote:
At level 3, seconds after boot:
# systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: failed since Fri, 18 Nov
On 11/22/2011 04:36 AM, Edward Z. Yang wrote:
3. Listing enabled services. We should not have to write horrible
scripts like this:
In F16 you can use systemctl list-unit-files.
Michal
___
systemd-devel mailing list
On 11/23/2011 07:26 AM, Devendra Talegaonkar wrote:
30systemd-stdout-syslog-bridge[78]: Failed to accept new connection:
Function not implemented
Your kernel or libc does not support the accept4() syscall.
Michal
___
systemd-devel mailing list
On 11/30/2011 10:49 AM, Chen Jie wrote:
(see the full syslog at
http://lists.freedesktop.org/archives/dbus/attachments/2025/e9c204bb/attachment-0001.obj)
The kernel modules failing to load indicate a problem with your kernel
installation. Please sort this problem out first before
On 11/22/2011 08:57 PM, Bill Nottingham wrote:
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index 106b12c..9a38e59 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -8,6 +8,7 @@
[Unit]
Description=/etc/rc.local Compatibility
On 11/15/2011 01:40 PM, Honza Horak wrote:
I'm thinking of what is the desired behavior if the command
ExecStartPost=somecommand fails.
If I understand it correctly, all other ExecStartPost= commands
execution is stopped, but the main process continues to work (and the
service is still active).
On Tue, 22 Nov 2011 15:45:34 -0500 Bill Nottingham wrote:
To do so, move the check for the bus to the bus-using portion of
list_unit_files(), and ensure that get_config_path doesn't abort when
checking the runtime path with --root.
---
src/install.c |5 ++---
src/systemctl.c |5
Chen Jie wrote:
Let me explain it further.
First syslogv() in dbus may block, while rsyslog.service is starting
and meanwhile the kernel socket buffer was full.
Attachment syslog-test.c was a program simulates the situation.
So while rsyslog.service is starting, on the systemd side:
1.
- Original Message -
Does the deadlock go away if you just modify rsyslog.service so
that
instead of stopping systemd-kmsg-syslogd in ExecStartPre it would
do it in ExecStartPost?
Yeah, it do the trick.
Great. People who are hitting this deadlock can use this as a temprorary
Michal Schmidt wrote:
systemd at least partially defends itself from a hanging syslog
by setting SO_SNDTIMEO to 5 seconds. Maybe even that is too much and
we could just make the socket completely non-blocking and just
fallback to kmsg when we get EAGAIN.
I believe there is a way to connect
Albert Strasheim wrote:
Any chance this can be rolled into an update for Fedora 16?
Yes. systemd-37-10.fc16 is in updates-testing:
https://admin.fedoraproject.org/updates/FEDORA-2012-0409
It's probably a bit tricky since journald landed in v38. I guess you
would either have to branch off
On 01/25/2012 03:57 PM, Lennart Poettering wrote:
On Wed, 25.01.12 11:11, Jan Engelhardt (jeng...@medozas.de) wrote:
I would actually prefer if it wrote that to the current tty that
invoked the start action, rather than the console which is stowed
away in a deep cellar...
We explicitly want
On 01/25/2012 05:34 PM, Bill Nottingham wrote:
Michal Schmidt (mschm...@redhat.com) said:
We could make systemctl start ... dump a few of the service's
lines from the journal before exiting.
At that point you're then trying to define heuristics about what the proper
value for 'a few
Tom Gundersen wrote:
It seems this was caused by:
commit 9ddc4a26e56b06cd7774a03597980351855d8d54
Author: Michal Schmidt mschm...@redhat.com
Date: Fri Jan 13 23:55:28 2012 +0100
mount: fix quota
quotacheck.service and quotaon.service were not pulled in for
fstab mounts
Colin Guthrie wrote:
So in this situation, as systemd is aiming for network.target, but
it's not actually reached it yet, systemctl condrestart nscd appears to
hang, presumably waiting for network.target to be reached (as nscd.service
is ordered After network.target).
Does reverting commit
On 05/10/2012 02:45 PM, Sven Anders wrote:
If I execute the systemd-cgls command, I see the tree but without
the command lines of the executables. I only see n/a.
open(/proc/300/cmdline, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 7
mmap2(NULL, 1075859456, PROT_READ|PROT_WRITE,
On 05/16/2012 01:07 PM, Colin Guthrie wrote:
This thread went a little tangential, so I'd like to bring it back to
the problem stated here.
Firstly, that was not my understanding of how things are supposed to
work, but perhaps Lennart or Kay can clarify.
I thought that the actual end point of
On 05/31/2012 05:46 PM, Daniel Drake wrote:
In the case of reboot (or poweroff), what does this mean?
plymouth-reboot.service is queued to start, and prefdm.service is
queued to stop. What does After= mean in this context, who comes
first?
'man systemd.unit' says:
If one unit with an ordering
Hello,
a few people were interested in seeing the git tree from which I
generate the patches for source RPMs in Fedora.
The tree is now available at:
git://fedorapeople.org/~michich/systemd.git
Gitweb is here:
http://fedorapeople.org/gitweb?p=michich/public_git/systemd.git
The branches of
On 06/19/2012 10:00 AM, Michal Sekletar wrote:
+if (job_type == JOB_STOP u-load_state == UNIT_ERROR
unit_active_state(u) == UNIT_INACTIVE) {
In case anyone's wondering why there's the check for the unit's active
state: It is possible to have units that are active and have a
is either specified by TimeoutSec or default. However another variant
which was proposed by Michal Schmidt, changes described behavior in a
way that timeout which is specified last in unit file is applied and
always overrides the previous settings.
I don't think this description explains
On 07/13/2012 03:59 PM, Michal Sekletar wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=752774
---
man/systemctl.xml | 33 +++-
src/shared/install.c | 78 +---
src/shared/unit-name.c | 12
On 09/16/2014 12:07 PM, Zbigniew Jędrzejewski-Szmek wrote:
Rather than forcing gcc to always produce colorized error messages
whether on tty or not, enable automatic colorization by ensuring
GCC_COLORS is set to a non-empty string.
Hi,
this idea was discussed and rejected before,
It's handled just fine by returning NULL.
---
src/shared/hashmap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c
index c4fde89..8225b8e 100644
--- a/src/shared/hashmap.c
+++ b/src/shared/hashmap.c
@@ -945,7 +945,6 @@ void *hashmap_next(Hashmap *h,
Anything that uses hashmap_next() almost certainly cares about the order
and needs to be a LinkedHashmap.
---
src/journal/journal-internal.h | 2 +-
src/journal/journalctl.c | 6 +++---
src/journal/sd-journal.c | 38 +++---
3 files changed, 23
on_conflict_dispatch() uses hashmap_steal_first() and then does
something non-trivial with it. It may care about the order.
---
src/resolve/resolved-dns-scope.c | 10 +-
src/resolve/resolved-dns-scope.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git
Test more corner cases and error states in several tests.
Add new tests for:
hashmap_move
hashmap_remove
hashmap_remove2
hashmap_remove_value
hashmap_remove_and_replace
hashmap_get2
hashmap_first
In test_hashmap_many additionally test with an intentionally bad hash
function.
---
The order of entries may matter here. Oldest entries are evicted first
when the cache is full.
(Though I don't see anything to rejuvenate entries on cache hits.)
---
src/journal/journal-file.c | 16
src/journal/journal-file.h | 2 +-
2 files changed, 9 insertions(+), 9
---
src/test/test-hashmap-plain.c | 20
1 file changed, 20 insertions(+)
diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c
index 8ea793d..f9553c9 100644
--- a/src/test/test-hashmap-plain.c
+++ b/src/test/test-hashmap-plain.c
@@ -380,6 +380,7 @@
-offset: 8; indent-tabs-mode: nil -*-*/
-
-/***
- This file is part of systemd.
-
- Copyright 2010-2014 Lennart Poettering
- Copyright 2014 Michal Schmidt
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published
The way process_closing() picks the first entry from reply_callbacks
and works with it makes it likely that it cares about the order.
---
src/libsystemd/sd-bus/bus-internal.h | 2 +-
src/libsystemd/sd-bus/bus-slot.c | 2 +-
src/libsystemd/sd-bus/sd-bus.c | 14 +++---
3 files
1 - 100 of 125 matches
Mail list logo