Re: [systemd-devel] [PATCH] delta: fix output alignment of [REDIRECTED] entries
[resent with cc:systemd-devel] On Sun, Dec 14, 2014 at 04:04:01PM +0300, Ivan Shapovalov wrote: > --- > src/delta/delta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/delta/delta.c b/src/delta/delta.c > index a3a121f..de963f7 100644 > --- a/src/delta/delta.c > +++ b/src/delta/delta.c > @@ -123,7 +123,7 @@ static int notify_override_redirected(const char *top, > const char *bottom) { > if (!(arg_flags & SHOW_REDIRECTED)) > return 0; > > -printf("%s%s%s %s %s %s\n", > +printf("%s%s%s %s %s %s\n", > ansi_highlight(), "[REDIRECTED]", ansi_highlight_off(), > top, draw_special_char(DRAW_ARROW), bottom); > return 1; Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH v2] blkid: Warn when rejecting a superblock with a bad csum
On Sat, Dec 13, 2014 at 01:56:56AM +0100, Gabriel de Perthuis wrote: > Bump libblkid requirement from 2.20 to 2.24. > util-linux 2.25 is actually required since > fdbbad981cc5da8bb4ed7e9b6646e7a114745ec5 > --- > README| 2 +- > configure.ac | 2 +- > src/udev/udev-builtin-blkid.c | 13 - > 3 files changed, 14 insertions(+), 3 deletions(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH] build-sys: remove commented-out m4 from user@.service
On Sun, Dec 14, 2014 at 07:12:34PM +0200, Mantas Mikulėnas wrote: > Otherwise this actually remains in the generated unit in /usr/lib. > > If you want to keep it commented out, a m4-compatible way would be: > > m4_ifdef(`HAVE_SMACK', > dnl Capabilities=cap_mac_admin=i > dnl SecureBits=keep-caps > ) Yeah, I guess we don't want to expose the hiccups in our internal process in this way. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] [PATCH] build-sys: remove commented-out m4 from user@.service
Otherwise this actually remains in the generated unit in /usr/lib. If you want to keep it commented out, a m4-compatible way would be: m4_ifdef(`HAVE_SMACK', dnl Capabilities=cap_mac_admin=i dnl SecureBits=keep-caps ) --- units/u...@.service.m4.in | 4 1 file changed, 4 deletions(-) diff --git a/units/u...@.service.m4.in b/units/u...@.service.m4.in index 0daa43a..1e21d51 100644 --- a/units/u...@.service.m4.in +++ b/units/u...@.service.m4.in @@ -17,7 +17,3 @@ ExecStart=-@rootlibexecdir@/systemd --user Slice=user-%i.slice KillMode=mixed Delegate=yes -#m4_ifdef(`HAVE_SMACK', -#Capabilities=cap_mac_admin=i -#SecureBits=keep-caps -#) -- 2.2.0 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [ANNOUNCE] systemd v218
On Sun, Dec 14, 2014 at 10:32:42AM -0500, Mike Gilbert wrote: > On Wed, Dec 10, 2014 at 7:16 PM, Lennart Poettering > wrote: > > Heya! > > > > Here's the next version of systemd, v218: > > > > http://www.freedesktop.org/software/systemd/systemd-218.tar.xz > > Hi Lennart, > > It looks like the tarball is missing units/user/systemd-consoled.service. > > make[2]: *** No rule to make target > 'units/user/systemd-consoled.service.in', needed by > 'units/user/systemd-consoled.service'. Stop. > > Please make sure you configure with --enable-terminal when creating the > tarball. Thanks for the report. Should be fixed in git. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [ANNOUNCE] systemd v218
On Wed, Dec 10, 2014 at 7:16 PM, Lennart Poettering wrote: > Heya! > > Here's the next version of systemd, v218: > > http://www.freedesktop.org/software/systemd/systemd-218.tar.xz Hi Lennart, It looks like the tarball is missing units/user/systemd-consoled.service. make[2]: *** No rule to make target 'units/user/systemd-consoled.service.in', needed by 'units/user/systemd-consoled.service'. Stop. Please make sure you configure with --enable-terminal when creating the tarball. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] "quiet" on kernel command line also prevents logging to journal
Before commit d7b15e0a0161e8fd823bffd61a4799364871582f "quiet" would suppress console messages but still do normal logging. Now "quiet" also clamps log level to NOTICE meaning that all messages about starting/stopping services are no more logged. Is this change intentional? This makes it rather hard to debug any problem related to service startup order. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Using `systemctl edit` on "invalid" unit names
On Saturday 13 December 2014 at 15:34:01, Ronny Chevalier wrote: > 2014-12-13 11:33 GMT+01:00 Ivan Shapovalov : > > Hello all, > > Hi, > > > > > it seems that the newly added `systemctl edit` command requires its > > arguments > > to be valid unit names. > > > > This causes `edit` operation to fail in apparently valid use-cases like > > > > systemctl edit getty@.service > > This is fixed in git now, thanks! > > > or > > systemctl edit autovt@tty1.service > > > > In second case, the error message is especially cryptic: > > "autovt@tty1.service ignored: not found". > > It worked before and it still works for me. Do you have "getty@tty1.service" explicity enabled? I do have. > > Actually I understand what it does mean: systemctl asks the manager to show > > unit's FragmentPath -> the manager tries to load the unit -> loading fails > > with > > "File exists" because getty@tty1.service is already instantiated. > > I don't see why it should fail for this reason ? > > > > > (BTW, it's a separate question: is this failure valid or is it a bug?) > > > > systemctl edit getty@.service, should have worked before so yes this was a > bug. Now both `edit getty@` and `edit getty@tty1` work, but I'd expect the latter to honor the template parameter; i. e. create a drop-in for getty@tty1.service... Is this possible? -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] [PATCH] delta: fix output alignment of [REDIRECTED] entries
--- src/delta/delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/delta/delta.c b/src/delta/delta.c index a3a121f..de963f7 100644 --- a/src/delta/delta.c +++ b/src/delta/delta.c @@ -123,7 +123,7 @@ static int notify_override_redirected(const char *top, const char *bottom) { if (!(arg_flags & SHOW_REDIRECTED)) return 0; -printf("%s%s%s %s %s %s\n", +printf("%s%s%s %s %s %s\n", ansi_highlight(), "[REDIRECTED]", ansi_highlight_off(), top, draw_special_char(DRAW_ARROW), bottom); return 1; -- 2.1.3 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Execute custom command whenever network interface appears
Hello, I read manual about systemd-networkd module (http://www.freedesktop.org/software/systemd/man/systemd.network.html), and as far as I know, I can do only basic actions (like run dhcp, or assign static addresses/mac/routes and so on), but in general I want to run some script or command. Here is real world example - https://wiki.archlinux.org/index.php/ZTE_MF_823_(Megafon_M100-3)_4G_Modem If you are using usb modem, you should 1) run dhcp 2) run curl/wget with special url so, my question, it it possible just now (how?)? If not, what is the best approach to accomplish described above task? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel