Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Mantas Mikulėnas
On Sat, Apr 4, 2015 at 1:44 PM, Andrei Borzenkov arvidj...@gmail.com wrote: В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas graw

Re: [systemd-devel] SystemD, Gnome permission problems

2015-04-10 Thread Mantas Mikulėnas
-settings-daemon is just being unnecessarily verbose about that. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] sshd.service fails on boot when primary listener is a bridge (br0) instead of real interface (eth0). What dependency is needed?

2015-04-10 Thread Mantas Mikulėnas
for *anything; *it needs the provider-specific services to also be enabled, like NetworkManager-wait-online.service (similarly for systemd-networkd and ifupdown). -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Use a specific device ?

2015-06-05 Thread Mantas Mikulėnas
like in /dev/disk ? /dev/tty/by-path/ 60-serial.rules:16:ENV{ID_PATH}==?*, ENV{.ID_PORT}==, SYMLINK+=serial/by-path/$env{ID_PATH} 60-serial.rules:17:ENV{ID_PATH}==?*, ENV{.ID_PORT}==?*, SYMLINK+=serial/by-path/$env{ID_PATH}-port$env{.ID_PORT} -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] systemd-networkd: IPForward with ipv6

2015-06-08 Thread Mantas Mikulėnas
, and it is frankly confusing as duck. But they aren't broken nor ignored, no. -- Mantas Mikulėnas On Jun 8, 2015 23:00, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 19:18, Sébastien Luttringer (se...@seblu.net) wrote: Hello, Since systemd v220, IPForward= parameter

Re: [systemd-devel] Bind key combination to isolate emergency mode

2015-06-20 Thread Mantas Mikulėnas
in case of heavy swapping, Alt+SysRq+E/I will sigterm/sigkill all programs (systemd will restart gettys afterwards), and Alt+SysRq+N will renice high-priority processes. You need to enable this via sysctl.conf though. -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] SysVInit service migration to systemd

2015-06-26 Thread Mantas Mikulėnas
native sd_journal_send(3) http://www.freedesktop.org/software/systemd/man/sd_journal_send.html – so that already covers most services. You could also use rsyslogd to feed messages from custom text logs into the journal, using its omjournal module. -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-14 Thread Mantas Mikulėnas
it. Early during boot, the system has very little entropy available from other sources, so it is common to save some random data from last boot and provide it to the PRNG later. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd

Re: [systemd-devel] systemctl as non-root

2015-05-29 Thread Mantas Mikulėnas
component will be missing, and hence systemd refuses to talk to any unprivileged clients. Hmm, in a kdbus world, systemd (the service) itself would be responsible for policy checks anyway, wouldn't it? I mean, it already does the polkit/selinux checks even on dbus1 systems. -- Mantas Mikulėnas graw

Re: [systemd-devel] systemctl disable service not working as expected

2015-05-29 Thread Mantas Mikulėnas
enable/disable PA as per need. How can I disable PA in such a scenario? You could set autospawn = no in pulse-client.conf(5). -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-02 Thread Mantas Mikulėnas
/RootStorageDaemons/ -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] SysVInit service migration to systemd

2015-06-29 Thread Mantas Mikulėnas
On Jun 29, 2015 16:58, Lesley Kimmel ljkimme...@hotmail.com wrote: Jonathan; Thanks for the background and information. Since you clearly seem to have a grasp of systemd please humour me with a few more questions (some of them slightly ignorant): a) Why are PID bad? b) Why are lock files

Re: [systemd-devel] HEADS-UP: splitting python-systemd out

2015-07-06 Thread Mantas Mikulėnas
if those release tarballs are generated by github on the fly and might have different md5sums? They should be identical regardless – git-archive tries to generate reproducible archives (assuming same parameters), and afaik that's also what GitHub uses. -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] Monitoring services start event from kdbus with sd-bus API

2015-06-30 Thread Mantas Mikulėnas
First, are you actually switching your bus connection to monitor mode? In kdbus (and probably even in future DBus) there is a distinct monitor mode which must be enabled to capture other peers' bus traffic. Adding a match is not enough for that. Second, your approach won't work anyway. There

[systemd-devel] udev now crashes in daemon mode

2015-05-24 Thread Mantas Mikulėnas
Arch Linux with the traditional mkinitcpio-based initramfs, which starts udev using systemd-udevd --daemon --resolve-names=never.) -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] How to wait for specific interface/IP?

2015-05-23 Thread Mantas Mikulėnas
NetworkManager has configured the bridge and failing because it cannot bind to the bridge's IP address. dnsmasq has the bind-dynamic option for such situations. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] udev now crashes in daemon mode

2015-05-26 Thread Mantas Mikulėnas
, Mantas Mikulėnas graw...@gmail.com wrote: So, udev v220 crashes in my initramfs with the following message: starting version v220 Assertion 'manager-pid == getpid()' failed at src/udev/udevd.c:568, function ev Aborting. It seems main calls manager_new() before forking, so the parent PID

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Mantas Mikulėnas
-user/bus;unix:path=$XDG_RUNTIME_DIR/bus. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] network configuration

2015-08-17 Thread Mantas Mikulėnas
networkd or NetworkManager could add rules for source-based routing by default – it would make some configurations (like two default routes) much easier to use... -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Option substitution in unit configuration files?

2015-08-16 Thread Mantas Mikulėnas
, and tell the service to use /run/myservice/myservice.pid. It might be simpler than touch+chown, and a bit cleaner. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-19 Thread Mantas Mikulėnas
, in fact, the uaccess tag is consumed by: 73-seat-late.rules:15:TAG==uaccess, ENV{MAJOR}!=, RUN{builtin}+=uaccess So the ordering might be very relevant. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
for this. The user bus address is kernel:path=/dev/kdbus/$UID-user/bus;unix:runtime=yes (if I got the syntax right?), or kernel:path=/dev/kdbus/$UID-user/bus;unix:path=/run/user/$UID/bus. (Technically the same can be done with dbus 1.8.x as well, but AFAIK the developers do not approve.) -- Mantas

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
be the very latest version as well.) [Also that's some *weird* quoting style of yours] -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 7:13 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 19/08/15 14:12, Mantas Mikulėnas wrote: The user bus address is ... tried by default in libdbus 1.9, GLib 2.45, and sd-bus; so you don't need to set DBUS_SESSION_BUS_ADDRESS at all, unless you need

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
. I don't know how at-spi works in general. But AFAIK it launches its own separate bus anyway (I see dbus-daemon --config-file=/etc/at-spi2/accessibility.conf), so it could continue doing that. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel

Re: [systemd-devel] grant users access to certain services only

2015-08-21 Thread Mantas Mikulėnas
On Fri, Aug 21, 2015 at 1:29 PM, Dominick Grift dac.overr...@gmail.com wrote: On Fri, Aug 21, 2015 at 01:10:51PM +0300, Mantas Mikulėnas wrote: snip i think it kind of sucks that systemctl --user list-units can be used to determine who is currently logged in. ( it shows active mount

Re: [systemd-devel] grant users access to certain services only

2015-08-21 Thread Mantas Mikulėnas
On Fri, Aug 21, 2015 at 1:43 PM, Dominick Grift dac.overr...@gmail.com wrote: On Fri, Aug 21, 2015 at 01:38:28PM +0300, Mantas Mikulėnas wrote: Do they have access to `cat /proc/self/mounts`? Ouch yes... ok that is a dead end i suppose Right. That was my point. Restricting individual

Re: [systemd-devel] Calculating Web page loads accurately with systemd-nspawn's network-veth Xorg

2015-08-23 Thread Mantas Mikulėnas
Xorg server. Any tips how to manage this mapping? I need network isolation going for accurate measurements from $(grep firefox /proc/net/dev), with hopefully _no Xorg traffic_ shown. :} Try adding --bind=/tmp/.X11-unix, for the named X11 sockets. -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] udev uaccess tag does not support hotplug for some devices

2015-08-20 Thread Mantas Mikulėnas
of udev rules, but it only does so when switching sessions; it doesn't do anything when a new device is connected.) -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] grant users access to certain services only

