Re: [systemd-devel] user unit blocking login shell from popping out because wanted by default target?

2016-01-10 Thread Andrei Borzenkov
10.01.2016 17:25, Tom Yan пишет: > So I am recently experiencing some issue with pulseaudio (which I > already filed a bug report: > https://bugs.freedesktop.org/show_bug.cgi?id=93651) that it takes a > long time to start. > > The thing is, I am thinking whether it exposed a problem of systemd as

Re: [systemd-devel] known but not-listed units

2016-01-13 Thread Andrei Borzenkov
13.01.2016 19:26, Stijn De Weirdt пишет: > hi all, > > i'm having following situation on a centos 7.2 system (systemd-219-19.el7) > > there is a sysvinit service called netconsole that is not listed as a > unit or unitfile, but the unitfile was generated and systemctl seems to > be able to handle

Re: [systemd-devel] No maintenance shell on local fs failure (/bin/sh: no such file or directory)

2016-01-15 Thread Andrei Borzenkov
On Fri, Jan 15, 2016 at 1:52 PM, Reindl Harald wrote: > > > Am 15.01.2016 um 11:40 schrieb Frank Steiner: >> >> This didn't mean that /bin/echo was not found, but the CHDIR failed! >> That was caused by /root being a symbolic link to /local/home/root >> (we strictly separate any user data includin

Re: [systemd-devel] the correct way to define crypt partitions, going forward

2016-01-22 Thread Andrei Borzenkov
22.01.2016 20:23, Mantas Mikulėnas пишет: >> > > systemd-ask-password(1) mentions being able to cache passwords in a kernel > keyring, but I'm not sure if systemd-cryptsetup actually makes use of that. > Current GIT should be doing it automatically. This is commit e287086b which is released sinc

Re: [systemd-devel] Should pam-activated systemd --user daemon quit after session has been closed?

2016-01-22 Thread Andrei Borzenkov
23.01.2016 01:19, Armin K. пишет: > > Now, to the original question: Once PAM closes the session (once logout is > received), > should systemd --user daemon terminate as well? Currently, that's not the > case on my > system. > As far as I understand systemd --user instance is supposed to be pe

Re: [systemd-devel] systemctl isolate disconnects network

2016-01-29 Thread Andrei Borzenkov
30.01.2016 03:22, Justin Garrison пишет: > When trying to isolate targets I run systemctl isolate multi-user.target > but on the systems I've tested (rhel 7.0-7.2 and Fedora 21-23) will also > restart networking. It also appears that the network restart does not wait > for NetworkManager-wait-onlin

Re: [systemd-devel] Fwd: messing with .mount/.automount units

2016-01-29 Thread Andrei Borzenkov
29.01.2016 23:07, arnaud gaboury пишет: > BUMP. > > I run once a week a simple backup with rsync. For that purpose, I > wrote a service file (rsync) and a timer unit. They both work with no > issues. > > /etc/systemd/system/backup-external.service > --

Re: [systemd-devel] Fwd: messing with .mount/.automount units

2016-01-30 Thread Andrei Borzenkov
30.01.2016 13:44, arnaud gaboury пишет: >>> My first attempt was to add this line in my /etc/fstab: >>> --- >>> UUID=868560c1-ab69-423f-b76d-b8ea5af1b066 /mnt/backup >>> ext2 >>> noauto,x-systemd.automount,x-systemd.device-timeout=5,x-sy

Re: [systemd-devel] bind mounts are not delayed until the underlying fs gets mounted

2016-01-30 Thread Andrei Borzenkov
29.01.2016 17:55, Frank Steiner пишет: > Hi, > > this problem occurs in SLES 12 with systemd-210-70.30.1 which might be > to old to handle this situation correctly. So my question is if the > following situation should work in systemd or for some reason would not > (so that I can plan how to get a

Re: [systemd-devel] Fwd: messing with .mount/.automount units

2016-01-30 Thread Andrei Borzenkov
30.01.2016 19:40, arnaud gaboury пишет: > On Sat, Jan 30, 2016, 5:28 PM Andrei Borzenkov wrote: > >> 30.01.2016 13:44, arnaud gaboury пишет: >>>>> My first attempt was to add this line in my /etc/fstab: >>>>> ---

[systemd-devel] v228: changing run-levels terminates all user sessions

2016-02-08 Thread Andrei Borzenkov
Because it stops all session-N.scope units. Is it expected and intentional behavior? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] v228: changing run-levels terminates all user sessions

2016-02-08 Thread Andrei Borzenkov
Отправлено с iPhone > 8 февр. 2016 г., в 20:48, Zbigniew Jędrzejewski-Szmek > написал(а): > > Changing runlevels how? > init 3/init 5 or systemctl isolate multi-user.target or graphical.target. > Zbyszek > >> On Mon, Feb 08, 2016 at 08:15:01PM +0300, Andrei

Re: [systemd-devel] Dependencies on targets

2016-02-09 Thread Andrei Borzenkov
10.02.2016 00:55, Pathangi Janardhanan пишет: > Hi All, > > I have a target t1, which has three services associated with it, t11, t12 > and t13. The service dependencies After etc. I have in the individual t11, > t12 and t13 unit files > > I have another target t2, which has two service associa

Re: [systemd-devel] [RFC] the chopping block

2016-02-11 Thread Andrei Borzenkov
11.02.2016 20:06, Lennart Poettering пишет: > > 5) Here's the controversial one I think: support for booting up >without /var. We have kludges at quite a few places because we >cannot access /var early during boot. I am tempted to stop >supporting this altogether. Of course, this does

