Re: [systemd-devel] Systemd loads units before btrfs subvolumes are mounted

2016-05-26 Thread Frederic Crozat
t is a separate btrfs subvolume (to ensure it is not rollbacked along with the system subvolume) but that's it. We don't split /opt to a different partition. -- Frederic Crozat Enterprise Desktop Release Manager SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Options for logging from service started before journald?

2015-10-19 Thread Frederic Crozat
http://bugzilla.opensuse.org/show_bug.cgi?id=950857 > > This bug is nonsense. journald needs no entropy. It used cgrypt for > hashing, it never generates any keys with it. As mentioned it needs > randomness only for the hashtable seeds, and there it doesn't matter. Unfortunately,

Re: [systemd-devel] Detect if a script runs during bootup

2015-11-12 Thread Frederic Crozat
nfs server > the way the SuSE folks want it... For the record, nfsserver initscript is being replaced by a set of systemd service files in upcoming SLE12 SP1 ;) -- Frederic Crozat Enterprise Desktop Release Manager SUSE ___ systemd-devel maili

Re: [systemd-devel] logind, su - sessions and initscripts compatibility

2014-12-18 Thread Frederic Crozat
ripts do that? Unfortunately, we don't always have a choice, when initscripts are not shipped as part of packages in the distribution but shipped by an ISV or a random external software :( -- Frederic Crozat Project Manager Enterprise Desktop SUSE

Re: [systemd-devel] [PATCH] core: make parsing of chkconfig headers conditional

2014-03-24 Thread Frederic Crozat
so sometime would like to have this information handy, despite the fact we use LSB headers (and not "Fedora" ones).. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] core: make parsing of chkconfig headers conditional

2014-03-25 Thread Frederic Crozat
Le lundi 24 mars 2014 à 19:24 +0100, Lennart Poettering a écrit : > On Mon, 24.03.14 19:20, Frederic Crozat (fcro...@suse.com) wrote: > > > Le lundi 24 mars 2014 à 18:58 +0100, Lennart Poettering a écrit : > > > > > It's simply that the PID file info

Re: [systemd-devel] [PATCH 01/11] Ensure that systemd-sysctl.service is applied after modules are loaded

2014-06-16 Thread Frederic Crozat
Le lundi 16 juin 2014 à 10:49 -0400, Cristian Rodríguez a écrit : > El 16/06/14 08:52, Dr. Werner Fink escribió: > > On Fri, Jun 13, 2014 at 05:51:34PM +0200, Tom Gundersen wrote: > >> On Fri, Jun 13, 2014 at 4:41 PM, Werner Fink wrote: > >>> From: Frederic Crozat

[systemd-devel] PATCH: fix systemd-bootchart svg background

2014-06-16 Thread Frederic Crozat
Hi all, attached is a fix for SVG generated by systemd-bootchart, similar to a fix already done in systemd-analyze. -- Frederic Crozat Project Manager Enterprise Desktop SUSE >From d018c76c3cfee47fe92f2115bee3be662ff9225d Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 16 Jun 2014

Re: [systemd-devel] PATCH: fix systemd-bootchart svg background

2014-06-17 Thread Frederic Crozat
Le lundi 16 juin 2014 à 10:13 -0700, Kok, Auke-jan H a écrit : > On Mon, Jun 16, 2014 at 9:52 AM, Frederic Crozat wrote: > > Hi all, > > > > attached is a fix for SVG generated by systemd-bootchart, similar to a > > fix already done in systemd-analyze. > > yeah,

Re: [systemd-devel] [PATCH 03/11] Ensure that ask-password-wall starts after getty.target

2014-06-20 Thread Frederic Crozat
Le vendredi 20 juin 2014 à 04:48 +0200, Zbigniew Jędrzejewski-Szmek a écrit : > On Fri, Jun 13, 2014 at 04:41:02PM +0200, Werner Fink wrote: > > From: Frederic Crozat > > > > --- > > units/systemd-ask-password-wall.service.in |3 ++- > > 1 file cha

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2014-06-23 Thread Frederic Crozat
>convinced that the coredumps would fit that category. How about storing those in /var/cache/systemd/coredump ? This would make obvious they can be safely removed at any time.. -- Frederic Crozat Project Manager Enterprise Desktop SUSE ___ syst

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Frederic Crozat
nits/systemd-udevd-kernel.socket | 1 - > 4 files changed, 4 deletions(-) What do you expect to fix with this patch ? This will just break distro containers (nspawn / lxc) since it will cause udev to be started there. -- Frederic Crozat SUSE ___ syste

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Frederic Crozat
Le jeudi 25 juillet 2013 à 10:45 +0200, Thomas Bächler a écrit : > Am 25.07.2013 10:18, schrieb Frederic Crozat: > > Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a > > écrit : > >> Signed-off-by: Gerardo Exequiel Pozzi > >> --- > >>

Re: [systemd-devel] Is ExecStop executed when service terminates by itself?

2013-09-11 Thread Frederic Crozat
emd/service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch?expand=1 It is the only way I found to have some coherent state for initscripts (systemclt status) between those which are "forking" type and those which are "oneshot" type (and we can't rely on PIDFile:

Re: [systemd-devel] Is ExecStop executed when service terminates by itself?

2013-09-12 Thread Frederic Crozat
Le jeudi 12 septembre 2013 à 12:50 +0200, Kay Sievers a écrit : > On Thu, Sep 12, 2013 at 8:57 AM, Frederic Crozat wrote: > > Le jeudi 12 septembre 2013 à 01:22 +0200, Lennart Poettering a écrit : > > >> (Meh, such sysvinit script extensions are just evil shit, I wish suse

Re: [systemd-devel] [HEADSUP] What to backport?

2013-09-13 Thread Frederic Crozat
ood candidates for backporting into the > systemd packages f various distributions. > > Any unanswered questions? No, just two words: thanks you ! -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.o

Re: [systemd-devel] Journalctl performance

2013-09-25 Thread Frederic Crozat
a that is not synthesizable to the journalctl syslog-style > output, but forgetting features and looking at raw numbers and, as I > said above, it's a hard sell on the surface! > > Is there something wrong here? Are my numbers unrealistic? Is this > pointing at a larger problem with m

Re: [systemd-devel] Does not start in graphical mode

2013-12-16 Thread Frederic Crozat
omething is using killproc incorrectly.. You should look at the journalctl output more closely to find which service is sending this error. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd shutdown problem on openSuSE 13.1 with NFS mounted user home

2014-02-04 Thread Frederic Crozat
is a know bug, which is being worked on : https://bugzilla.novell.com/show_bug.cgi?id=849387 https://bugzilla.novell.com/show_bug.cgi?id=857031 -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Too little information is shown when system enters emergency mode

2012-10-21 Thread Frederic Crozat
nd up in emergency mode). This is fixed with systemd 195 which should land in Factory pretty soon. However, on a more general basis (not openSUSE specific), I think we should add some special handly in systemd for a kernel command line option (for instance debug or debug=1), which would "expand

Re: [systemd-devel] openvpn + auth-user-pass + password agents

2012-11-27 Thread Frederic Crozat
Le mardi 27 novembre 2012 à 09:50 +, Colin Guthrie a écrit : > Hi, > > Has anyone got patches to add password agent support to openvpn? I don't > see any patches in Fedora at least. I did them and they are upstream nowadays :) -- Fred

[systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-16 Thread Frederic Crozat
STEMCTL_OPTIONS environment variable, which, if set, would cause systemctl to append its contents as if it was specified on command line. -- Frederic Crozat SUSE >From aeaf77d093f03133a675fee709b6ac8666d472ae Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 16 Jan 2013 17:21:13 +0100 Subject:

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-16 Thread Frederic Crozat
Le mercredi 16 janvier 2013 à 17:47 +0100, Lennart Poettering a écrit : > On Wed, 16.01.13 17:34, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi, > > > > on openSUSE, we found the need to sometime force "--ignore-dependencies" > > when systemct

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-16 Thread Frederic Crozat
Le mercredi 16 janvier 2013 à 16:58 +, Colin Guthrie a écrit : > 'Twas brillig, and Frederic Crozat at 16/01/13 16:34 did gyre and gimble: > > Hi, > > > > on openSUSE, we found the need to sometime force "--ignore-dependencies" > > when system

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-16 Thread Frederic Crozat
Le mercredi 16 janvier 2013 à 17:15 +, Colin Guthrie a écrit : > 'Twas brillig, and Frederic Crozat at 16/01/13 17:07 did gyre and gimble: > > I was planning to handle this environment variable in our tools but > > tools team would prefer to have it in systemctl.

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-17 Thread Frederic Crozat
Le jeudi 17 janvier 2013 à 13:59 +, Colin Guthrie a écrit : > 'Twas brillig, and Frederic Crozat at 16/01/13 17:15 did gyre and gimble: > > Yes, we have a similar patch in /etc/rc.status on openSUSE, which is > > using SYSTEMCTL_OPTIONS as variable name. So far, I

Re: [systemd-devel] [systemd-commits] 3 commits - .gitignore Makefile.am src/bootchart src/core src/efi-boot-generator src/shared

2013-01-21 Thread Frederic Crozat
e Boot" compatible. And it will force most (if not all) distributions to probably "patch" (or disable) this generator so it behave as it is expected by them (ie /boot/efi). -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [systemd-commits] 3 commits - .gitignore Makefile.am src/bootchart src/core src/efi-boot-generator src/shared

2013-01-21 Thread Frederic Crozat
at space too?). Can you > comment on those kind of set ups? You can have several kernel / boot managers on a UEFI partition, usually from different vendors, because each vendor must use a different prefix (/EFI/openSUSE vs /EFI/Fedora for instance

Re: [systemd-devel] [systemd-commits] 3 commits - .gitignore Makefile.am src/bootchart src/core src/efi-boot-generator src/shared

2013-01-21 Thread Frederic Crozat
Le lundi 21 janvier 2013 à 13:09 +0100, Kay Sievers a écrit : > On Mon, Jan 21, 2013 at 1:05 PM, Frederic Crozat wrote: > > Le lundi 21 janvier 2013 à 12:03 +0100, Kay Sievers a écrit : > > >> It's the simplest and most efficient setup a system can have. > > >

Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-01-23 Thread Frederic Crozat
#x27;d like to join us? Anybody from ArchLinux > attending FOSDEM? SUSE? Or the other distributions? I'll be there too (doing also a talk about Secure Boot on Sunday). -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedes

[systemd-devel] PATCH: improve Environment= section in manpage

2013-01-24 Thread Frederic Crozat
Hi all, while working on another bug, I discovered the "strange" way systemd is parsing Environment= in .service and thought it was worth documenting (because I don't expect people to find this syntax by themselves unless they read the parsing code ;) -- Frederic Cro

Re: [systemd-devel] [PATCH] List configuration dirs in order of a preference

2013-01-28 Thread Frederic Crozat
t all, and > we should add that. I think Michal might also be confused because the behavior changed between systemd v44 (which is currently shipped as stable on openSUSE 12.2) and latest systemd releases. -- Frederic Crozat SUSE ___ systemd-de

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-04 Thread Frederic Crozat
d.opensuse.org/package/view_file?expand=1&file=fix-umount-order-at-shutdown.patch&package=systemd.openSUSE_12.2_Update&project=home%3Afcrozat%3Abranches%3AopenSUSE%3A12.2%3AUpdate ) -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] network/openvswitch dependency loop/deadlock

2013-02-07 Thread Frederic Crozat
> > will make "service openvswitch start" pass the --ignore-dependencies > > argument if it redirects to systemctl. That's likely cleaner than the if > > [ -x /usr/bin/systemctl ] check. Obviously as this is arguably not the > > right fix anywa

[systemd-devel] PATCH: handle rbind mount as bind mounts

2013-02-21 Thread Frederic Crozat
Hi all, attached patch fixes bug reported recently about systemd not handling rbind mount as bind mount. Fix is straightforward. -- Frederic Crozat SUSE >From df77b11852d6b3495848c4123e7cbd9f099910f9 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 21 Feb 2013 15:40:52 +0100 Subj

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
t > it again and such like things. That particular example hasn't been > needed for me for ages, but I'm sure there are other examples that might > be more legitimate. > > That said, I think Fred had patches that are applied in Suse to read

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
Le jeudi 28 février 2013 à 17:58 +0100, Tom Gundersen a écrit : > On Thu, Feb 28, 2013 at 5:51 PM, Frederic Crozat wrote: > > Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : > >> 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and >

Re: [systemd-devel] systemctl link and systemctl enable/disable incompatibility

2013-03-15 Thread Frederic Crozat
ink. > > What is the right way to solve that problem? Bug was opened on similar issue this week : https://bugs.freedesktop.org/show_bug.cgi?id=62300 -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] bootchart issues on slow hardware

2013-03-18 Thread Frederic Crozat
hing user session files (say gnome-shell, files in /usr/share/applications, etc..), which, on workstation used by a single user is really having an impact on perceived system "speed" (ie when user can start working). -- Frederic Crozat SUSE __

Re: [systemd-devel] bootchart issues on slow hardware

2013-03-18 Thread Frederic Crozat
Le lundi 18 mars 2013 à 14:34 +0100, Lennart Poettering a écrit : > On Mon, 18.03.13 09:39, Frederic Crozat (fcro...@suse.com) wrote: > > > Le dimanche 17 mars 2013 à 14:54 +0100, Kay Sievers a écrit : > > > Here is a chart: > > > http://people.freedesktop.org/~k

[systemd-devel] PATCH: fix LSB Provides handling

2013-03-21 Thread Frederic Crozat
by another initscript and this initscript is parsed before the one with the provides). Attached patch fixes this issue. -- Frederic Crozat SUSE >From 4e7c74b96a2c154cfb3e60fc14c8b50070808758 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 21 Mar 2013 15:40:45 +0100 Subject: [PATCH] cor