2015-08-21 Thread Mantas Mikulėnas
` doesn't? `systemd --user` runs with the same privileges as the user, anyway. So if your SELinux policy is more permissive to systemd than regular programs, it's a bit weird, not to mention possibly insecure. -- Mantas Mikulėnas graw...@gmail.com ___ systemd

Re: [systemd-devel] user/session buses

2015-08-22 Thread Mantas Mikulėnas
understand, Although it's actually a pitty. I believe it could be useful in some cases notably remote login, not quite sure though. W dniu 22.08.2015 o 16:58, Mantas Mikulėnas pisze: Well, you just wouldn't have more than one graphical session. That's part of the general plan afaik. Note

Re: [systemd-devel] Delaying device service creation

2015-06-30 Thread Mantas Mikulėnas
Options: - Configure it as part of ExecStart if possible. - Configure it using a second .service unit (oneshot), and depend on that one. - Do something with udev to mark unconfigured devices with SYSTEMD_READY=0? Not sure how. But if you can do this, it'll directly affect the readiness of the

Re: [systemd-devel] Errors/warnings when cloning systemd

2015-06-29 Thread Mantas Mikulėnas
these days. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Nagios service fails

2015-07-30 Thread Mantas Mikulėnas
On Thu, Jul 30, 2015 at 4:20 PM, Sakhi Hadebe sa...@sanren.ac.za wrote: Jul 30 15:13:30 monitor.sanren.ac.za nagios[32281]: *** One or more problems was encountered while processing the config files... That sounds like a nagios problem? -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] in-kernel structured logging

2015-07-30 Thread Mantas Mikulėnas
://git.kernel.org/linus/c4e00daaa96d https://git.kernel.org/linus/3b552b92817c Rsyslog can import the structured data from /dev/kmsg: http://www.rsyslog.com/doc/v8-stable/configuration/modules/imkmsg.html -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel

Re: [systemd-devel] Complicated SysVInit Migration

2015-07-30 Thread Mantas Mikulėnas
instances.) -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Suggestion for a lowlevel fsnotify change daemon.

2015-07-28 Thread Mantas Mikulėnas
guess security would be a problem (how to determine which users may receive which events). -- Mantas Mikulėnas On Jul 28, 2015 18:46, Stef Bon stef...@gmail.com wrote: Hi all, for some time I have been looking at the issue why fsnotify does not work with network filesystems and FUSE

Re: [systemd-devel] working with PrivateNetwork=yes

2015-08-09 Thread Mantas Mikulėnas
), it will just create a new one, and you'll have to re-do the above.) -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to remove *~ journal files?

2015-08-09 Thread Mantas Mikulėnas
to remove them? `rm`, or let journald's built-in log rotation take care of them. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] possible kernel crash on bootctl install, can anyone confirm?

2015-08-14 Thread Mantas Mikulėnas
. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Journal log rotation notification

2015-08-14 Thread Mantas Mikulėnas
renames as well. But, you shouldn't reimplement the entire logic yourself. (There's more to it, like separate systemd or user journals) *Instead, call sd_journal_get_fd(3) and let libsystemd do the monitoring.* -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] Getting EOF on FD#1 stdout (a service using socat)

2015-07-27 Thread Mantas Mikulėnas
with FDs [5,5] and [1,1] N socket 2 (fd 1) is at EOF I close(5) N exiting with status 0 socat uses bidirectional streams by default, so if it says it hit EOF on STDOUT, maybe it's treating it as alias to STDIO by default? Try using `socat -u` for unidirectional mode. -- Mantas

Re: [systemd-devel] Creation of additional links for selected devices

2015-07-26 Thread Mantas Mikulėnas
of symbolic links by udev rules? ...?? -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Odd /proc/$pid/fd symlinks in nspawn container

2015-07-17 Thread Mantas Mikulėnas
Note that devpts also supports multiple instances – the host /dev/pts is not the same as the guest /dev/pts'en. So my guess is that your stdio is attached to a pty from the *host*. Not really sure how that breaks job control though. Also, the fd symlinks are slightly magical; they can be

Re: [systemd-devel] Confusing journal information - journal size

2015-07-17 Thread Mantas Mikulėnas
what purpose the runtime journal even serves, when /var is available.) -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Packaging systemd user-instance service files

2015-07-17 Thread Mantas Mikulėnas
enable` does (except system-wide). That'll make it start on login for everyone. But the general rule is, do not start user-session processes from system tasks. -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [PATCH] sd-bus: use isempty() consistently

2015-07-20 Thread Mantas Mikulėnas
requests these days. And you can leave off the Signed-off-by line, we don't use that in the systemd project. Does including it hurt though? -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Launching a unit when a network interface is configured?

2015-07-12 Thread Mantas Mikulėnas
that by default it waits for *all* interfaces to be configured; if you only need a specific one, you can create your own (instanced/templated) version that would use --interface=%i. See also `man systemd-networkd-wait-online`. -- Mantas Mikulėnas graw...@gmail.com

