move selinux label APIs to selinux-label.ch. And each security label
apis have mac_{selinux/smack}_ prefix.
---
src/core/main.c | 4 +-
src/core/namespace.c | 4 +-
src/core/selinux-setup.c | 4 +-
src/core/socket.c | 24 +--
src/hostname/hostnamed.c
Am 26.08.2014 um 22:17 schrieb Ivan Shapovalov:
This can be used to initiate a resume from hibernation by path to a swap
device containing the hibernation image.
The respective templated unit is also added. It is instantiated using
path to the desired resume device.
Really great stuff, this
On Wed, Aug 27, 2014 at 10:18 AM, Thomas Bächler tho...@archlinux.org wrote:
+[Unit]
+Description=Resume from hibernation using device %f
+Documentation=man:systemd-hibernate-resume@.service(8)
+DefaultDependencies=no
+BindsTo=%i.device
What's the purpose of BindsTo= as opposed to Requires=
On Wednesday 27 August 2014 at 08:18:38, Thomas Bächler wrote:
Am 26.08.2014 um 22:17 schrieb Ivan Shapovalov:
This can be used to initiate a resume from hibernation by path to a swap
device containing the hibernation image.
The respective templated unit is also added. It is
Apologies if this isn't the appropriate mailing list to raise this question.
Is there any way to override dependencies without resorting to editing
files in /lib?
For example, with a stock EL7.0 machine, getty.target is wanted by
multi-user.target through configuration in /lib/systemd. I'd
Am 27.08.2014 um 09:22 schrieb Ivan Shapovalov:
+[Unit]
+Description=Resume from hibernation using device %f
+Documentation=man:systemd-hibernate-resume@.service(8)
+DefaultDependencies=no
+BindsTo=%i.device
What's the purpose of BindsTo= as opposed to Requires= here. They are
both the
On 26.08.2014 22:28, Lennart Poettering wrote:
On Tue, 26.08.14 22:11, Lukasz Stelmach (stl...@poczta.fm) wrote:
Greetings.
According to systemd.special(7) all services where correct time is
essential should be ordered after time-sync.target. Implicitly this
means that if systemd-timesyncd
Hi Ivan,
Great job!
I was wondering if a ./configure switch makes sense to disable it.
Embedded devices won't be using it.
Thanks
On Sat, Aug 23, 2014 at 2:47 PM, Ivan Shapovalov intelfx...@gmail.com wrote:
This patchset allows systemd to parse resume= kernel command line parameter
and
On 08/27/2014 04:54 AM, Lennart Poettering wrote:
On Tue, 26.08.14 21:52, Lennart Poettering (lenn...@poettering.net) wrote:
On Thu, 21.08.14 12:58, WaLyong Cho (walyong@samsung.com) wrote:
If selinux is disabled and smack is only enabled, smack label is
relable-ed by label_fix. To
Hi!
Is there a way to force a DHCPv4 release/renew with systemd-networkd?
- Mads
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Hallo
During a task of migration of multiple servers to a systemd-based
distribution I was wondering if there would be a way of setting the
retentiontime of journald per unit.
In some cases e.g. there are limits for special program e.g. webserver
where it is not allowed to keep the logs as long
On Tue, 2014-08-26 at 14:00 +0200, Lennart Poettering wrote:
On Tue, 26.08.14 12:17, Tanu Kaskinen (tanu.kaski...@linux.intel.com) wrote:
Hi,
If I want to designate some sound card to be shared between seats,
then I suppose that sound card shouldn't be assigned to any seats.
However,
On Wednesday 27 August 2014 at 03:16:10, Zbigniew Jędrzejewski-Szmek wrote:
On Tue, Aug 26, 2014 at 10:21:59PM +0200, Lennart Poettering wrote:
On Wed, 27.08.14 00:17, Ivan Shapovalov (intelfx...@gmail.com) wrote:
This patchset allows systemd to parse resume= kernel command line
On Wed, Aug 27, 2014 at 3:24 AM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Tue, Aug 26, 2014 at 08:49:29PM -0400, Gary Mort wrote:
Socket based activation for systemd is a really cool feature for my
dev system.
Prior to using socket based activation, on my dev system I would
On Tue, Aug 26, 2014 at 09:08:47AM -0700, Marcel Holtmann wrote:
ConnMan is a single daemon solution doing NTP, DHCP and DNS all in
one place. Any sort of callouts are costing time. And that is time
that has a visible user impact. There is nothing that justifies to
have a bit more nanosecond
Lennart Poettering píše v Út 26. 08. 2014 v 20:26 +0200:
On Tue, 26.08.14 13:36, Lukas Nykryn (lnyk...@redhat.com) wrote:
Looks good! Please commit!
---
src/shared/install.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/shared/install.c
On Wed, Aug 27, 2014 at 10:17 AM, Mads m...@ab3.no wrote:
Is there a way to force a DHCPv4 release/renew with systemd-networkd?
We don't currently allow dynamic interaction with networkd, but you
can force renew the release by either restarting networkd or
unplugging/replugging the cable (or
On Tue, Aug 26, 2014 at 10:28:54PM +0200, Lennart Poettering wrote:
On Tue, 26.08.14 22:11, Lukasz Stelmach (stl...@poczta.fm) wrote:
Greetings.
According to systemd.special(7) all services where correct time is
essential should be ordered after time-sync.target. Implicitly this
On Wed, Aug 27, 2014 at 07:51:17AM +0100, Alastair Scobie wrote:
Apologies if this isn't the appropriate mailing list to raise this question.
Is there any way to override dependencies without resorting to
editing files in /lib?
For example, with a stock EL7.0 machine, getty.target is
On Wed, Aug 27, 2014 at 11:18:11AM +0200, Umut Tezduyar Lindskog wrote:
On Wed, Aug 27, 2014 at 3:24 AM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Tue, Aug 26, 2014 at 08:49:29PM -0400, Gary Mort wrote:
Socket based activation for systemd is a really cool feature for my
dev
If one has a config like:
d /tmp 1777 root root -
X /tmp/important_mount
All files below /tmp/important_mount will be deleted as the
/tmp/important_mount item will spuriously inherit a max age of 0
from /tmp.
/tmp has a max age of 0 but age_set is (of course) false.
Fix this by checking -age_set
On Wed, Aug 27, 2014 at 06:58:17PM +1200, Chris Tillman wrote:
Ummm, luser here, how would I know if it was BE mode? That would stand for
big-endian? I reckon so, as I wouldn't know how to change it. /proc/cpuinfo
didn't mention it.
Yeah, big-endian. With PowerPC it is more complicated since it
I've just been pointed to this discussion from #debian-systemd, where I dropped
in to suggest that Debian packaging of systemd should probably abort
installation if incompatible config like this is detected (I ended up with a
non-booting test server, no harm done).
I thought I'd help
---
src/timesync/timesyncd-manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index d80c72f..60f39c6 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -574,7
---
src/timesync/timesyncd-manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index 9f12149..d1f77a8 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -735,7
When I was looking at the timesyncd code I noticed few issues that I
thought could be easily fixed and you might be interested in.
The last two patches is an attempt to fix the problem with frequent
polling. I'm not sure if this is robust enough, I feel like a minor
change in the code could break
When all servers are exhausted, wait for one poll interval before trying
to connect again to the first server in the list. Also, keep increasing
the polling interval to make sure a client not getting any valid replies
will not send requests to any server more frequently than is allowed by
the
NTPv4 servers don't reply with unsynchronized status when they lost
synchronization, they only keep increasing the root dispersion and it's
up to the client to decide at which point they no longer consider it
synchronized.
Ignore replies with root distance over 5 seconds.
---
After receiving a reply from the server, allow two missed replies before
switching to another server to avoid unnecessary clock hopping when
packets are getting lost in the network.
---
src/timesync/timesyncd-manager.c | 27 ++-
src/timesync/timesyncd-manager.h | 1 +
2
---
src/timesync/timesyncd-manager.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index 3339606..2b0580c 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
The kernel timestamp (recv_time) is made earlier than current time
(now_ts), use the timestamp captured before sending packet directly.
---
src/timesync/timesyncd-manager.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/timesync/timesyncd-manager.c
On 08/27/2014 03:49 AM, Lennart Poettering wrote:
On Tue, 26.08.14 18:11, Mantas Mikulėnas (graw...@gmail.com) wrote:
On Tue, Aug 26, 2014 at 5:07 PM, WaLyong Cho walyong@samsung.com wrote:
This case really shouldn't be happen. (But actually sometime that was
happen.) Eeven if happened
Hi Miroslav,
ConnMan is a single daemon solution doing NTP, DHCP and DNS all in
one place. Any sort of callouts are costing time. And that is time
that has a visible user impact. There is nothing that justifies to
have a bit more nanosecond accuracy of synchronized time than making
the user
---
man/systemd.unit.xml | 13 +
src/core/condition.c | 17 +
src/core/load-fragment-gperf.gperf.m4 | 1 +
src/shared/condition-util.c | 1 +
src/shared/condition-util.h | 1 +
5 files changed, 33 insertions(+)
This is as proposed by Thomas in review of my hibernate-resume patchset.
The objective benefit of this change is that in_initrd() function is used
for checking, which not only checks for /etc/initrd-release, but also verifies
that the rootfs is on a virtual device.
Ivan Shapovalov (2):
units:
---
units/initrd-cleanup.service.in| 2 +-
units/initrd-fs.target | 2 +-
units/initrd-parse-etc.service.in | 2 +-
units/initrd-root-fs.target| 2 +-
units/initrd-switch-root.service.in| 2 +-
units/initrd-switch-root.target
They were left from an early review iteration, when hibernate-resume
functionality was intended to work also outside of initramfs.
Now this is not the case, and these dependencies became redundant
as systemd-fsck-root.service can never be part of initramfs, and
systemd-remount-fs.service makes
On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote:
This is as proposed by Thomas in review of my hibernate-resume patchset.
The objective benefit of this change is that in_initrd() function is used
for checking, which not only checks for /etc/initrd-release, but also
On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote:
On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote:
This is as proposed by Thomas in review of my hibernate-resume patchset.
The objective benefit of this change is that in_initrd() function is
On Wed, 27.08.14 04:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
+}
+
+bcon = context_new(mycon);
+if (!bcon)
+goto out;
This will return 0. Should return log_oom() or ENOMEM instead?
Please use ENOMEM here, don't use log_oom().
On Wed, 27.08.14 10:19, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote:
Hi Ivan,
Great job!
I was wondering if a ./configure switch makes sense to disable it.
Embedded devices won't be using it.
Sure! I'd be happy to merge a patch that makes this compile-time optional.
Lennart
--
On Wed, 27.08.14 13:17, Ivan Shapovalov (intelfx...@gmail.com) wrote:
On Wednesday 27 August 2014 at 03:16:10, Zbigniew Jędrzejewski-Szmek wrote:
On Tue, Aug 26, 2014 at 10:21:59PM +0200, Lennart Poettering wrote:
On Wed, 27.08.14 00:17, Ivan Shapovalov (intelfx...@gmail.com) wrote:
On Wed, 27.08.14 08:18, Thomas Bächler (tho...@archlinux.org) wrote:
+[Unit]
+Description=Resume from hibernation using device %f
+Documentation=man:systemd-hibernate-resume@.service(8)
+DefaultDependencies=no
+BindsTo=%i.device
What's the purpose of BindsTo= as opposed to Requires=
On Wed, 27.08.14 10:59, Andrei Borzenkov (arvidj...@gmail.com) wrote:
On Wed, Aug 27, 2014 at 10:18 AM, Thomas Bächler tho...@archlinux.org wrote:
+[Unit]
+Description=Resume from hibernation using device %f
+Documentation=man:systemd-hibernate-resume@.service(8)
+DefaultDependencies=no
From: Thomas Suckow thomas.suc...@pnnl.gov
From: Lennart Poettering lenn...@poettering.net
Note that a concept of mount at boot if it is there, otherwise don't
cannot work.
It worked until a week or two ago. I want it back.
I'm sure you're right that in the abstract, it cannot
On Wed, 27.08.14 09:47, HATAYAMA, Daisuke (d.hatay...@jp.fujitsu.com) wrote:
Sounds like the right option here... I have now added a slightly
different patch (1dedb74a2e1d840b531b76b01a76979f3b57456b) that does
this.
Thanks! But this could still hang in very rare case becuase the reset is
Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov:
On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote:
On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote:
This is as proposed by Thomas in review of my hibernate-resume patchset.
The objective benefit of this
On Aug 27, 2014 10:03 PM, Dale R. Worley wor...@alum.mit.edu wrote:
From: Thomas Suckow thomas.suc...@pnnl.gov
From: Lennart Poettering lenn...@poettering.net
Note that a concept of mount at boot if it is there, otherwise
don't
cannot work.
It worked until a week or two ago.
On Mon, Aug 11, 2014 at 10:19 AM, Luis R. Rodriguez mcg...@suse.com wrote:
On Mon, Aug 11, 2014 at 12:57 PM, Lennart Poettering
lenn...@poettering.net wrote:
On Mon, 11.08.14 18:39, Luis R. Rodriguez (mcg...@suse.com) wrote:
This looks really wrong. We shouldn't permit worker processes to be
On Wed, Aug 27, 2014 at 03:51:58PM -0700, Luis R. Rodriguez wrote:
On Mon, Aug 11, 2014 at 10:19 AM, Luis R. Rodriguez mcg...@suse.com wrote:
On Mon, Aug 11, 2014 at 12:57 PM, Lennart Poettering
lenn...@poettering.net wrote:
On Mon, 11.08.14 18:39, Luis R. Rodriguez (mcg...@suse.com) wrote:
On Wed, Aug 27, 2014 at 05:07:10PM -0700, Luis R. Rodriguez wrote:
Hey, if you have patches already, I'll be glad to look at them :)
OK well I'll spin what I have then, but I'm reviewing Wu's solution
from February as well. I take it we'd want the async_schedule()
approach rather that one
В Thu, 28 Aug 2014 00:31:49 +0300
Mantas Mikulėnas graw...@gmail.com пишет:
On Aug 27, 2014 10:03 PM, Dale R. Worley wor...@alum.mit.edu wrote:
From: Thomas Suckow thomas.suc...@pnnl.gov
From: Lennart Poettering lenn...@poettering.net
Note that a concept of mount at boot if
52 matches
Mail list logo