This patch makes the bash shell-completion show user units if --user is all
ready entered in the command line.
I really want to do the same for the zsh completion (as this is what I use,)
but I got horribaly stuck.
---
shell-completion/bash/systemctl | 9 -
1 file changed, 8 insertions(
Dear List,
I need to run some services in a private uts namespace, even if they
do not require full isolation.
I have seen that "PrivateNetwork" is available (per systemd.exec),
but it not what I want; likewise systemd-nspawn is not what I am
looking for.
I can do some "tricks" with scripts, but
On Mon, 08.04.13 13:34, Luca Giuzzi (luca.giu...@gmail.com) wrote:
> Dear List,
> I need to run some services in a private uts namespace, even if they
> do not require full isolation.
> I have seen that "PrivateNetwork" is available (per systemd.exec),
> but it not what I want; likewise systemd-
On Mon, Apr 8, 2013 at 3:06 PM, John Lane wrote:
> On 07/04/13 20:45, Mantas Mikulėnas wrote:
>> I use rbenv to manage different Ruby versions, and while it probably
>> doesn't offer the same functionality as rvm, it's also much simpler to
>> use: it only needs /shims to be added to $PATH.
>
> I w
On Fri, 05.04.13 22:02, Reindl Harald (h.rei...@thelounge.net) wrote:
> > We have decided to turn on persistancy in F19, and that's done via %post
> > hooks in the RPM.
> >
> > If you want to turn this off, set Storage=none or Storage=volatile in
> > journald.conf
>
> great - does F17 and F18 un
On 07/04/13 20:45, Mantas Mikulėnas wrote:
On Sun, Apr 7, 2013 at 10:21 PM, John Lane wrote:
I have been trying to replace an rc script with a systemd unit file. It is
for an rvm (ruby version manager) environment and it starts a documentation
web server. I tried to create a service unit thus:
Am 08.04.2013 14:09, schrieb Lennart Poettering:
> On Fri, 05.04.13 22:02, Reindl Harald (h.rei...@thelounge.net) wrote:
>
>>> We have decided to turn on persistancy in F19, and that's done via %post
>>> hooks in the RPM.
>>>
>>> If you want to turn this off, set Storage=none or Storage=volatile i
On Fri, 05.04.13 22:04, Anders Olofsson (anders.olofs...@axis.com) wrote:
>
> > > I'm seeing a problem with a service sometimes failing to start due to a
> > missing cgroup.
> > > After some debugging I've made the following observations:
> > >
> > > After exec_spawn() forks, the child will set t
From: Harald Hoyer
When switching root, i.e. LANG can be set to the locale of the initramfs
or "C", if it was unset. When systemd deserializes LANG in the real root
this would overwrite the setting previously gathered by locale_set().
To reproduce, boot with an initramfs without locale.conf or c
On Mon, 08.04.13 14:16, Reindl Harald (h.rei...@thelounge.net) wrote:
> > "none" turns off the journal's storage entirely, in which case it is
> > still highly useful for forwarding all logs from STDOUT/STDERR of the
> > various daemons to syslog, but won't store anything at all
> > anymore. "syst
On Mon, Apr 08, 2013 at 10:19:00AM +0200, Gary van der Merwe wrote:
> This patch makes the bash shell-completion show user units if --user is all
> ready entered in the command line.
>
> I really want to do the same for the zsh completion (as this is what I use,)
> but I got horribaly stuck.
Hm,
Am 08.04.2013 14:22, schrieb Lennart Poettering:
> On Mon, 08.04.13 14:16, Reindl Harald (h.rei...@thelounge.net) wrote:
>>> "none" turns off the journal's storage entirely, in which case it is
>>> still highly useful for forwarding all logs from STDOUT/STDERR of the
>>> various daemons to syslog
On Fri, 05.04.13 23:33, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
> > I had a go at debugging this... I think that the is the "return of the
> > va_arg and undefined aps" horror. The result is that in
> > test-bus-marshall.c:133
> > and test-bus-marshall.c:139 (at least), some of the
From: Harald Hoyer
When switching root, i.e. LANG can be set to the locale of the initramfs
or "C", if it was unset. When systemd deserializes LANG in the real root
this would overwrite the setting previously gathered by locale_set().
To reproduce, boot with an initramfs without locale.conf or c
On Sun, 07.04.13 14:30, Pascal (patate...@gmail.com) wrote:
> Hi,
>
>
> I need some help to (even) understand systemd process (philosophy)...
>
> How, from a service, stop the boot process if an error occurs in this
> service?
>
> For example, a bash script do a check and return false or true.
On Mon, 08.04.13 14:33, har...@redhat.com (har...@redhat.com) wrote:
> From: Harald Hoyer
>
> When switching root, i.e. LANG can be set to the locale of the initramfs
> or "C", if it was unset. When systemd deserializes LANG in the real root
> this would overwrite the setting previously gathered
Am 08.04.2013 14:42, schrieb Lennart Poettering:
> On Mon, 08.04.13 14:33, har...@redhat.com (har...@redhat.com) wrote:
>
>> From: Harald Hoyer
>>
>> When switching root, i.e. LANG can be set to the locale of the initramfs
>> or "C", if it was unset. When systemd deserializes LANG in the real roo
On Sat, 06.04.13 04:50, Askar Safin (safinas...@mail.ru) wrote:
> Please standardize and recommend new /etc/os-release parameter:
> ARCH. It will content architecture of this distro (i. e. i386,
> x86_64, ...). There are some cases when this value differs from
> current kernel architecture (as
On Friday 05 April 2013 18:42:20 Lennart Poettering wrote:
> On Fri, 05.04.13 17:27, Tvrtko Ursulin (tvrtko.ursu...@onelan.co.uk) wrote:
> > On Friday 05 April 2013 18:23:35 Lennart Poettering wrote:
> > > On Fri, 05.04.13 17:19, Tvrtko Ursulin (tvrtko.ursu...@onelan.co.uk)
wrote:
> > > > > Hmm, d
On Sun, 07.04.13 17:23, Umut Tezduyar (u...@tezduyar.com) wrote:
> Hi,
>
> I also agree that it makes most sense to have it formatted by
> format_timespan. I don't think we should have 2 different outputs (if on
> tty). I think it will only be confusing. If no one gets to it before me, I
> will h
On Sat, 06.04.13 10:05, Holger Hans Peter Freyther (hol...@freyther.de) wrote:
> From: Holger Hans Peter Freyther
>
> Avoid memory allocations to construct the path for files in the
> procfs. The procfs paths are way shorter than the PATH_MAX so we
> can use snprintf on a string located on the s
On Sat, 06.04.13 10:20, Holger Hans Peter Freyther (hol...@freyther.de) wrote:
> When systemd was compiled without audit support, do not collect the
> audit session and loginuid in the journal. This is saving a couple of
> syscalls and memory allocations per log message.
Looks good!
Applied!
Th
Hi all,
in one of opened bug reports against systemd
( https://bugzilla.novell.com/show_bug.cgi?id=812541 ), I found a
questionable behavior regarding try-restart:
when a "stop" call is pending (for instance reboot / shutdown / etc..),
a "try-restart" call will act as noop or as restart, dependin
On Sat, 06.04.13 10:20, Holger Hans Peter Freyther (hol...@freyther.de) wrote:
> Avoid the dynamic allocation for the _UID, _GID, and _PID strings.
> The maximum size of the string can be determined at compile time.
>
> The code has only been compile tested.
Applied this one too. Made three more
On Mon, 08.04.13 14:08, Tvrtko Ursulin (tvrtko.ursu...@onelan.co.uk) wrote:
> > > > Well, but in your example you unmounted a bind mount with a child, and
> > > > that resulted in the unmounting of the child in the source mount, too --
> > > > even though you never asked for that child mount to be
]] Lennart Poettering
> c) you can convert a 32bit debian userspace into a 64bit debian
>userspace with just a bit of apt package installation?
No, you can run multiple ABIs at the same time. Limiting yourself to
«32-bit» and «64-bit» is silly, you can transparently run, say, amd64,
i386 an
hey,
While experimenting a bit with the really nice api of libsystemd-bus
(seriously, I love it), I came across an idea that would probably make
using the library even easier.
The idea is to be able to read "trough" a variant using sd_bus_message_read()
f.ex you get a message with signature "sv"
On Monday 08 April 2013 15:57:10 Lennart Poettering wrote:
> On Mon, 08.04.13 14:08, Tvrtko Ursulin (tvrtko.ursu...@onelan.co.uk) wrote:
> > I am not sure, depends if you think the behaviour is correct or not.
> > Either
> > way, I would say that the systemd change to make root "rshared" by default
> > > > I'm seeing a problem with a service sometimes failing to start due to a
> > > missing cgroup.
> > > > After some debugging I've made the following observations:
> > > >
> > > > After exec_spawn() forks, the child will set the sticky bit for the
> > > > cgroup (in cg_set_task_access) but som
On Fri, 05.04.13 22:07, Reindl Harald (h.rei...@thelounge.net) wrote:
>
>
> Am 05.04.2013 18:51, schrieb Lennart Poettering:
> > On Tue, 02.04.13 01:53, Reindl Harald (h.rei...@thelounge.net) wrote:
> >
> >> Am 02.04.2013 01:28, schrieb Tom Gundersen:
> >>> That said, the fact that we are curre
>
> what I would like to be able to do is something like this:
> sd_bus_message_read(m, "sv+s", &first, &second);
oops, while reading the code i found out that this is already possible
and that the syntax is sd_bus_message_read(m, "sv", &first, "s",
&second);
so thank you very much :)
___
On Mon, 08.04.13 16:22, Peeters Simon (peeters.si...@gmail.com) wrote:
> hey,
>
> While experimenting a bit with the really nice api of libsystemd-bus
> (seriously, I love it), I came across an idea that would probably make
> using the library even easier.
>
> The idea is to be able to read "tro
Holger Hans Peter Freyther freyther.de> writes:
>
> The following two patches are compile tested only. The first one is
> to avoid work when systemd is compiled without audit support. The
> second is starting to remove dynamic allocations from the
> dispatch_message_real method.
I just went ah
В Mon, 08 Apr 2013 11:37:14 -0400
Jeff Mahoney пишет:
> On 4/8/13 8:49 AM, Tetsuo Handa wrote:
> > Hello.
> >
> > It seems to me that "mount --move /tmp/old/ /tmp/new/" is not working
> > on opensuse 12.3 kernel.
> >
> > linux:~ # uname -r
> > 3.7.10-1.1-desktop
> > linux:~ # mkdir -p /tmp/old/
---
Hi,
When I used instrospection with systemd --user, there was a warning from DBus,
the signature was "s" but in reality it was t.
Regards,
Ronny
---
src/core/dbus-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manag
On Mon, 08.04.13 18:22, Ronny Chevalier (rcheval...@aldebaran-robotics.com)
wrote:
> ---
> Hi,
>
> When I used instrospection with systemd --user, there was a warning
> from DBus, the signature was "s" but in reality it was t.
Thanks!
Applied!
Lennart
--
Lennart Poettering - Red Hat, Inc.
On Mon, 08.04.13 16:57, Anders Olofsson (anders.olofs...@axis.com) wrote:
> Ok, let's see if I can explain what we've done here.
>
> To introduce systemd in our system, we've started with just wrapping rc and
> all the old initscripts so we can get systemd running first and then
> afterwards st
On Mon, 08.04.13 14:02, Holger Freyther (hol...@freyther.de) wrote:
> Just adding the path to the dispatch_message_real signature is a bit
> tricky as the server_driver_message is creating a ucred with the pid,
> gid,uid of the journald process...
>
> Is it really needed to determine the cgroup o
On Sat, 06.04.13 15:40, Łukasz Stelmach (stl...@poczta.fm) wrote:
> Make "systemd-analyze dot" output only lines with units matching
> given glob(7) patterns. Add --from-pattern and --to-pattern options.
> Without any patterns all relationships are printed as before.
>
> A relationship must match
On Mon, Apr 08, 2013 at 07:06:44PM +0200, Lennart Poettering wrote:
> > Is it really needed to determine the cgroup of /proc/1 on every message?
> > Couldn't journald keep the variables for its identity around?
> a) use gcc's __thread support, i.e. have one static cache var per
>thread. Since
> I wonder if it wouldn't be a better idea to somehow provide a sane API
> for this functionality rather than defining a configuration file format
> for it?
I think there should be some plain text file with arch. Because this gives us
chance to determine arch of some foreign system even if we cann
On Fri, 01.03.13 16:24, Oleksii Shevchuk (alx...@gmail.com) wrote:
Heya! Sorry for the late review!
> +
> +coredump.conf
> +Coredump utility configuration
> file
We probably should spell this "core dump" rather than "coredump".
> +
> +
>I'm not sure what problem the proposal is trying to solve. Maybe it'd
>be clearer if that was provided.
I want to know what is the arches of the systems on my computer. I. e. I want
to do the following:
for DISK in /dev/sd*; do
mount "$DISK" /mnt
source /mnt/etc/os-release
echo "Arch of $
On Mon, Apr 08, 2013 at 09:59:50PM +0400, Askar Safin wrote:
> > I wonder if it wouldn't be a better idea to somehow provide a sane API
> > for this functionality rather than defining a configuration file format
> > for it?
> I think there should be some plain text file with arch. Because this
> gi
I'm trying out the new foobar.service.d way of overriding unit files.
I thought that I'd be able to have a number of service instances that
were overridden differently but that does not seem to be the case (or,
at least, I can't get it to work).
I first updated to systemd 200 and tried foobar
I'm running systemd-200, in journal-only mode (i.e. no
rsyslog). My journald.conf is all "factory defaults" apart
from setting SystemMaxUse=16M (and this limit is not yet met).
My /var/log/journal/ contains 12 files (dated from March
31 to the present); and of these journalctl --verify tells me
On 08/04/2013 14:24, Zbigniew Jędrzejewski-Szmek wrote:
Hm,
see the latest git. Something which does a similar job has been commited
recently (9e542e0b3 'shell-completion: work on session shell is --user is
used').
Zbyszek
Ah, wonderful.
___
system
Heya,
http://www.freedesktop.org/software/systemd/systemd-201.tar.xz
CHANGES WITH 201:
* journalctl --update-catalog now understands a new --root=
option to operate on catalogs found in a different root
directory.
* During shutdown after systemd has terminate
Hi,
Seems on my system, I have to load the module "efivars" before I can
mount my efivarfs (mount -t efivarfs efivarfs /sys/firmware/efi/efivars)
Now, systemd should do this magically but for some reason it doesn't do
that. If I do not have the efivars module loaded the above mount command
fails.
Andrey Borzenkov wrote:
> This seems to be yest another fallout of changed systemd policy - it
> now makes / shared mount.
>
> bor@opensuse:~> sudo mount --move /tmp/old /tmp/new
> mount: wrong fs type, bad option, bad superblock on /tmp/old,
>missing codepage or helper program, or other e
On Tue, Apr 09, 2013 at 12:02:09AM +0100, Colin Guthrie wrote:
> Hi,
>
> Seems on my system, I have to load the module "efivars" before I can
> mount my efivarfs (mount -t efivarfs efivarfs /sys/firmware/efi/efivars)
>
> Now, systemd should do this magically but for some reason it doesn't do
> th
On 04/08/2013 04:06 PM, Allin Cottrell wrote:
I'm running systemd-200,
Journal corruption thingy, well known, fixed in 201.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-deve
52 matches
Mail list logo