Re: [systemd-devel] systemd services via SSH (-H key)

2015-10-23 Thread Mantas Mikulėnas
On Fri, Oct 23, 2015 at 2:11 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Fri, 23.10.15 14:03, Mantas Mikulėnas (graw...@gmail.com) wrote: > > > On Fri, Oct 23, 2015 at 1:55 PM, Lennart Poettering < > lenn...@poettering.net> > > wrote: > &g

Re: [systemd-devel] target file and executable file relationship doubt

2015-10-26 Thread Mantas Mikulėnas
mctl list-dependencies local-fs.target local-fs.target ● ├─boot.mount ● ├─home.mount ● ├─tmp.mount ● └─var-lib-machines.mount -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-modules-load path

2015-10-27 Thread Mantas Mikulėnas
le. > modules-load.d uses the exact same locations and configuration as kmod & modprobe: http://man7.org/linux/man-pages/man8/modprobe.8.html -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list system

Re: [systemd-devel] How to source a variable file using systemd

2015-10-27 Thread Mantas Mikulėnas
d but yet another variable. > There is no such option in systemd. If you need shellscript-like features, just run a wrapper shell script via ExecStart. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemctl suspend

2015-11-11 Thread Mantas Mikulėnas
t; modules or builds not informing about dependencies, 4-5 days of builds to > get wifi working because of it. > Thanx systemd *does not have* its own suspend mechanism, it uses only what the kernel itself provides. Run `echo mem > /sys/powe

Re: [systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

2015-11-11 Thread Mantas Mikulėnas
devices/pci:00/:00:1c.0/:01:00.0` vs `udevadm info /sys/devices/pci:00/:00:1c.0/:01:00.0/net/eth0`. That's why you use "SUBSYSTEMS=" and "KERNELS=" – you're checking information of the _parent_ device. That said, some of the matches are IMHO a bit redundant, and you'd be fine with: ACTION=="add", SUBSYSTEM=="net", KERNELS==":0a:00.1", NAME="em1" -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

2015-11-11 Thread Mantas Mikulėnas
et#, completely contradicting your earlier "trying to change it would drive me crazy". What even? The kernel has been "dynamically populating the eth* namespace with random unexpected network interfaces" since day one. It's not a systemd thing. It's as you said "how

