On Fri, 2014-11-07 at 08:26 +0100, Martin Pitt wrote:
> Patrick Häcker [2014-11-05 16:55 +0100]:
> > I you want to have permanent power saving activated for your devices, the
> > recommended way is to use udev (e.g.
> > https://wiki.archlinux.org/index.php/Power_saving#USB_autosuspend). Some
> >
On Thu, Nov 06, 2014 at 09:10:51PM -0800, Chris Leech wrote:
> > Not sure, maybe it's possible to detect this by scsi info in /sys.
>
> I took a look at what lsscsi is doing to guess at transport type. iSCSI
> is kind of ugly, FCoE is really ugly, and for both of those there exists
> a variety o
Lennart Poettering writes:
> On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote:
>
>> I think that this patch might be a bit ineffective, as it calls
>> unit_file_load() again just to get an InstallContext. I wasn't sure
>> how to get Also= targets in any other way.
>>
>> If such cha
Hi,
We need to switch to a different target after 30 min of starting that target.
Switching happens with isolate.
So we have a timer with OnActiveSec=30min witch starts a service that calls
systemctl isolate
This works like a charm... the first time the target is activated. The second
time we
Lennart Poettering wrote on 07/11/14 01:06:
> On Wed, 05.11.14 14:51, Colin Guthrie (gm...@colin.guthr.ie) wrote:
>
>> Colin Guthrie wrote on 03/11/14 08:02:
>>> Zbigniew Jędrzejewski-Szmek wrote on 02/11/14 18:18:
On Sun, Nov 02, 2014 at 02:04:20PM +, Colin Guthrie wrote:
> This mirr
Am 2014-11-07 04:07, schrieb Nikolaus Rath:
$ cat /lib/systemd/system-shutdown/debug.sh
#!/bin/sh
exec > /shutdown.log
exec 2>&1
mount -o remount,rw /
Well, you need to mount / rewrite *before* redirecting output into a
file. Try putting the 'mount -o remount,rw /' line to the top of the
script
I am starting my user services with systemctl --user as possible as I can.
I log in my session on VT with startx. I thus defined a first target,
called console.target, for services than do not need X (dbus,urxvtd,
ssh-agent, gpg-agent, tmux). The default.target is symlinked to it.
Unfortunately, I
Hello,
currently, when SELINUX=enforcing and SELINUXTYPE= are
set in /etc/selinux/config, systemd refuses to boot with
"Failed to load SELinux policy. Freezing."
Is this really what should happen? If SELINUX is set to permissive or
disabled, though, systemd happily continues booting. I think that
---
man/systemd-cryptsetup-generator.xml | 9 +-
src/cryptsetup/cryptsetup-generator.c | 380 +-
2 files changed, 199 insertions(+), 190 deletions(-)
diff --git a/man/systemd-cryptsetup-generator.xml
b/man/systemd-cryptsetup-generator.xml
index 3abb39d..ff94e88
---
man/kernel-command-line.xml | 2 ++
man/systemd-cryptsetup-generator.xml | 19 +++
src/cryptsetup/cryptsetup-generator.c | 32 ++--
3 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/man/kernel-command-line.xml b/man/kernel-c
---
man/systemd-cryptsetup-generator.xml | 11 ---
src/cryptsetup/cryptsetup-generator.c | 17 ++---
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/man/systemd-cryptsetup-generator.xml
b/man/systemd-cryptsetup-generator.xml
index ff94e88..d4a9cc7 100644
--- a
On Fri, 07.11.14 09:23, Oliver Neukum (oneu...@suse.de) wrote:
> > By coincidence I recently noticed something interesting in sysfs: My
> > USB devices seem to have an attribute "supports_autosuspend". These
>
> They are from the kernel and tell you that the drivers for the devices
> support auto
On Thu, 06.11.14 19:07, Nikolaus Rath (nikol...@rath.org) wrote:
> Hello,
>
> I'm having some trouble shutting down my system with systemd. What
> happens is the following:
>
> * If I execute "systemctl reboot" while a text console is active,
>everything works fine.
>
> * If I execute "sy
On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
> Lennart Poettering writes:
> > On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote:
> >
> >> I think that this patch might be a bit ineffective, as it calls
> >> unit_file_load() again just to get an InstallContext. I
On Fri, 2014-11-07 at 12:55 +0100, Lennart Poettering wrote:
> On Fri, 07.11.14 09:23, Oliver Neukum (oneu...@suse.de) wrote:
> > It is inconsistent. That is at least partially to the inability to find
> > general rules.
>
> So what would you recommend we do?
>
> Experiment with turning auto-sus
> My plan is to use after X is started a second target, let's call it
> wm.target, with all services relevant to the X session. For now, I
> have no idea how to define After=
> It can't be right after the console.target as X need to be started first.
I don't understand, if you start X manually, wh
On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote:
> On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
>
> > Lennart Poettering writes:
> > > On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote:
> > >
> > >> I think that this patch might be a bit ineffe
Hi there!
For anyone interested in tagging NVIDIA graphics devices with proprietary
drivers as "master-of-seat" for use with logind, I suggest the following
udev rule:
SUBSYSTEM=="drm", KERNEL=="card[0-9]*", ATTRS{vendor}=="0x10de",
DRIVERS=="nvidia", TAG+="master-of-seat"
If no /dev/dri/card* k
On Thursday, 6. November 2014, 14:28:12 Lennart Poettering wrote:
> Is "unattended-upgrades" a package of its own?
Yes, it's a separate package (although it's obviously closely coupled with
the apt package manager).
> If so, I'd probably ask the packagers to include drop-ins for
> reboot.target
Continuation of
http://lists.freedesktop.org/archives/systemd-devel/2014-November/025041.html.
Jan Synacek (1):
shared/install: when unit contains only Also=, report 'indirect'
man/systemctl.xml | 5 +
src/shared/install.c | 45 +++--
If a unit contains only Also=, with no Alias= or WantedBy=, it shouldn't
be reported as static. New 'indirect' status shall be introduced.
https://bugzilla.redhat.com/show_bug.cgi?id=864298
---
man/systemctl.xml | 5 +
src/shared/install.c | 45 +++---
Zbigniew Jędrzejewski-Szmek writes:
> On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote:
>> On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
>>
>> > Lennart Poettering writes:
>> > > On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote:
>> > >
>> > >>
Lennart Poettering writes:
> On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
>
>> Lennart Poettering writes:
>> > On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote:
>> >
>> >> I think that this patch might be a bit ineffective, as it calls
>> >> unit_file_load() aga
On Fri, Nov 07, 2014 at 03:02:49PM +0100, Patrick Häcker wrote:
> That should be possible. Currently the package contains
> /lib/systemd/system/unattended-upgrades.service which contains:
> > [Unit]
> > Description=Unattended Upgrades
> > DefaultDependencies=no
> > Before=shutdown.target reboot.ta
On Thursday 06 November 2014 at 11:02:44, David Herrmann wrote:
> Hi Ray
>
> On Thu, Nov 6, 2014 at 10:40 AM, David Herrmann wrote:
> > On Wed, Nov 5, 2014 at 4:11 PM, Ray Strode wrote:
> >>> So if you have no idea how to make that rule be generated only if
> >>> ENABLE_VCONSOLE is set by confi
Usually there are a few delay inhibitors all the time (NetworkManager,
Telepathy, etc.), but I'm only interested in the block ones.
---
src/login/inhibit.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index d5ea1d9..122c69d 10
On Fri, 07.11.14 14:24, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
> On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote:
> > On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
> >
> > > Lennart Poettering writes:
> > > > On Thu, 06.11.14 10:49, Jan Synac
On Fri, 07.11.14 11:41, Laércio de Sousa
(laercioso...@sme-mogidascruzes.sp.gov.br) wrote:
> Hi there!
>
> For anyone interested in tagging NVIDIA graphics devices with proprietary
> drivers as "master-of-seat" for use with logind, I suggest the following
> udev rule:
>
> SUBSYSTEM=="drm", KERN
On Fri, Nov 07, 2014 at 03:25:11PM +0100, Jan Synacek wrote:
> Zbigniew Jędrzejewski-Szmek writes:
> > On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote:
> >> On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote:
> >>
> >> > Lennart Poettering writes:
> >> > > On Thu,
On Fri, 07.11.14 16:45, Mantas Mikulėnas (graw...@gmail.com) wrote:
> Usually there are a few delay inhibitors all the time (NetworkManager,
> Telepathy, etc.), but I'm only interested in the block ones.
Applied! Thanks!
Lennart
--
Lennart Poettering, Red Hat
__
On Fri, 07.11.14 17:45, Ivan Shapovalov (intelfx...@gmail.com) wrote:
> On Thursday 06 November 2014 at 11:02:44, David Herrmann wrote:
> > Hi Ray
> >
> > On Thu, Nov 6, 2014 at 10:40 AM, David Herrmann
> > wrote:
> > > On Wed, Nov 5, 2014 at 4:11 PM, Ray Strode wrote:
> > >>> So if you
On Fri, 07.11.14 11:30, Jan Synáček (jsyna...@redhat.com) wrote:
> Hello,
>
> currently, when SELINUX=enforcing and SELINUXTYPE= are
> set in /etc/selinux/config, systemd refuses to boot with
> "Failed to load SELinux policy. Freezing."
>
> Is this really what should happen? If SELINUX is set to
On Fri, 07.11.14 09:38, Colin Guthrie (gm...@colin.guthr.ie) wrote:
> Lennart Poettering wrote on 07/11/14 01:06:
> > On Wed, 05.11.14 14:51, Colin Guthrie (gm...@colin.guthr.ie) wrote:
> >
> >> Colin Guthrie wrote on 03/11/14 08:02:
> >>> Zbigniew Jędrzejewski-Szmek wrote on 02/11/14 18:18:
> >>
On Fri, 07.11.14 15:18, Jan Synacek (jsyna...@redhat.com) wrote:
> }
> if (!isempty(state))
> log_syntax(unit, LOG_ERR, filename, line, EINVAL,
> @@ -1043,7 +1049,8 @@ static int unit_file_load(
> const char *path,
> const char *
On Thu, 06.11.14 18:32, Michael Marineau (michael.marin...@coreos.com) wrote:
> On Thu, Nov 6, 2014 at 6:02 PM, Lennart Poettering
> wrote:
> > On Thu, 06.11.14 17:48, Michael Marineau (michael.marin...@coreos.com)
> > wrote:
> >
> >> > So, what's the real usecase for all of this? Can you elabor
On Fri, 07.11.14 15:43, WaLyong Cho (walyong@samsung.com) wrote:
> On 11/07/2014 09:35 AM, Lennart Poettering wrote:
> > On Fri, 07.11.14 04:17, WaLyong Cho (walyong@gmail.com) wrote:
> >
> >> SMACK64
> >>Used to make access control decisions. In almost all cases
> >>the label giv
On Fri, 07.11.14 13:07, Oliver Neukum (oneu...@suse.de) wrote:
> On Fri, 2014-11-07 at 12:55 +0100, Lennart Poettering wrote:
> > On Fri, 07.11.14 09:23, Oliver Neukum (oneu...@suse.de) wrote:
>
> > > It is inconsistent. That is at least partially to the inability to find
> > > general rules.
> >
On 11/7/2014 8:36 AM, Lennart Poettering wrote:
> On Fri, 07.11.14 15:43, WaLyong Cho (walyong@samsung.com) wrote:
>
>> On 11/07/2014 09:35 AM, Lennart Poettering wrote:
>>> On Fri, 07.11.14 04:17, WaLyong Cho (walyong@gmail.com) wrote:
>>>
SMACK64
Used to make access control d
Am Freitag, den 07.11.2014, 01:59 +0100 schrieb Lennart Poettering:
> On Sun, 02.11.14 12:48, Thomas Meyer (tho...@m3y3r.de) wrote:
>
> > Hi,
> >
> > I tried to switch to the emergency target and back to the graphical target,
> > but this doesn't seem to work.
> >
> > Should this work, i.e.?
> >
>
> We could probably at least open up DefaultEnvironment= to specifier
> expansion, so that %t would work the same way as in unit files. I
> added a TODO list item for this now.
>
Thank you so much < This refers to the recent flame about systemd.
As a newbie, I can testify the dev team is doi
Hi,
I know that generators should log to /dev/kmsg during early boot.
But, when they are restarted later by systemcl daemon-reload;
is it better to write to the journal instead, by using systemd-cat for example ?
Or is it racy/forbidden ?
Greetings,
Alexandre Detiste
___
>
> I don't understand, if you start X manually, why don't you launch
> systemctl --user wm.target from your .xprofile or an equivalent file?
>
I maybe was not explicit enough.
I have a bunch of user services started as soon as I log in.
--
Lennart Poettering writes:
> On Fri, 07.11.14 15:18, Jan Synacek (jsyna...@redhat.com) wrote:
>
>> }
>> if (!isempty(state))
>> log_syntax(unit, LOG_ERR, filename, line, EINVAL,
>> @@ -1043,7 +1049,8 @@ static int unit_file_load(
>> const char *p
If a unit contains only Also=, with no Alias= or WantedBy=, it shouldn't
be reported as static. New 'indirect' status shall be introduced.
https://bugzilla.redhat.com/show_bug.cgi?id=864298
---
Changes in version 2
- don't pass the whole strv to the higher level calls, use bool instead
man/syst
When I start a container like this:
[root@limsdev ~]# systemd-nspawn -bD /home/limsbox --bind-ro=/usr/lib64
--bind-ro=/home/oracle/Ora12c/db
Is there any way I can stop the container root from being able to do this?:
~ # mount -o remount,rw /usr/lib64
___
On 11/07/2014 11:09 AM, Lennart Poettering wrote:
> On Fri, 07.11.14 11:30, Jan Synáček (jsyna...@redhat.com) wrote:
>
>> Hello,
>>
>> currently, when SELINUX=enforcing and SELINUXTYPE= are
>> set in /etc/selinux/config, systemd refuses to boot with
>> "Failed to load SELinux policy. Freezing."
>>
46 matches
Mail list logo