[systemd-devel] PATCH: ensure systemd-udev is started before local-fs-pre.target

2013-03-21 Thread Frederic Crozat
after systemd-udevd is started. -- Frederic Crozat SUSE >From 94dc949a3056eb989ff2e0c90d951b55eabf72f6 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 21 Mar 2013 17:28:13 +0100 Subject: [PATCH] udevd: ensure static nodes are created before local-fs mount static nodes (like /dev/loop

Re: [systemd-devel] PATCH: fix LSB Provides handling

2013-03-25 Thread Frederic Crozat
Le vendredi 22 mars 2013 à 23:53 +0100, Lennart Poettering a écrit : > On Thu, 21.03.13 17:04, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi all, > > > > in https://bugzilla.novell.com/show_bug.cgi?id=809646 we noticed LSB > > Provides can sometime be inc

Re: [systemd-devel] PATCH: fix LSB Provides handling

2013-03-25 Thread Frederic Crozat
Le lundi 25 mars 2013 à 12:04 +, Colin Guthrie a écrit : > 'Twas brillig, and Frederic Crozat at 25/03/13 10:14 did gyre and gimble: > > Le vendredi 22 mars 2013 à 23:53 +0100, Lennart Poettering a écrit : > >> On Thu, 21.03.13 17:04, Frederic Crozat (fcro...@suse.com) w

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-25 Thread Frederic Crozat
earlier with the patch applied (after). I've checked on my "test" netbook system and I can confirm your findings (with ext4 as fs), gain is around 3s, compared to the "old" readahead in systemd which was sometime slowing boot by 3s, compared to "no" readahead.

Re: [systemd-devel] A newbie question regarding ordering cycles

2013-03-28 Thread Frederic Crozat
ndencies. systemd could be improved to not drop dbus.socket in its ordering cycle break algorithm (there were some discussions some time ago on IRC) but it hasn't happened yet. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-d

Re: [systemd-devel] [PATCH 1/2] cryptsetup: RequiresMountsFor if source is a file

2013-03-29 Thread Frederic Crozat
ttp URL path to the bug in the commit msg? > otherwise it's not clear if that's fdobz or rhbz or any other. You can use https://bugzilla.novell.com/show_bug.cgi?id=730496 for instance (I have similar patch I had on my list to upstream again, since I sent a early version before

[systemd-devel] RFC: should try-restart be a no-op or restart when "stop" is pending

2013-04-08 Thread Frederic Crozat
owever, on a more general level, I'm still wondering if "try-restart" behavior should be more deterministic (ie check if a "stop" call is pending) or should we keep the current behavior ? Is there people expecting issue if the behavior is changed ? Thanks. -- Frederic Cro

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-13 Thread Frederic Crozat
stemd. Thats why I look for ways to find out more. > There've been a number of fixes in this area since systemd-195. > Most notably http://cgit.freedesktop.org/systemd/systemd/commit/?id=aaf7eb8. > Would be great if you could try with a recent version. This patch is already in the maintenance update for 12.3 which was released some weeks ago. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-13 Thread Frederic Crozat
FS > mounts, but this is only a guess because I cannot see what happens > inside systemd. Thats why I look for ways to find out more. Did you try to enable a debug-shell, following http://freedesktop.org/wiki/Software/systemd/Debugging#Early_Debug_Shell ? -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Systemd debugging option, documentation clarification

2013-05-16 Thread Frederic Crozat
s suggesting this for systemctl is called from CLI, not at startup. In that case, parallelism is less of an issue (and I still getting many complains from people wondering :"did the service started ? I had to run systemctl status after starting to check if it was ok"). -- Frederic Crozat

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-17 Thread Frederic Crozat
n we're starting up and waiting for tasks, and have this > > appear at shutdown for tasks taking a long time to shut down. > > > > Should not 03b717a3c4f9348807fc56e7a7d711d72d4ec0cb also work for > shutdown case? I do not really see any condition limiting it to > booting, although I of course may misunderstand it. I think it does already.. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] System units packaging and rpmlint

2013-05-21 Thread Frederic Crozat
; (Or if the check has to be on the binary RPM side, just `rpm --eval > '%_unitdir'` for the right location?) Yes, I agree with this suggestion. This way, even if a new rpmlint release was used on a "old" openSUSE (where /lib/systemd/system was used), it would still work. --

Re: [systemd-devel] journalctl v202, loop endlessly

2013-05-31 Thread Frederic Crozat
rnal~" > avril 22 03:07:09 zeus.seblu.net named[8102]: loading configuration > from '/etc/named.conf' > $32235 = 0x655950 > "/tmp/toto/3d69b1d747744a53ac1c25b78eee2764/system@0004db40759a1f99-767afdbe88695384.journal~" > avril 22 03:07:09 zeus.seblu.net na

Re: [systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-06-28 Thread Frederic Crozat
o do it so that systemd does not have to > be default require for all packages that ship unit files. The result of > this discussion was that we create a subpackage that will contain only > rpm macro files. This is funny, we just did the same on openSUSE Factory. Our package name is s

[systemd-devel] FYI : [PATCH] insserv.conf[.d] support for systemd, as a generator

2013-07-02 Thread Frederic Crozat
and available in the attached patch. I don't expect it to be merged in systemd but since it might be useful for other distributions, I'm sending it here for broadcast. If you have comments on the code itself, go ahead (I used fstab-generator.c as a basis ;) -- Frederic Crozat

[systemd-devel] PATCH: handle ncp just like ncpfs in fstab-generator

2013-07-15 Thread Frederic Crozat
Hi all, the attached patch fixes an issue with ncp mount points not being recognized as network mount points (ncp is alias for ncpfs). -- Frederic Crozat SUSE >From 6bf298c8626cbfc3c3b0bd92fd2437260ce7610c Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 15 Jul 2013 10:27:31 +0

[systemd-devel] PATCH: enable chkconfig support in systemctl for openSUSE

2011-06-08 Thread Frederic Crozat
Attached patch enables chkconfig support in systemctl for openSUSE. -- Frederic Crozat SUSE >From ea4192a54fdbfebdec80f445d702625bc3412d7e Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 8 Jun 2011 15:30:55 +0200 Subject: [PATCH] systemctl: enable sysv chkconfig handling for openS

Re: [systemd-devel] [PATCH] enable chkconfig support in systemctl for ALTLinux

2011-06-14 Thread Frederic Crozat
Le mardi 14 juin 2011 à 14:34 +0400, Alexey Shabalin a écrit : > enable chkconfig support in systemctl for ALTLinux Hmm, this patch looks wrong, you should insert Alt_linux just after TARGET_SUSE, unless you want, like meego, a condition on HAVE_SYSV_COMPAT. -- Frederic Crozat S

[systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-06-16 Thread Frederic Crozat
and https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd but maybe we could improve the scriplet part by creating a cross-distribution set of macros to handle systemctl calls and get it merged in rpm 4.x (or have them shipped in systemd). Opinions welcome.. -- Frederic Crozat

[systemd-devel] PATCH: add support for --root for systemctl enable/disable/is-enabled

2011-06-24 Thread Frederic Crozat
Add --root= for enable/disable/is-enabled systemctl commands. To be used for easily enable / disable systemd services for a chroot, without running systemctl inside chroot. -- Frederic Crozat SUSE >From 318ca654ff4f6f0a45108fff33a62a93799aec2f Mon Sep 17 00:00:00 2001 From: Frederic Cro

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-06-24 Thread Frederic Crozat
Le jeudi 16 juin 2011 à 18:49 +0200, Frederic Crozat a écrit : > Hi all, > > as we are working in integrating systemd in openSUSE for next release, > we will have to handle .unit files in various packages, enabling / > disabling services on package install / upgrades, etc.. >

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-06-27 Thread Frederic Crozat
Le lundi 27 juin 2011 à 14:24 +0200, Lennart Poettering a écrit : > On Fri, 24.06.11 15:08, Frederic Crozat (fcro...@suse.com) wrote: > > Heya, > > Sounds good! A few comments: > > > %service_add() > > if [ "$1" -eq 1 ] ; then > > # Initial instal

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-06-27 Thread Frederic Crozat
Le lundi 27 juin 2011 à 14:38 +0200, Lennart Poettering a écrit : > On Mon, 27.06.11 14:34, Frederic Crozat (fcro...@suse.com) wrote: > > > > > %service_add_enabled() > > > > if [ "$1" -eq 1 ] ; then > > > > # Initial installation > &

[systemd-devel] PATCH: support for parsing /etc/insserv.conf for LSB system facilities

2011-07-01 Thread Frederic Crozat
nteractive is currently broken in systemd and we'd like to keep sysvinit for openSUSE 12.1 (so, we could just remove X-Interactive flags from legacy initscripts on openSUSE, but when booting with old sysvinit, list would be used to tell boot scripts which one are interactive). -- Frederic Cro

Re: [systemd-devel] PATCH: support for parsing /etc/insserv.conf for LSB system facilities

2011-07-04 Thread Frederic Crozat
Le vendredi 01 juillet 2011 à 23:30 +0200, Lennart Poettering a écrit : > On Fri, 01.07.11 11:20, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi, > > Heya, > > > > as discussed on irc, I've implemented parsing /etc/insserv.conf, which, > > on SUSE (

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-04 Thread Frederic Crozat
preun): systemd-units \ Requires(postun): systemd-units \ %service_migrate_to_systemd(l) {-l:LEVEL="-l $1 ; shift } for service in %{?*} ; do \ if /sbin/chkconfig $LEVEL $service ; then /bin/systemctl --no-reload enable `echo $service | sed -e 's/\.service//g'` >/dev/null 2>&

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-04 Thread Frederic Crozat
Le lundi 04 juillet 2011 à 14:53 +0200, Kay Sievers a écrit : > On Mon, Jul 4, 2011 at 14:10, Frederic Crozat wrote: > > > (this macro could refer to different package, if people don't agree on > > systemd-units as packagename) > > I don't agree on the spl

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-05 Thread Frederic Crozat
Le lundi 04 juillet 2011 à 19:28 +0200, Kay Sievers a écrit : > On Mon, Jul 4, 2011 at 14:57, Frederic Crozat wrote: > > Le lundi 04 juillet 2011 à 14:53 +0200, Kay Sievers a écrit : > >> On Mon, Jul 4, 2011 at 14:10, Frederic Crozat wrote: > >> > >> &g

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-05 Thread Frederic Crozat
Le mardi 05 juillet 2011 à 18:25 +0200, Kay Sievers a écrit : > On Tue, Jul 5, 2011 at 10:09, Frederic Crozat wrote: > > Le lundi 04 juillet 2011 à 19:28 +0200, Kay Sievers a écrit : > >> On Mon, Jul 4, 2011 at 14:57, Frederic Crozat wrote: > >> > Le lundi 04 j

Re: [systemd-devel] [RFC] Preset Files

2011-07-06 Thread Frederic Crozat
nt that we'd like to hear your > opinions on it. This would go hand in hand with Frederic's macros, and > both would be included in the upstream systemd package. < snip proposal > I like it (except the enable-by-default policy, but this is something we c

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-06 Thread Frederic Crozat
Le mardi 05 juillet 2011 à 15:06 -0400, Bill Nottingham a écrit : > Frederic Crozat (fcro...@suse.com) said: > > %service_migrate_to_systemd(l) > > {-l:LEVEL="-l $1 ; shift } > > for service in %{?*} ; do \ > > if /sbin/chkconfig $LEVEL $service ; then > >

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-06 Thread Frederic Crozat
Le mardi 05 juillet 2011 à 23:39 +0200, Lennart Poettering a écrit : > On Tue, 05.07.11 18:37, Frederic Crozat (fcro...@suse.com) wrote: > > > > > the point is to have a common macro which would allow packagers to > > > > ensure they don't forget anything

Re: [systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

2011-07-06 Thread Frederic Crozat
Le mercredi 06 juillet 2011 à 13:51 +0200, Kay Sievers a écrit : > On Wed, Jul 6, 2011 at 11:15, Frederic Crozat wrote: > > Le mardi 05 juillet 2011 à 23:39 +0200, Lennart Poettering a écrit : > > >> The simple fact is that we need a dependency on systemd anyway in the

[systemd-devel] PATCH: add units for boot.local/halt.local on openSUSE

2011-07-07 Thread Frederic Crozat
Hi, attached patch adds a modified version of fedora rc-local/halt-local services for openSUSE. -- Frederic Crozat SUSE >From 06238c421548f9af6ebebd54eba99bba2a2049d4 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 7 Jul 2011 14:56:30 +0200 Subject: [PATCH] units: add units

Re: [systemd-devel] common RPM spec file?

2011-08-01 Thread Frederic Crozat
eral distributions that require systemd at build time, > > So I am wondering about systemd-sysvinit. Otherwise it looks like we'll > eventually have the same packaging on Suse and Fedora. From what I see in your sysvinit package, it doesn't do exactly the same thing, it is mostly

[systemd-devel] PATCH: fix bash completion for systemctl restart

2011-08-01 Thread Frederic Crozat
Current bash completion doesn't use the correct service list for restart command, preventing to restart a already running service. -- Frederic Crozat SUSE Business cards request.ods Description: application/vnd.oasis.opendocument.spread

Re: [systemd-devel] PATCH: fix bash completion for systemctl restart

2011-08-01 Thread Frederic Crozat
Le lundi 01 août 2011 à 18:45 +0200, Frederic Crozat a écrit : > Current bash completion doesn't use the correct service list for restart > command, preventing to restart a already running service. Grrr, wrong file attached :) -- Frederic Crozat

[systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-03 Thread Frederic Crozat
Hi, currently fsck-root.service detects only dracut initrd to prevent running fsck on / when it was mounted rw by initrd. Attached patch adds detection for SUSE initrd. -- Frederic Crozat SUSE >From 687d70cc43b34eb2359598d0ca0b69e996aa1b38 Mon Sep 17 00:00:00 2001 From: Frederic Crozat D

Re: [systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-03 Thread Frederic Crozat
Le mercredi 03 août 2011 à 18:45 +0200, Lennart Poettering a écrit : > On Wed, 03.08.11 18:35, Frederic Crozat (fcro...@suse.com) wrote: > > Heya, > > > currently fsck-root.service detects only dracut initrd to prevent > > running fsck on / when it was mounted rw by ini

Re: [systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-04 Thread Frederic Crozat
Le mercredi 03 août 2011 à 18:49 +0200, Frederic Crozat a écrit : > Le mercredi 03 août 2011 à 18:45 +0200, Lennart Poettering a écrit : > > On Wed, 03.08.11 18:35, Frederic Crozat (fcro...@suse.com) wrote: > > > > Heya, > > > > > currently fsck-root.service d

[systemd-devel] PATCH: accept "none" as a crypttab option

2011-08-04 Thread Frederic Crozat
SUSE is adding "none" as a option to /etc/crypttab when nothing is relevant to be put there. Attached patch ensures systemd doesn't complain about it (since it works fine). -- Frederic Crozat SUSE >From aa5f34f2109a02db7887c220c5a35b6a8ee3e6c8 Mon Sep 17 00:00:00 2001 Fro

[systemd-devel] PATCH: ensure cryptsetup targets are dependency of local-fs.target

2011-08-04 Thread Frederic Crozat
Frederic Crozat SUSE >From d58446e4b3217f97baca7961154813a563ccdd19 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 4 Aug 2011 16:46:33 +0200 Subject: [PATCH] cryptsetup-generator: block boot when querying passphrase. Ensure we wait for passphrase before starting tty1 or grap

Re: [systemd-devel] v33 - crashes on 'systemctl enable'?

2011-08-16 Thread Frederic Crozat
ection.c:4644 #14 0x0808748c in bus_dispatch (m=0x811e5c8) at src/dbus.c:521 #15 0x08059353 in manager_loop (m=0x811e5c8) at src/manager.c:2426 #16 0x0804f6d2 in main (argc=1, argv=0xbf892834) at src/main.c:1317 -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] PATCH: add missing header include

2011-08-18 Thread Frederic Crozat
Hi, MS_REC is not always defined in sys/mount.h. linux/fs.h should be included, since it is always defined there. -- Frederic Crozat SUSE >From 9f8a50decf45aaa4436b9fb3a0ab360f238b7d96 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 18 Aug 2011 15:42:29 +0200 Subject: [PATCH] nsp

Re: [systemd-devel] PATCH: add missing header include

2011-08-18 Thread Frederic Crozat
Le jeudi 18 août 2011 à 16:00 +0200, Lennart Poettering a écrit : > On Thu, 18.08.11 15:50, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi, > > > > MS_REC is not always defined in sys/mount.h. linux/fs.h should be > > included, since it is always defined ther

[systemd-devel] PATCH: add support for compose_table, kbd_rate and disabling caplocks

2011-08-19 Thread Frederic Crozat
so on, because I'm not sure I want it in vconsole-setup (reading bios data which should probably be restored by kernel itself, etc..) but probably in a separate helper (either C or shell). -- Frederic Crozat SUSE >From e183dbe195058ef921c4bd9760dc3631b425dd92 Mon Sep 17 00:00:00 2001 From: Fr

Re: [systemd-devel] PATCH: add support for compose_table, kbd_rate and disabling caplocks

2011-08-22 Thread Frederic Crozat
ng it two or three times (like it is done in our initscript or if we add another helper). - kbd rate : could be moved to a separate helper - setleds : same (although some of it should be handled by the kernel itself..) In the mean time, I'll keep a patch in SUSE systemd for compose and kbd_r

[systemd-devel] PATCH: fix kexec support when using /dev/initctl

2011-08-22 Thread Frederic Crozat
ched patch fixes the issue (and move kexec_loaded function to util.[ch] since it is used in two places now). -- Frederic Crozat SUSE >From b1e304bb59e1a80abacfd6f0377ae14c3c1a10cc Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 22 Aug 2011 14:58:50 +0200 Subject: [PATCH] initc

[systemd-devel] generators and service symlink

2011-08-22 Thread Frederic Crozat
ctl daemon-reload is started. Sounds like a bug but I'm not sure where it is.. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mardi 23 août 2011 à 17:56 +0200, Lennart Poettering a écrit : > On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi, > > > > I'm testing a systemd-generator to create default.target symlink, > > depending on /etc/inittab content.

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mercredi 24 août 2011 à 13:42 +0200, Frederic Crozat a écrit : > Le mardi 23 août 2011 à 17:56 +0200, Lennart Poettering a écrit : > > On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > > > > > Hi, > > > > > > I'm testing a sys

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mercredi 24 août 2011 à 14:12 +0200, Lennart Poettering a écrit : > On Wed, 24.08.11 13:42, Frederic Crozat (fcro...@suse.com) wrote: > > It didn't work as expected due to a bug in > > path-lookup.c:lookup_paths_init which remove from the lookup path lists > > emp

Re: [systemd-devel] PATCH: support for parsing /etc/insserv.conf for LSB system facilities

2011-09-09 Thread Frederic Crozat
Le mardi 02 août 2011 à 01:43 +0200, Lennart Poettering a écrit : > On Mon, 04.07.11 11:39, Frederic Crozat (fcro...@suse.com) wrote: > > > Le vendredi 01 juillet 2011 à 23:30 +0200, Lennart Poettering a écrit : > > > On Fri, 01.07.11 11:20, Frederic Crozat (fc

Re: [systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread Frederic Crozat
in our way to do the > long overdue cleanup of Makefile.am. Indeed.. -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Failed to activate service 'org.freedesktop.ConsoleKit': timed out

2011-09-20 Thread Frederic Crozat
s > "systemctl status console-kit-daemon.service" say after boot? Strangely, I got similar bug report from KDE users on openSUSE Factory (didn't had time to investigate myself) : https://bugzilla.novell.com/show_bug.cgi?id=715467 -- Frederic Crozat SUSE _

[systemd-devel] RPM macros for systemd : latest version

2011-09-26 Thread Frederic Crozat
Hi all, we've been doing another round of changes to the RPM macros for systemd. It is mostly to handle : - migration from sysvinit (using Fedora scripts, but not relying on triggers, because they don't play very will with OBS) - presets (systemctl preset is called automatically) --

[systemd-devel] PATCH: improve LSB initscript handling regarding RemainAfterExit

2011-09-30 Thread Frederic Crozat
(see https://bugzilla.novell.com/show_bug.cgi?id=721426 ). Attached patch tries to mitigate that, by checking if a daemon was detected in this case and change RemainAfterExit to false. -- Frederic Crozat SUSE >From 700b1261115a67392014ff2c887a9cffc28108ab Mon Sep 17 00:00:00 2001 From: Frederic Crozat

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-09-30 Thread Frederic Crozat
files to prioritize *might* make sense, sorting by > top-level dir doesn't really. We should probably set a milestone for basic.target, splitting the readahead for files needed to reach basic.target and all other files after it. This is something we were doing in speedboot on Mdv

Re: [systemd-devel] [PATCH] cryptsetup-generator: avoid ordering cycle on swap

2011-10-18 Thread Frederic Crozat
his patch was confirmed to fix issue reported on our bugzilla : https://bugzilla.novell.com/show_bug.cgi?id=721666 -- Frederic Crozat SUSE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinf

  1   2   >