Re: [systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

2015-11-12 Thread Mantas Mikulėnas
lity as far as I could > determine. > I am _still_ not sure what you're talking about. The kernel's eth* assignment policy hasn't changed for _many years_ – first device detected gets eth0, second gets eth1, and so on. It has always been so. The &q

Re: [systemd-devel] Help writing a user service file that will exec a command upon system sleep

2015-11-02 Thread Mantas Mikulėnas
ve it work: > > #!/bin/sh > # Approach cribbed from http://www.opopop.net/Harnessing_DBus/ Might as well use ctypes.sh then... Or a more capable language: https://gist.github.com/grawity/a10ee46d7ff58048d483 -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] about libmount

2015-11-05 Thread Mantas Mikulėnas
e "dpkg -s libmount " ,I get > this "Source: util-linux > Version: 2.25.2-4ubuntu3" . So where is the problem? thanks! > You'll need the development headers, "libmount-dev" package. -- Mantas Mikulėnas <graw...@gmail.com> _

Re: [systemd-devel] Restarting nmb.service from within a program

2015-11-03 Thread Mantas Mikulėnas
emd/dbus/ http://www.freedesktop.org/wiki/Software/systemd/hostnamed/ and so on. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 1/2] detect-virt: detect in best-heuristic order

2015-11-04 Thread Mantas Mikulėnas
end. qemu-kvm should be reported as kvm, and any other qemu > as qemu. > As I understand it, VirtualBox doesn't use KVM as *backend*; it only exposes a KVM-like paravirt interface to *guests*. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Mantas Mikulėnas
also 0 anyway, for both global and per-interface settings. The problem is that now you cannot _enable_ it via the usual routes (sysctl) anymore, because networkd mindlessly overrides that. As a long-time sysadmin, surely you wouldn't like your explicit configuration having been

Re: [systemd-devel] Fix for - udev/ata_id failing on SATA drives behind JMicron USB bridge

2015-10-15 Thread Mantas Mikulėnas
me a pointer on how to find it. > Try `tig blame src/udev/ata_id/ata_id.c`, it follows renames and you can jump to an older commit using , and back using < -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list s

Re: [systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Mantas Mikulėnas
still manages the unit files directly. For now, use directory ACLs. (Wonder if this could somehow make use of GNOME's new admin:/// vfs...) -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] SMACK runtime vs build-time checks? (aka: tmp.mount broke my boot)

2015-10-17 Thread Mantas Mikulėnas
-time option, which creates problems when booting a non-SMACK kernel... Any ideas on how to fix it? All previous such fixes were for API filesystems in mount-setup.c and could do flexible checks, but that clearly won't work for mount units. -- Mantas Mikulėnas <graw...@gmail.

Re: [systemd-devel] systemd

2015-10-09 Thread Mantas Mikulėnas
>> > Please, don't use devel mailing list for such questions. > It's also a tech support list. > If you want to install systemd on linux mint, you should do something like > this: > http://superuser.com/questions/917804/switching-to-systemd-on-linux-mint It's Debian-specific; I

Re: [systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

2015-11-13 Thread Mantas Mikulėnas
it use random names anywhere – it specifically avoids that, using enp* prefixes and PCI-based names. You've been ranting all this time about entirely irrelevant things. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] bootctl: default mount point for the ESP partition.

2015-09-01 Thread Mantas Mikulėnas
to have the ESP remain > unmounted or read-only when not in active use, which is good for its own > robustness; a system crash corrupting an unmounted partition is less > likely than corrupting a mounted filesystem. > Though, why would a partition get corrupted, if it wasn't being wr

Re: [systemd-devel] [udev] Limitation of capturing remove events?

2015-08-31 Thread Mantas Mikulėnas
tead, and cache the desired attributes into ENV. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to set time from Perl

2015-09-07 Thread Mantas Mikulėnas
nt;" for integers larger than 0x7fff. (Possibly also explicitly pass the value as a dbus_int64()...) -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] What's mounting this partition?

2015-09-26 Thread Mantas Mikulėnas
be you have udisks > installed from one of those distros? > udisks v1 used to do that by default, and is still installed in some places. (e.g. udiskie probably still depends on it?) udisks v2 also has an option (controlled through an udev property, ENV{UDISKS_FILESYSTEM_SHARED}) to do the sam

Re: [systemd-devel] suspend/resume hooks, the right way

2015-09-26 Thread Mantas Mikulėnas
hat information? (/var/lib/upower) -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Mantas Mikulėnas
I wonder if this could be handled with a generic Type=oneshot, ExecStart=driverctl bind foo... -- Mantas Mikulėnas On Sep 28, 2015 21:48, "Flavio Leitner" <f...@sysclose.org> wrote: > On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: > > On Sun, Sep 27,

Re: [systemd-devel] /etc/dbus-1/session-local.conf

2015-10-04 Thread Mantas Mikulėnas
Also this is not the path used by most software, anyway; the user bus is expected at %t/bus, not %t/user_bus_address. I think it was moved in v205 or v215. On Mon, Oct 5, 2015, 07:03 Mantas Mikulėnas <graw...@gmail.com> wrote: > You normally shouldn't need to do this. For user bus, th

Re: [systemd-devel] /etc/dbus-1/session-local.conf

2015-10-04 Thread Mantas Mikulėnas
You normally shouldn't need to do this. For user bus, the address is configured in dbus.socket; for session buses it is passed as command line option. On Sun, Oct 4, 2015, 21:40 arnaud gaboury wrote: > As I am trying to improve my knowledges in how dbus work, I

Re: [systemd-devel] systemd and hostname supplied by DHCP

2015-10-05 Thread Mantas Mikulėnas
embedded system due it's footprint but I suspect that I should live > with it. :-) > While I'm not really comfortable suggesting this, old polkit versions (v0.105 and earlier) used a different rules format without JavaScript. -- Mantas Mikulėnas <graw...@gmail.com> _

Re: [systemd-devel] startxfce4 vs logind

2015-09-19 Thread Mantas Mikulėnas
ike this: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit=37b4597466e99667ba6035854b3386a2ee83e563 (note this is no longer present in Arch's xinit as it has been moved to startx itself) I don't know how startxfce4 launches Xorg, though, but you could jus

Re: [systemd-devel] Running a script as FIRST script before shutdown

2015-09-23 Thread Mantas Mikulėnas
e boot order – if a unit has "After=X", it will be started after X, but stopped before X. So your unit should have a Requires= (or Wants=) plus an After= for every service it actually needs. Also – the unit seems more like a Type=oneshot, not a Type=simple. -- Mantas Mikulėnas <g

Re: [systemd-devel] Running a script as FIRST script before shutdown

2015-09-24 Thread Mantas Mikulėnas
On Thu, Sep 24, 2015, 09:40 Luca Bertoncello wrote: > Hi Lennart, > > thank you for your answer! > > > There is no concept of "first" or "last" in systemd, since it's not > clear what > > that's supposed to mean if there are multiple, and what happens if some > >

Re: [systemd-devel] How to automount

2015-09-21 Thread Mantas Mikulėnas
> I don't think there's any way to have something auto-unmount There certainly is – udev has been unmounting unplugged drives for many years. It's done by default. On Mon, Sep 21, 2015, 23:10 Paul D. DeRocco wrote: > > From: Umut Tezduyar Lindskog

Re: [systemd-devel] How to automount

2015-09-21 Thread Mantas Mikulėnas
ing the OS to be prescient? > to avoid data loss. The only alternative is to disable write buffering, > which makes things slow, and stresses the drive. > No, that's not the only alternative – making the OS flush data more often is another, e.g. as Windows does (every 2s), and AFAIK Lin

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-07 Thread Mantas Mikulėnas
54321(oracle) gid=54321(oinstall) > groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba) > Ok, so the UID is the problem. (These look suspiciously like made-up numbers, but I'm guessing they are central

Re: [systemd-devel] systemd shutdown: switch-root after remounting root fs ro

2015-12-08 Thread Mantas Mikulėnas
ome support for this: https://github.com/zfsonlinux/dracut/blob/master/modules.d/98systemd/dracut-shutdown.service.8.asc http://www.freedesktop.org/wiki/Software/systemd/InitrdInterface/ -- Mantas Mikulėnas <graw...@gmail.com> ___ system

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-07 Thread Mantas Mikulėnas
ration:semop failed with status: 43 > ORA-27301: OS failure message: Identifier removed > ORA-27302: failure occurred at: sskgpwwait1 > ksmsdes: Error destroying SGA > Instance termination got error 27120 from SGA destruction. > > If these processes

Re: [systemd-devel] logind's .PowerOff and .Reboot methods doesn't seem to respect inhibitors

2015-12-09 Thread Mantas Mikulėnas
; org.freedesktop.login1.Manager PowerOff b true > AFAIK, inhibitors from the same user are ignored (which to be honest makes them not very useful), and systemctl merely checks them manually. (You might find gnome-session-inhibit useful; it tells GNOME itself to av

Re: [systemd-devel] Mounting a partition at the *right* time

2016-01-04 Thread Mantas Mikulėnas
~/.config/systemd/ here, as that just plain doesn't make sense. (The main init system will not look in each user's homedirs, and the per-user instances do not have mount privileges...) Can you check the output of `systemctl status storage-.kodi-.local-storage-sdcard.mount`? -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] empty a directory in service file as ExecStartPre

2016-01-02 Thread Mantas Mikulėnas
ExecStart does not go through a shell, so it won't expand wildcards. Try running 'find /dir -mindepth 1 -delete', that also cleans up dotdirs. Alternatively 'sh -c "rm .../*" to handle wildcards. On Sat, Jan 2, 2016, 13:39 arnaud gaboury wrote: > I can't manage to

Re: [systemd-devel] mknod forbidden in systemd-nspawn container

2015-12-23 Thread Mantas Mikulėnas
ers by default limit devices via both POSIX capabilities and cgroups; you would need --capability=cap_mknod to create device nodes, and to access them in case they're not in the defautl whitelist. -- Mantas Mikulėnas <graw...@gmail.com> ___

Re: [systemd-devel] DSC-statistics-collector fails to start

2015-12-22 Thread Mantas Mikulėnas
collector reports a crash in Pree.cc line 70, it's a bug in DSC itself – not a systemd-related problem. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-22 Thread Mantas Mikulėnas
On Tue, Dec 22, 2015 at 2:36 AM, Kai Krakow <hurikha...@gmail.com> wrote: > Am Tue, 8 Dec 2015 01:36:01 +0200 > schrieb Mantas Mikulėnas <graw...@gmail.com>: > > > What uid does "oracle" have – is it within the system account range > > (usually 1–999

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-22 Thread Mantas Mikulėnas
On Tue, Dec 22, 2015 at 4:43 AM, Mike Gilbert <flop...@gentoo.org> wrote: > On Mon, Dec 21, 2015 at 7:36 PM, Kai Krakow <hurikha...@gmail.com> wrote: > > Am Tue, 8 Dec 2015 01:36:01 +0200 > > schrieb Mantas Mikulėnas <graw...@gmail.com>: > > > >

Re: [systemd-devel] "StandardOutput=console" don't work as expected

2015-12-30 Thread Mantas Mikulėnas
cronjobs to systemd-units for >> using ReadOnlyDirectory and other security otpions >> > Pretty sure that's normal, +console here always meant /dev/console and not "whatever stdout systemctl has". Do you really have cronjobs which need to output stuff to ssh ptys? -- Mantas

Re: [systemd-devel] "StandardOutput=console" don't work as expected

2015-12-30 Thread Mantas Mikulėnas
On Wed, Dec 30, 2015 at 11:46 AM, Reindl Harald <h.rei...@thelounge.net> wrote: > > > Am 30.12.2015 um 10:37 schrieb Mantas Mikulėnas: > >> On Wed, Dec 30, 2015 at 2:40 AM, Reindl Harald <h.rei...@thelounge.net >> <mailto:h.rei...@thelounge.net>> wrote:

Re: [systemd-devel] [help][227] Enabling a user service breaks a little my system!

2015-11-26 Thread Mantas Mikulėnas
service in > `/etc/systemd/system/` and enable it > as screen@myusername. I'll make this transition as soon as I solve my > problem with systemd and > environment variables. > On the contrary, it makes much more sense than abusing system services to run per-user stuff. -- Mantas Mikulėnas <

Re: [systemd-devel] about systemd-logind

2015-11-17 Thread Mantas Mikulėnas
r ,and if I do not have an active session > with systemd-logind. So does this related systemd-logind? > You need to have pam_systemd.so in your PAM configuration. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list sys

Re: [systemd-devel] about systemd-logind

2015-11-18 Thread Mantas Mikulėnas
ion – usually /etc/pam.d/system-login or /etc/pam.d/common-session or similar. For example: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/system-login?h=packages/pambase -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel ma

Re: [systemd-devel] about systemd-logind

2015-11-18 Thread Mantas Mikulėnas
On Wed, Nov 18, 2015 at 10:23 AM, yan...@iscas.ac.cn <yan...@iscas.ac.cn> wrote: > Do you mean /lib/x86_64-linux-gnu/security/pam_systemd.so? thank you! > Linux PAM configurations normally don't require the full path, but yes. -- Mantas Mikulėnas <gr

Re: [systemd-devel] about administator Authentication agents

2015-11-23 Thread Mantas Mikulėnas
I remember Debian had an oddly restrictive policy for systemd bus access (though it seems to be fixed now?). On Mon, Nov 23, 2015, 14:24 Andrei Borzenkov wrote: > On Mon, Nov 23, 2015 at 11:00 AM, yan...@iscas.ac.cn > wrote: > > > > what is the

Re: [systemd-devel] question on special configuration case

2016-06-07 Thread Mantas Mikulėnas
This sounds like you could start by unsetting WatchdogSec= for those daemons. Other than the watchdog, they shouldn't be using any CPU unless explicitly contacted. On Wed, Jun 8, 2016, 02:50 Hebenstreit, Michael < michael.hebenstr...@intel.com> wrote: > The base system is actually pretty large

Re: [systemd-devel] Perl Net::DBus, org.freedesktop.system1 and inhibitor locks

2016-05-25 Thread Mantas Mikulėnas
In other words, mixing up OS file descriptors and Perl file handles? D-Bus can only send and receive raw FDs; Net::DBus doesn't know what kind of handle it's supposed to be, so you need to either create one manually, or just work with the FD directly (I think the relevant function is

Re: [systemd-devel] systemctl list failed daemons in computer-parsable format?

2016-06-11 Thread Mantas Mikulėnas
rg/wiki/Software/systemd/dbus/>, that's how systemctl gets its data in the first place. -- Mantas Mikulėnas <graw...@gmail.com> ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

<    1   2   3   4   5   6   7   8   9   10   >