Re: [systemd-devel] [RFC] the chopping block

2016-02-11 Thread Andrei Borzenkov
11.02.2016 20:52, Lennart Poettering пишет: > On Thu, 11.02.16 20:48, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> 11.02.2016 20:06, Lennart Poettering пишет: >>> >>> 5) Here's the controversial one I think: support for booting up >>>without

Re: [systemd-devel] socket activation systemd holding a reference to an accepted socket

2016-02-17 Thread Andrei Borzenkov
On Thu, Feb 18, 2016 at 4:44 AM, Ben Woodard wrote: > Is it intentional that systemd holds a reference to a socket it has just > accepted even though it just handed the open socket over to a > socket.activated service that it has just started. yes. > > For example given the following unit file

Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-02-25 Thread Andrei Borzenkov
26.02.2016 00:55, Francis Moreau пишет: > On Wed, Feb 24, 2016 at 6:12 PM, Lennart Poettering > wrote: >> On Wed, 24.02.16 17:40, Francis Moreau (francis.m...@gmail.com) wrote: >> >>> Hello, >>> >>> It seems that the unit generator for sysv init scripts translate >>> "Required-Start: X" into "Afte

Re: [systemd-devel] overriding udev rules

2016-02-28 Thread Andrei Borzenkov
Отправлено с iPhone > 28 февр. 2016 г., в 15:05, Łukasz Stelmach написал(а): > > Dnia 28 lutego 2016 12:51:51 CET, "Mantas Mikulėnas" > napisał(a): >> On Sun, Feb 28, 2016 at 12:40 PM, Łukasz Stelmach >> wrote: >> >>> Hi, >>> >>> One of the default rules supplied by systemd (v215 in Debia

Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-03-07 Thread Andrei Borzenkov
07.03.2016 10:04, Francis Moreau пишет: > Hello, > > Sorry for the long delay. > > On Fri, Feb 26, 2016 at 5:05 AM, Andrei Borzenkov wrote: >> 26.02.2016 00:55, Francis Moreau пишет: >>> >>> But now I'm wondering how the following case is handled: a s

Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-03-08 Thread Andrei Borzenkov
08.03.2016 11:07, Francis Moreau пишет: > On Tue, Mar 8, 2016 at 7:51 AM, Andrei Borzenkov wrote: >> 07.03.2016 10:04, Francis Moreau пишет: >>> Hello, >>> >>> Sorry for the long delay. >>> >>> On Fri, Feb 26, 2016 at 5:05 AM, Andrei Borzen

Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-03-08 Thread Andrei Borzenkov
08.03.2016 11:33, Francis Moreau пишет: > On Tue, Mar 8, 2016 at 9:23 AM, Andrei Borzenkov wrote: >> 08.03.2016 11:07, Francis Moreau пишет: >>> On Tue, Mar 8, 2016 at 7:51 AM, Andrei Borzenkov >>> wrote: >>>> 07.03.2016 10:04, Francis Moreau пишет: >

Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-03-10 Thread Andrei Borzenkov
10.03.2016 18:05, Francis Moreau пишет: > On Tue, Mar 8, 2016 at 10:19 AM, Andrei Borzenkov wrote: >> 08.03.2016 11:33, Francis Moreau пишет: >>> On Tue, Mar 8, 2016 at 9:23 AM, Andrei Borzenkov >>> wrote: >>>> 08.03.2016 11:07, Francis Moreau пишет: >&

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-10 Thread Andrei Borzenkov
11.03.2016 00:11, Orion Poplawski пишет: > Uoti Urpala pp1.inet.fi> writes: > >> >> On Thu, 2016-03-10 at 17:51 +, Orion Poplawski wrote: >>> Orion Poplawski cora.nwra.com> writes: # systemctl restart firewalld Failed to restart firewalld.service: Transaction contains c

Re: [systemd-devel] systemd v228 errors: "Failed to enqueue exit.target job: Transaction contains conflicting jobs 'start' and 'stop'" ?

2016-03-10 Thread Andrei Borzenkov
11.03.2016 04:53, PGNet Dev пишет: > I'm booting a > > systemctl --version > systemd 228 > +PAM +AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP > +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS > +KMOD -IDN > > OS instance. Atm, it's a Xen DomU vm

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-12 Thread Andrei Borzenkov
12.03.2016 08:18, Orion Poplawski пишет: > Andrei Borzenkov gmail.com> writes: >> 11.03.2016 00:11, Orion Poplawski пишет: >>> Uoti Urpala pp1.inet.fi> writes: >>>> On Thu, 2016-03-10 at 17:51 +, Orion Poplawski wrote: >>>>> It appears t

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-12 Thread Andrei Borzenkov
12.03.2016 13:41, Marcos Mello пишет: > Orion Poplawski cora.nwra.com> writes: > >> >> Andrei Borzenkov gmail.com> writes: >>> 11.03.2016 00:11, Orion Poplawski пишет: >>>> Uoti Urpala pp1.inet.fi> writes: >>>>> On Thu, 2016-03-1

Re: [systemd-devel] udev vs. nscd vs. /var automount

2016-04-08 Thread Andrei Borzenkov
08.04.2016 18:20, Michael Biebl пишет: > 2016-04-08 16:25 GMT+02:00 Michal Soltys : >> On your root partition keep /var/run symlink to /run - so regardless if /var >> is or isn't mounted, the path will be correct. Wouldn't that help ? (unless >> I missed something) > > That only work for late boot

Re: [systemd-devel] on the default for PredictableNetworkInterfaceNames

2016-04-10 Thread Andrei Borzenkov
10.04.2016 11:17, Martin Pitt пишет: > Hello, > > Xen [2016-04-09 20:29 +0200]: >> 1. I believe most users do not like the "enp5s0" scheme >> 2. I do not think there are any good reasons for making it the default. > > There are very good reasons for having a mechanism for stable names by > defaul

Re: [systemd-devel] Network Interface Names: solution for a desktop OS

2016-04-12 Thread Andrei Borzenkov
13.04.2016 02:24, Jordan Hargrave пишет: > > I am the primary developer of biosdevname. I've been wanting this > naming functionality built into systemd or even the OS itself. > Primarily I am interested in servers with multiple physical and > virtual NICs but getting it working on desktops would

Re: [systemd-devel] Network Interface Names: solution for a desktop OS

2016-04-15 Thread Andrei Borzenkov
16.04.2016 03:14, Reindl Harald пишет: > > > Am 15.04.2016 um 21:06 schrieb Xen: >> If you cannot give me a default mapping automatically, why not allow me >> to generate one easily? Is there a tool that can take the current device >> and produce the list I proposed? > > just use network.service

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-18 Thread Andrei Borzenkov
19.04.2016 01:19, James Hogarth пишет: > Hi all, > > There's been some discussion today about the impact of > https://bugzilla.redhat.com/show_bug.cgi?id=1206936 and where the problem > actually lies. > > The issue lies specifically with hibernate and affects all Fedora systems > regardless of ha

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-19 Thread Andrei Borzenkov
On Tue, Apr 19, 2016 at 9:45 AM, James Hogarth wrote: > > Seeing as systemd decides the swap to hibernate to in the first place, can't No, it does not. Device to hibernate to is set by previous attempt to resume from. This device must come from somewhere. Last device someone attempted to resume

Re: [systemd-devel] service dependency on udev

2016-04-19 Thread Andrei Borzenkov
20.04.2016 04:27, Flavio Leitner пишет: > On Wed, Apr 20, 2016 at 05:34:49AM +0900, Greg KH wrote: >> On Tue, Apr 19, 2016 at 05:25:09PM -0300, Flavio Leitner wrote: >>> >>> Hello, >>> >>> I have a service that needs to start after all the devices (network >>> cards at least) have been properly pro

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-21 Thread Andrei Borzenkov
On Thu, Apr 21, 2016 at 11:32 AM, Reindl Harald wrote: > > > Am 20.04.2016 um 17:29 schrieb Jamie Kitson: >>> >>> For stopping after a duration you can use RuntimeMaxSec=, introduced in >>> v229. >> >> >> Thanks. The man page says: >> >>> If this is used and the service has been active for lon

Re: [systemd-devel] Journal Log Persistence without restart of service

2016-04-24 Thread Andrei Borzenkov
24.04.2016 19:24, Renjith Vijayan пишет: > Hi All, > > I am trying to make journal logs persistent across reboots in my platform. > Currently /var/log is mounted on volatile partition in the platform. > I have a non-volatile partition mounted at /var/diagnostics. > So i made the following change i

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-25 Thread Andrei Borzenkov
25.04.2016 19:53, Reindl Harald пишет: > > > Am 22.04.2016 um 17:07 schrieb Reindl Harald: >> Am 22.04.2016 um 17:03 schrieb Lennart Poettering: >>> On Thu, 21.04.16 10:32, Reindl Harald (h.rei...@thelounge.net) wrote: >>> > Thanks. The man page says: > >> If this is used and the serv

Re: [systemd-devel] Require a systemd.unit to finish completely before other services(units) are started

2016-04-25 Thread Andrei Borzenkov
On Tue, Apr 26, 2016 at 9:27 AM, george Karakou wrote: > Hi list, how are you all? I hope everyone is doing well. > I have a long starting unit that executes some(many actually) scripts and > with the parallel nature of systemd init process it doesn't fully start up > before some other units i hav

[systemd-devel] systemctl status etc attempts to load unit

2016-04-26 Thread Andrei Borzenkov
I was grown to believe that I need "systemctl daemon-reload" to make systemd recognize new units, but apparently it is no more the case. Just dropping unit definition in standard place and running "systemctl status new-unit" is enough to trigger systemd into loading it. It apparently is not affect

Re: [systemd-devel] Journal file is synced each minute into disk

2016-05-09 Thread Andrei Borzenkov
09.05.2016 18:21, Ricardo Fraile пишет: > Hello, > > > With the following configuration in "/etc/systemd/journald.conf": > > [Journal] > Seal=no > SplitMode=none > SyncIntervalSec=5m > RateLimitInterval=0 > RateLimitBurst=0 > ForwardToSyslog=no > > SystemMaxUse=5G > SystemKeepFree=500M > > Run

Re: [systemd-devel] when/where was support for assigning "ethX" names removed?

2016-05-12 Thread Andrei Borzenkov
12.05.2016 21:34, Chris Friesen пишет: > > So I guess the question is, how do I rename a device to a name that > already exists? (Like supposing I want to swap the names of eth0 and > eth1.) > You cannot (using current udev). This is exactly the code that was removed. __

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-05-14 Thread Andrei Borzenkov
15.05.2016 06:36, Chris Murphy пишет: > On Thu, May 12, 2016 at 12:38 PM, James Hogarth > wrote: >> >> On 2 May 2016 18:58, "James Hogarth" wrote: >>> >>> >>> On 24 Apr 2016 21:31, "poma" wrote: On 20.04.2016 22:42, Chris Murphy wrote: > On Wed, Apr 20, 2016 at 1:50 PM, Tobias Hun

Re: [systemd-devel] systemctl how to stop a service

2016-05-15 Thread Andrei Borzenkov
16.05.2016 09:01, liuxueping пишет: > Do you mean to say that systemctl will return a value when the process > is still at terminate gracefully? > By default systemctl should wait for stop job to complete. What may happen - if it takes more time than JobTimeout, job is canceled while systemd is s

Re: [systemd-devel] systemd networking : problems with bridges

2015-01-03 Thread Andrei Borzenkov
В Sat, 3 Jan 2015 01:24:48 -0500 Charles Devereaux пишет: > Hello > > I'm trying to configure systemd networking for a bridge, using v217-stable > from anongit.freedesktop.org/systemd/systemd-stable > > I mostly have 3 problems: > > 1- 3 - I do not understand how to properly use systemd-networ

Re: [systemd-devel] List of unit states.

2015-01-05 Thread Andrei Borzenkov
В Tue, 06 Jan 2015 10:52:17 +0530 dE пишет: > Hi. > > I dont have a better term. > > When you look at the status of a unit or check the output of list-units, > there's a 'load/loaded' column/field also there's an active field/column. > > What do these mean? I suspect load/loaded states weath

Re: [systemd-devel] systemd-fsck question

2015-01-06 Thread Andrei Borzenkov
В Tue, 06 Jan 2015 18:23:01 +0300 Nikolai Zhubr пишет: > Hi again, > > Now a have another question. > > In systemd-fsck@.service I see "StandardOutput=journal+console", and > "StandardOutput" not set, AFAICS defaulting to "inherit" according to > system config file, which looks good, as all d

Re: [systemd-devel] systemd-fsck question

2015-01-07 Thread Andrei Borzenkov
В Tue, 06 Jan 2015 21:33:15 +0300 Nikolai Zhubr пишет: > Hi again, > 06.01.2015 19:46, Andrei Borzenkov wrote: > [...] > > By executing "systemctl status systemd-fsck@..." as instructed? Or > > journalctl ... > > Ok, thanks, I've finally found the mess

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-07 Thread Andrei Borzenkov
В Wed, 07 Jan 2015 23:23:27 -0300 Cristian Rodríguez пишет: > El 07/01/15 a las 22:55, Nikolai Zhubr escribió: > > 08.01.2015 4:12, Cristian Rodríguez: > >> El 07/01/15 a las 21:43, Lennart Poettering escribió: > >> > >>> Maybe suse forgot to include this service file in the initrd or so? > >> >

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-01-08 Thread Andrei Borzenkov
В Thu, 8 Jan 2015 16:03:43 + Dimitri John Ledkov пишет: > On 8 January 2015 at 15:37, Simon McVittie > wrote: > > On 08/01/15 14:36, Colin Guthrie wrote: > >> Lennart Poettering wrote on 08/01/15 13:19: > >>> Yes, the idea is that these services become singleton services of the > >>> user, a

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-08 Thread Andrei Borzenkov
В Thu, 08 Jan 2015 17:12:25 +0100 Harald Hoyer пишет: > On 08.01.2015 16:55, Lennart Poettering wrote: > > On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: > > > >> IMHO > >> > >> systemd-fsck-root.service should be removed entirely and generated by the > >> fstab-generator i

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-10 Thread Andrei Borzenkov
В Sat, 10 Jan 2015 16:51:24 +0300 Nikolai Zhubr пишет: > Hi, > 09.01.2015 23:48, Chris Murphy: > [...] > >> I might be missing something, but what's wrong with the existing "root=... > >> rootfstype=... rootflags=... rw" options? Why is the remount even > >> necessary? > > > > Seems to be distro

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Andrei Borzenkov
В Sun, 11 Jan 2015 13:43:34 +0300 Nikolai Zhubr пишет: > > > > Uh. Why not simply mount rootfs rw in initrd then? > > I'm not against generally. But it'd mean that this first mount is > actually a real mount, the fs will start up in full. Then I'd suppose it > is definitely a must to supply al

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Andrei Borzenkov
В Sun, 11 Jan 2015 04:15:41 -0700 Chris Murphy пишет: > On Sun, Jan 11, 2015 at 4:11 AM, Andrei Borzenkov wrote: > > В Sun, 11 Jan 2015 13:43:34 +0300 > > Nikolai Zhubr пишет: > > > >> > > >> > Uh. Why not simply mount rootfs rw in initrd then?

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Andrei Borzenkov
В Sun, 11 Jan 2015 15:22:54 +0300 Nikolai Zhubr пишет: > Hi, > 11.01.2015 14:11, Andrei Borzenkov: > [...] > > By adding all needed options to rootflags="..." (modify > > GRUB_CMDLINE_LINUX_DEFAULT and possibly GRUB_CMDLINE_LINUX_RECOVERY > > in /etc/

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Andrei Borzenkov
В Thu, 08 Jan 2015 21:32:08 +0100 Harald Hoyer пишет: > > In case of systemd in the initrd, the fstab-generator ensures that fsck is > done > on root and /usr and any other partition marked with x-initrd.mount. > How is it supposed to work? In native systemd mode fstab-generator runs early be

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Andrei Borzenkov
В Sun, 11 Jan 2015 12:45:17 -0700 Chris Murphy пишет: > On Sun, Jan 11, 2015 at 4:57 AM, Andrei Borzenkov wrote: > > В Sun, 11 Jan 2015 04:15:41 -0700 > > > Does it using systemd *inside* of initrd? From upstream dracut: > > > > if ! dracut_m

Re: [systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

2015-01-12 Thread Andrei Borzenkov
В Mon, 12 Jan 2015 10:34:07 + Colin Guthrie пишет: > > Anyway, assuming the process is in the .mount unit cgroup, should > systemd detect the umount and kill the processes accordingly, and if It does not do it currently. It only starts killing if (u)mount times out. Otherwise if umount is s

Re: [systemd-devel] Running system services required for certain filesystems

2015-01-12 Thread Andrei Borzenkov
В Mon, 12 Jan 2015 11:34:37 + Colin Guthrie пишет: > > It seems that it's not activated here any longer, despite me having > remote-fs.target enabled and, as remote-fs-pre.target is static, I > cannot specifically enable it. It's my understanding that it should be > automatically started. >

Re: [systemd-devel] cdrom_id and 60-cdrom_id.rules behavior

2015-01-15 Thread Andrei Borzenkov
On Thu, Jan 15, 2015 at 11:03 AM, Martin Pitt wrote: > Hello all, > > Robert Milasan [2015-01-12 9:39 +0100]: >> 1. add a CD/DVD into the driver >> 2. mount the driver: mount /dev/sr0 /mnt/my_cd (ensure you don't >> use the Gnome/KDE auto-mounting or reproduce this in a server setup) >> 3. eject

Re: [systemd-devel] cdrom_id and 60-cdrom_id.rules behavior

2015-01-15 Thread Andrei Borzenkov
В Thu, 15 Jan 2015 11:36:33 +0100 Martin Pitt пишет: > Andrei Borzenkov [2015-01-15 11:24 +0300]: > > So what's the point of locking tray in the first place if it will be > > unlocked as soon as you press eject button? > > So that we can do a clean unmount and

Re: [systemd-devel] [PATCH] Fix systemd crash (on assert) during shutdown/reboot in unprivileged container

2015-01-16 Thread Andrei Borzenkov
В Thu, 15 Jan 2015 19:24:25 -0500 Stéphane Graber пишет: > @@ -871,6 +871,14 @@ static void mount_enter_unmounting(Mount *m) { > m->control_command_id = MOUNT_EXEC_UNMOUNT; > m->control_command = m->exec_command + MOUNT_EXEC_UNMOUNT; > > +/* Ignore any mounts under /de

Re: [systemd-devel] Target updating status for dependencies

2015-01-17 Thread Andrei Borzenkov
В Wed, 14 Jan 2015 09:47:20 +0100 Martin Pitt пишет: > Hello all, > > I have some trouble to understand how unit dependencies work when > they change status. Suppose I have an ifup-all-auto.target (which will > of course be created by a generator, but for experimentation I tried > with a plain u

Re: [systemd-devel] Docker vs PrivateTmp

2015-01-19 Thread Andrei Borzenkov
В Mon, 19 Jan 2015 11:33:42 -0500 Lars Kellogg-Stedman пишет: > On Sat, Jan 17, 2015 at 11:02:01PM -0500, Lars Kellogg-Stedman wrote: > > The TL;DR is that restarting a service with PrivateTmp=true appears to > > preserve references to any mounts in the parent mount namespace that > > were active

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-19 Thread Andrei Borzenkov
В Mon, 19 Jan 2015 17:59:41 -0500 Felix Miata пишет: > Has anything been done in more recent releases about this? I do a lot of > cloning, and sometimes produce typos on grub cmdlines and fstab lines. This > produces long delays in init followed by emergency mode when the > non-essential mount fa

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-20 Thread Andrei Borzenkov
On Tue, Jan 20, 2015 at 7:03 AM, Felix Miata wrote: > Andrei Borzenkov composed on 2015-01-20 06:35 (UTC+0300): > >> Mon, 19 Jan 2015 17:59:41 -0500 Felix Miata composed: > >>> Has anything been done in more recent releases about this? I do a lot of >>> clonin

Re: [systemd-devel] Unwants

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 15:46:26 +0100 Michael Biebl пишет: > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > > At the moment, I'm looking at packaging symlinks in .wants directories > > under /usr and then allow to uninstall such a package as a means to > > override the default config. Since I wou

Re: [systemd-devel] network-online.target is not down when a physical network is down

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 16:44:52 +0100 Igor Bukanov пишет: > For a service that should be shutdown when network is not available, I > tried to use Requires=network-online.target . However, on Fedora 21 > with NetworkManager that does not work. When I switch off WiFi, the > only connection on my laptop

Re: [systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-24 Thread Andrei Borzenkov
В Sun, 25 Jan 2015 03:37:09 +0100 "Tomasz Pawlak" пишет: > core/main.c:1519 > /* Make sure we leave a core dump without panicing the >* kernel. */ > if (getpid() == 1) { > install_crash_handler(); > > r = mount_cgroup_controllers(arg_join_controlle

Re: [systemd-devel] persisting sriov_numvfs

2015-01-26 Thread Andrei Borzenkov
В Tue, 27 Jan 2015 03:30:22 +0100 Lennart Poettering пишет: > On Fri, 23.01.15 08:51, Martin Polednik (mpoled...@redhat.com) wrote: > > > > Quite frankly, I cannot make sense of these sentences. I have no clue > > > what a "SR-IOV", "virtual function", "physical function" is supposed > > > to be

Re: [systemd-devel] [systemd-commits] src/journal

2015-01-28 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 6:04 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jan 28, 2015 at 03:50:42AM +0100, Lennart Poettering wrote: >> On Wed, 28.01.15 03:47, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >> wrote: >> >> > On Wed, Jan 28, 2015 at 01:53:17AM +0100, Lennart Poettering wrote

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-28 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 3:40 PM, Lennart Poettering wrote: > On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: > >> Lennart, on a switch I should be able to configure more than one UFD >> group. > > What precisely does this mean? WOuld those groups be orthogonal? > No. You have tw

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
gt;→ 53: sw0p51 >→ 7: sw0p5 >→ 9: sw0p7 > # > > Of course "networkd ufd -a" would also work. > > How does it sound ? > > Best Regards, > Alin > > -Original Message- > From: Lennart Poettering [mailto:lenn.

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 3:40 PM, Lennart Poettering wrote: > On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: > >> Lennart, on a switch I should be able to configure more than one UFD >> group. > > What precisely does this mean? WOuld those groups be orthogonal? > > I really would

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
В Thu, 29 Jan 2015 15:10:16 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Thu, Jan 29, 2015 at 02:05:10PM +, Rauta, Alin wrote: > > What if we don't use the "*" for now and document "BindCarrier" accordingly > > to be a list of port names and no wildcard ? > > Then, if it's the case we can a

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
I like 3 as well. > > Thanks, > Alin > > -Original Message- > From: Andrei Borzenkov [mailto:arvidj...@gmail.com] > Sent: Thursday, January 29, 2015 3:49 PM > To: Zbigniew Jędrzejewski-Szmek > Cc: Rauta, Alin; Lennart Poettering; Kinsella, Ray; systemd Mailing

Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-01-29 Thread Andrei Borzenkov
On Thu, Jan 29, 2015 at 8:31 PM, John Lane wrote: > I am looking for some advice about configuring encrypted volumes with > systemd that I want to open on demand (noauto). > > I can add entries into /etc/crypttab and /etc/fstab for the device, for > example > > #

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-07 Thread Andrei Borzenkov
В Wed, 4 Feb 2015 01:29:11 +0100 Lennart Poettering пишет: > On Thu, 25.12.14 08:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > This looks like fallout of moving to generators for sysv units. Before > > systemd added dependencies on runlevelX.target directly to un

Re: [systemd-devel] Restart sequence: "systemctl restart rsyslog.service syslog.socket" often/sometimes fails

2015-02-07 Thread Andrei Borzenkov
В Wed, 4 Feb 2015 14:34:01 +0100 Lennart Poettering пишет: > On Wed, 04.02.15 11:13, Peter Valdemar Mørch (pe...@morch.com) wrote: > > > First: Please let me know if this is an inappropriate place to ask this > > > > # systemctl restart syslog.socket rsyslog.service > > > > seems to always wor

Re: [systemd-devel] Restarting service starts stopped dependants

2015-02-09 Thread Andrei Borzenkov
В Mon, 9 Feb 2015 19:25:34 +1100 Adam Zegelin пишет: > Hi list, > > Is the following expected behaviour? > > Given services A, B, and C. > > C "Requires" A & B. > > All units are inactive. > > `systemctl restart A` activates C, which in turn activates B. > Whereas `systemctl start A` activat

Re: [systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted

2015-02-10 Thread Andrei Borzenkov
В Tue, 10 Feb 2015 22:28:23 +0100 Kai Krakow пишет: > Lennart Poettering schrieb: > > > On Tue, 10.02.15 20:16, Kai Krakow (hurikha...@gmail.com) wrote: > > > >> Then the question is: Why or what does try to start a user session in the > >> first place? I don't think KDE does this as it's not

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-11 Thread Andrei Borzenkov
В Wed, 11 Feb 2015 20:12:35 +0100 Lennart Poettering пишет: > On Thu, 05.02.15 01:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > Just want to know why he didn't considered pushing this patch upstream. > > > Apparently already two distros patch this downstream, so having a fix

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-12 Thread Andrei Borzenkov
В Wed, 11 Feb 2015 21:19:16 +0100 Lennart Poettering пишет: > > > > But the problem is not limited to legacy initscripts. It makes it > > generally unsafe to have aliases via symlinks. Aliases were always > > meant "for compatibility" but this problems exactly means that > > "compatibility" is b

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-12 Thread Andrei Borzenkov
В Thu, 12 Feb 2015 15:25:08 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Thu, Feb 12, 2015 at 12:52:00PM +, Rauta, Alin wrote: > > > Yes, but the updates need to be done for all links and I'm not sure > > > adding this is a good thing. > > > I'm now having 64 links on the switch and I need

Re: [systemd-devel] [PATCH] configure: turn off -Wlogical-not-parentheses

2015-02-16 Thread Andrei Borzenkov
В Mon, 16 Feb 2015 23:03:39 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Mon, Feb 16, 2015 at 02:02:17PM -0800, Shawn Landden wrote: > > Introduced in gcc-5 > > > > These errors are really annoying. I can get behind clarification of nested > > ifs, > > but this is overkill. > > --- > > config

Re: [systemd-devel] [ANNOUNCE] systemd 219

2015-02-16 Thread Andrei Borzenkov
В Mon, 16 Feb 2015 23:59:56 +0100 Lennart Poettering пишет: > > * When a .mount unit refers to a mount point on which multiple > mounts are stacked, and the .mount unit is stopped all of > the stacked mount points will now be unmounted until no > mount point

Re: [systemd-devel] [ANNOUNCE] systemd 219

2015-02-17 Thread Andrei Borzenkov
В Wed, 18 Feb 2015 01:14:44 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Tue, Feb 17, 2015 at 08:05:29PM +0100, Goffredo Baroncelli wrote: > > Hi Lennart, > > > > On 2015-02-16 23:59, Lennart Poettering wrote: > > > * journald now sets the special FS_NOCOW file flag for its > > >

Re: [systemd-devel] [PATCH] units: add ConditionKernelCommandLine=resume

2015-02-17 Thread Andrei Borzenkov
В Tue, 17 Feb 2015 01:33:41 -0300 Cristian Rodríguez пишет: > If there is no resume= ..it is not possible to > hubrid-sleep or hibernate Why? (default) resume device can be specified directly in initrd. > --- > units/systemd-hibernate.service.in| 1 + > units/systemd-hybrid-sleep.service.i

Re: [systemd-devel] [PATCH v4] Added support for Uplink Failure Detection using BindCarrier

2015-02-17 Thread Andrei Borzenkov
В Tue, 17 Feb 2015 04:06:57 -0800 Alin Rauta пишет: > + > +static int link_handle_bound_to_list(Link *link) { > +Link *l; > +Iterator i; > +int r; > +bool required_up = false; > +bool link_is_up = false; > + > +assert(link); > + > +if (hashm

Re: [systemd-devel] Udev won't rename interfaces that are already UP

2015-02-18 Thread Andrei Borzenkov
В Wed, 18 Feb 2015 21:48:48 +0100 Tom Gundersen пишет: > On Wed, Feb 18, 2015 at 9:36 PM, Reindl Harald wrote: > > Am 18.02.2015 um 21:29 schrieb Giancarlo Razzolini: > >> It is my perception that if you are using predictable network interface > >> naming, which is the current default, you can s

Re: [systemd-devel] systemd-vconsole-setup rendered ineffective thanks to VT framebuffer switch

2015-02-19 Thread Andrei Borzenkov
В Thu, 19 Feb 2015 21:24:08 +0100 (CET) Jan Engelhardt пишет: > > During openQA runs, openSUSE observed that the on-screen font was > different lately. I can locally reproduce the problem, which is, > generally speaking: > > Loading a framebuffer module resets the console font to the VGA ROM

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-02-20 Thread Andrei Borzenkov
В Fri, 20 Feb 2015 10:56:41 +0100 Jan Synacek пишет: > First version of the patch that allows rd.luks.key to be specified almost the > same way as dracut can > read it. > This sounds like working around dracut bug. Dracut already has code to deal with it, it updates /etc/crypttab and reload sy

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-02-20 Thread Andrei Borzenkov
В Fri, 20 Feb 2015 12:20:09 +0100 Przemyslaw Rudy пишет: > Right, not in the doc. In fedora it is used in: > /usr/lib/dracut/modules.d/90crypt/parse-crypt.sh > It is also upstream. > Simply a device timeout in seconds. > > On 02/20/2015 11:53 AM, Jan Synacek wrote: > > Przemyslaw Rudy writes

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-02-20 Thread Andrei Borzenkov
В Fri, 20 Feb 2015 10:56:42 +0100 Jan Synacek пишет: > To be more consistent with how dracut parses rd.luks.key, it is now > allowed to specified it in the format "keyfile[:keyfile_device]". > > Should keyfile_device be provided, it needs to be in "UUID=uuid-here" > format. Also, keyfile path is

Re: [systemd-devel] [PATCH] fstab-generator: mask systemd-fsck-root for /sysroot unit

2015-02-21 Thread Andrei Borzenkov
В Fri, 20 Feb 2015 12:24:33 +0100 har...@redhat.com пишет: > From: Harald Hoyer > > If the fstab-generator generates a mount unit for /sysroot, we shall not > run systemd-fsck-root in the real root. > --- > Makefile.am | 1 + > src/fstab-generator/fstab-generator.c |

Re: [systemd-devel] A use case for staged startup

2015-02-21 Thread Andrei Borzenkov
В Sun, 22 Feb 2015 02:31:05 +1100 Jeff Waugh пишет: > Hi all, > > Marko Hoyer recently brought up the concept of a staged startup [1] on this > list. > > I have a specific use case for some form of staging, though I don't know if > it meets Marko's definition or requirements! Perhaps systemd ca

Re: [systemd-devel] requiring all template instances in a service

2015-02-25 Thread Andrei Borzenkov
В Wed, 25 Feb 2015 18:42:47 -0500 Benjamin Rose пишет: > Hello all, > > I hope this is the right place for this inquiry. I was noticing > extremely slow reboot times on three of my hosts running > corosync/pacemaker for shared storage. I enabled the systemd debug logs, > and found that pacema

Re: [systemd-devel] requiring all template instances in a service

2015-02-26 Thread Andrei Borzenkov
above sentence refers to. If you mean "systemd" then it only respects After and Before relations. This is even documented :) > Thanks, > Ben > > On 02/25/2015 10:38 PM, Andrei Borzenkov wrote: > > В Wed, 25 Feb 2015 18:42:47 -0500 > > Benjamin Rose пишет: > >

Re: [systemd-devel] [PATCH] core/mount: only add dependencies to active units for dynamic mounts [was: Re: unit: When stopping due to BindsTo=, log which unit caused it]

2015-02-26 Thread Andrei Borzenkov
В Thu, 26 Feb 2015 21:59:24 +0100 Martin Pitt пишет: > Hello again, > > Martin Pitt [2015-02-26 21:40 +0100]: > > Ah, then I misunderstood the problem, and the patch will most probably > > not work. > > Sorry, that was too fast. It actually should work. On second thought, > it doesn't matter if

Re: [systemd-devel] anacron timer for backup job to depend on network-online.target

2015-03-01 Thread Andrei Borzenkov
В Sun, 01 Mar 2015 22:13:11 +0100 Thomas Koch пишет: > meta: is it ok to ask user questions on this list? > > Hi, > > I want my backup job to be triggered only, if my laptop is online. I've a > service file and a timer file. Should I add a Wants= and After= dependency on > network-online.targ

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Andrei Borzenkov
В Mon, 2 Mar 2015 09:48:51 -0600 Jordan Hargrave пишет: > It would be nice if systemd could discover and display enclosure/bay slot > mappings for drives in the system. The /dev/disk/by-path method doesn't > quite work, for SAS drives the ID can change on hotplug. The slot mapping > also doesn'

Re: [systemd-devel] How to disable the log of services' status?

2015-03-02 Thread Andrei Borzenkov
В Tue, 3 Mar 2015 11:12:20 +0800 Wang Sen пишет: > Hi all, > > I'm trying to reduce the log output when OS starts. The messages reporting the > services' status like: > > [ OK ] Started Console Getty. > [ OK ] Reached target Login Prompts. > [ OK ] Started Login Service. > [ OK ] Reache

<    3   4   5   6   7   8   9   10   >