Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread Gustavo Sverzut Barbieri
On Thu, Nov 27, 2014 at 03:42:37PM +0100, David Herrmann wrote: Hi On Wed, Nov 26, 2014 at 6:40 PM, Gustavo Sverzut Barbieri gustavo.barbi...@intel.com wrote: On Wed, Nov 26, 2014 at 06:33:31PM +0100, Lennart Poettering wrote: On Wed, 26.11.14 15:16, Gustavo Sverzut Barbieri

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread Gustavo Sverzut Barbieri
On Thu, Nov 27, 2014 at 06:50:19PM +0100, David Herrmann wrote: Hi On Thu, Nov 27, 2014 at 6:35 PM, Peter Wu pe...@lekensteyn.nl wrote: On Thursday 27 November 2014 13:42:27 Gustavo Sverzut Barbieri wrote: I'm asking because from Peter Wu's email we're 26384 - 26380 = 4Kb heavier

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-27 Thread Gustavo Sverzut Barbieri
On Thu, Nov 27, 2014 at 07:36:12PM +0100, David Herrmann wrote: Hi On Thu, Nov 27, 2014 at 7:31 PM, Gustavo Sverzut Barbieri gustavo.barbi...@intel.com wrote: Currently configure.ac has the LTO logic inside an: AS_CASE([$CFLAGS], [*-O[[12345\ ]]*], We can make the else

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-26 Thread Gustavo Sverzut Barbieri
-sections -Wl,--gc-sections -Wl,--print-gc-sections so we print out sections that are dangling and then we could remove them from source code if needed. BR, -- Gustavo Sverzut Barbieri Intel Open source Technology Center ___ systemd-devel

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-26 Thread Gustavo Sverzut Barbieri
On Wed, Nov 26, 2014 at 06:27:45PM +0100, Michael Biebl wrote: 2014-11-26 18:16 GMT+01:00 Gustavo Sverzut Barbieri gustavo.barbi...@intel.com: My only comment is that we should also remove: -ffunction-sections -fdata-sections those are only useful to enable gc-sections

Re: [systemd-devel] [PATCH] build-sys: remove --gc-sections to fix debugging

2014-11-26 Thread Gustavo Sverzut Barbieri
On Wed, Nov 26, 2014 at 06:33:31PM +0100, Lennart Poettering wrote: On Wed, 26.11.14 15:16, Gustavo Sverzut Barbieri (gustavo.barbi...@intel.com) wrote: I'm okay with the change to remove gc-sections. systemd is pretty good at not leaving crap in its code, then results are pretty small

Re: [systemd-devel] [PATCH 1/2] tmpfiles.d: split files to cope with split packages.

2014-09-30 Thread Gustavo Sverzut Barbieri
On Tue, Sep 30, 2014 at 04:26:38AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Sep 25, 2014 at 06:12:50PM -0300, Gustavo Sverzut Barbieri wrote: etc.conf was selectively (using m4) using resolved link, now this is moved to systemd-resolved.conf file. The etc.conf can be static

Re: [systemd-devel] [PATCH 1/2] tmpfiles.d: split files to cope with split packages.

2014-09-30 Thread Gustavo Sverzut Barbieri
On Tue, Sep 30, 2014 at 04:26:38AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Sep 25, 2014 at 06:12:50PM -0300, Gustavo Sverzut Barbieri wrote: etc.conf was selectively (using m4) using resolved link, now this is moved to systemd-resolved.conf file. The etc.conf can be static

Re: [systemd-devel] [PATCH 2/2] sysusers.d: split files to cope with split packages.

2014-09-30 Thread Gustavo Sverzut Barbieri
On Tue, Sep 30, 2014 at 04:26:31AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Sep 25, 2014 at 06:12:51PM -0300, Gustavo Sverzut Barbieri wrote: move each user/group creation to a file that represents its own split package, so it's possible to ship them in separate. --- Makefile.am

Re: [systemd-devel] [PATCH 1/2] tmpfiles.d: split files to cope with split packages.

2014-09-29 Thread Gustavo Sverzut Barbieri
On Thu, Sep 25, 2014 at 06:12:50PM -0300, Gustavo Sverzut Barbieri wrote: etc.conf was selectively (using m4) using resolved link, now this is moved to systemd-resolved.conf file. The etc.conf can be static and does not need to be generated anymore. systemd.conf was doing all the journal

[systemd-devel] [PATCH] journal: build fix when LZ4 is enabled but XZ is not.

2014-09-25 Thread Gustavo Sverzut Barbieri
--- src/journal/journal-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index da2ef3b..6b4bf0d 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -78,7 +78,7 @@ typedef struct JournalFile {

[systemd-devel] [PATCH] do not install factory/etc/pam.d if --disable-pam

2014-09-25 Thread Gustavo Sverzut Barbieri
--- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 5312851..52f578b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2050,9 +2050,11 @@ endif dist_factory_etc_DATA = \ factory/etc/nsswitch.conf +if HAVE_PAM dist_factory_pam_DATA = \

[systemd-devel] [PATCH 2/2] sysusers.d: split files to cope with split packages.

2014-09-25 Thread Gustavo Sverzut Barbieri
move each user/group creation to a file that represents its own split package, so it's possible to ship them in separate. --- Makefile.am| 33 +++-- sysusers.d/systemd-journal-remote.conf | 9 +

[systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

2014-09-25 Thread Gustavo Sverzut Barbieri
--- Makefile.am | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8a32880..62cf768 100644 --- a/Makefile.am +++ b/Makefile.am @@ -387,7 +387,6 @@ rootlibexec_PROGRAMS = \ systemd-ac-power \ systemd-sysctl \

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Gustavo Sverzut Barbieri
Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-14 Thread Gustavo Sverzut Barbieri
the best option so far. Eventually these things will mature and your patches, or similar, can be applied. Another option I'm hoping Gentoo uses is to standardize on systemd instead of dozen of half backed utilities to do the same things. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-05-24 Thread Gustavo Sverzut Barbieri
On Wednesday, May 23, 2012, Lennart Poettering wrote: On Wed, 23.05.12 12:10, Gustavo Sverzut Barbieri (barbi...@profusion.mobijavascript:;) wrote: One suggestion at IRC was to just keep systemd mount units. But if we should go this route, then we should call to deprecate /etc/fstab

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-05-23 Thread Gustavo Sverzut Barbieri
On Wed, May 23, 2012 at 8:51 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 22.05.12 18:13, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) wrote: On Tue, May 22, 2012 at 3:03 PM, Lennart Poettering lenn...@poettering.net wrote: Heya, just a quick heads-up. I just

Re: [systemd-devel] [PATCH] Makefile.am: reduce linked libraries

2012-04-04 Thread Gustavo Sverzut Barbieri
and the less useless libraries we link the better. :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] Makefile.am: reduce linked libraries

2012-04-04 Thread Gustavo Sverzut Barbieri
not. Likely these are needed in initramfs as well as they may be used to load required module and detect the root partition. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Gustavo Sverzut Barbieri
for mountpoints, mostly created automatically based on media name. Then it makes sense to make it volatile and allows / to be read-only. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Gustavo Sverzut Barbieri
On Tue, Mar 27, 2012 at 5:12 PM, Tollef Fog Heen tfh...@err.no wrote: ]] Lennart Poettering On Tue, 27.03.12 16:53, Tollef Fog Heen (tfh...@err.no) wrote: ]] Gustavo Sverzut Barbieri On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen tfh...@err.no wrote: Hi, why is /media

Re: [systemd-devel] [Linux-ima-user] [PATCH 2/2] main: added support for loading IMA custom policies

2012-02-16 Thread Gustavo Sverzut Barbieri
On Thu, Feb 16, 2012 at 11:38 AM, Roberto Sassu roberto.sa...@polito.it wrote: On 02/16/2012 05:56 AM, Michael Cassaniti wrote: On 16/02/2012 04:12, Roberto Sassu wrote: On 02/15/2012 05:55 PM, Gustavo Sverzut Barbieri wrote: On Wed, Feb 15, 2012 at 2:26 PM, Roberto Sassuroberto.sa

Re: [systemd-devel] [Linux-ima-user] [PATCH 2/2] main: added support for loading IMA custom policies

2012-02-16 Thread Gustavo Sverzut Barbieri
On Thu, Feb 16, 2012 at 12:35 PM, Roberto Sassu roberto.sa...@polito.it wrote: On 02/16/2012 03:30 PM, Gustavo Sverzut Barbieri wrote: On Thu, Feb 16, 2012 at 11:38 AM, Roberto Sassuroberto.sa...@polito.it  wrote: On 02/16/2012 05:56 AM, Michael Cassaniti wrote: On 16/02/2012 04:12

Re: [systemd-devel] [PATCH 2/2] main: added support for loading IMA custom policies

2012-02-15 Thread Gustavo Sverzut Barbieri
have no such things in my system and see no point in calling ima_setup() on it. Or even compiling the source file in such case. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225

Re: [systemd-devel] [PATCH 2/2] main: added support for loading IMA custom policies

2012-02-15 Thread Gustavo Sverzut Barbieri
On Wed, Feb 15, 2012 at 2:26 PM, Roberto Sassu roberto.sa...@polito.it wrote: On 02/15/2012 03:30 PM, Gustavo Sverzut Barbieri wrote: On Wed, Feb 15, 2012 at 11:23 AM, Roberto Sassuroberto.sa...@polito.it   wrote: The new function ima_setup() loads an IMA custom policy from a file

Re: [systemd-devel] User services

2012-01-23 Thread Gustavo Sverzut Barbieri
, that's why it's off by default. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Understanding systemd-analyze's plots

2011-11-27 Thread Gustavo Sverzut Barbieri
! :-( -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Understanding systemd-analyze's plots

2011-11-26 Thread Gustavo Sverzut Barbieri
/3U4tg ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi

Re: [systemd-devel] systemd diagnostics

2011-11-25 Thread Gustavo Sverzut Barbieri
) and it would be nice know about it. here I have the final logs before shutdown, but nothing for services stopping. What do you mean? -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] net stats per app

2011-08-24 Thread Gustavo Sverzut Barbieri
, in this case the solution can't be in systemd or kernel, will need a tool to walk these groups accumulate them into a persistent media. Be it periodically, upon reboot or some other method. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
-- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
and CMOS compiled in (built-in, not modules!) in your kernel. CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 CONFIG_RTC_DRV_CMOS=y is what I use. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 4:42 AM, Stephan Kulow co...@suse.de wrote: Am Donnerstag, 19. Mai 2011 schrieb Gustavo Sverzut Barbieri: I'd like to know some positive and negative tests before I ask someone at kde.org to commit it :-) Too late - I'm listening :) Don't listen - TEST IT :-) Great

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 6:16 AM, Michal Schmidt mschm...@redhat.com wrote: On 05/19/2011 06:09 PM, Gustavo Sverzut Barbieri wrote: If you happen to use icecream, give a try to the attached patch to their SVN (svn://anonsvn.kde.org/home/kde/trunk/icecream revision 1232790) You have in daemon

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 10:57 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 15:34, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Fri, May 20, 2011 at 10:15 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown

Re: [systemd-devel] and again about conditions

2011-05-20 Thread Gustavo Sverzut Barbieri
edited the configuration file (or some tool that edits /etc/mdadm.conf should systemctl enable mdadm.service). For other cases I guess it's time to just rethink the whole mess instead of cope with them. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 3:01 PM, Henry Gebhardt hsggebha...@googlemail.com wrote: On Fri, May 20, 2011 at 10:37:42AM -0300, Gustavo Sverzut Barbieri wrote: On Fri, May 20, 2011 at 9:36 AM, Maciej Piechotka uzytkown...@gmail.com wrote: ... Ok - I won't. The file is: 0.00

[systemd-devel] icecream socket activation (help testing)

2011-05-19 Thread Gustavo Sverzut Barbieri
and negative tests before I ask someone at kde.org to commit it :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 Adds socket activation support to icecream

Re: [systemd-devel] Problems with rootfs over nfs

2011-05-16 Thread Gustavo Sverzut Barbieri
is set and warn the user? -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Communicating need

2011-05-12 Thread Gustavo Sverzut Barbieri
, not just socket activation, but timers, various conditionals (paths, directories...) and events. You used to force one direction in the graph, we offer both. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype

Re: [systemd-devel] minimal-uclibc: systemd fails with `src/manager.c:257:42: error: 'EPOLL_CLOEXEC' undeclared (first use in this function)`

2011-05-11 Thread Gustavo Sverzut Barbieri
something missing in eglibc's itself. That was not visible as a compile-time error, but was causing issues. I'd check if uclibc implements that as well. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri

Re: [systemd-devel] Parallel startup with sockets and without killing the machine?

2011-05-09 Thread Gustavo Sverzut Barbieri
the system less interactive during startup to speed up boot, reverting to fully interactive later, but it proved to be more work than what it was worth. Hope it help to clarify :-) Regards, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN

Re: [systemd-devel] user space boot time 1s (was: Parallel startup with sockets and without killing the machine?)

2011-05-09 Thread Gustavo Sverzut Barbieri
Enlightenment E17 (if you get it from SVN we collapsed/merged some modules/.so so it's even faster as there is less runtime work). I'll not be at LinuxTag, but I'll ask other developers and will let you know. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Parallel startup with sockets and without killing the machine?

2011-05-09 Thread Gustavo Sverzut Barbieri
On Mon, May 9, 2011 at 5:21 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 09.05.11 16:16, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) wrote: Well, right now let's make clear that Firefox/Chromium or other X clients won't be started by systemd as they are user session

Re: [systemd-devel] Communicating need

2011-05-09 Thread Gustavo Sverzut Barbieri
. would simply result in none of the above being started ever. What to do for Bluetooth keyboards, mouse, printer, headset...? And right now if you don't have hardware you don't get kernel/system daemon, all you get is an applet. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] I need a killall.service in beta fc 15 (systemd installed by default)

2011-05-08 Thread Gustavo Sverzut Barbieri
appreciated. Floyd, ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] systemd fails to boot OLPC XO-1.5

2011-05-07 Thread Gustavo Sverzut Barbieri
On Sat, May 7, 2011 at 5:45 PM, Daniel Drake d...@laptop.org wrote: On 7 May 2011 21:23, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:     Failed to initialize automounter: No such file or directory This one is a big thing. Compile your kernel with autofs support. You don't need any

Re: [systemd-devel] systemd fails to boot OLPC XO-1.5

2011-05-07 Thread Gustavo Sverzut Barbieri
On Sat, May 7, 2011 at 7:26 PM, Daniel Drake d...@laptop.org wrote: On 7 May 2011 21:49, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: maybe need CONFIG_DEVTMPFS_MOUNT=y  as well? But yeah, take a look from top-bottom in the log, don't bother investigating the last messages

Re: [systemd-devel] [PATCH] Angstrom support

2011-05-05 Thread Gustavo Sverzut Barbieri
is in that position with Angstron? :-) BTW, what's the feasibility to have Angstron as use systemd by default? -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] Device names with dashes

2011-04-19 Thread Gustavo Sverzut Barbieri
to hexadecimal value like \x2d (ord('-') == 0x2d). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd

Re: [systemd-devel] PgSQL, MySQL systemd services - how to rewrite complex init scripts?

2011-04-09 Thread Gustavo Sverzut Barbieri
, and just exit with failure if there is a blocking feature that would forbid the ExecStart to run. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] some issues with missing HAVE_SYSV_COMPAT and /run/lock

2011-04-06 Thread Gustavo Sverzut Barbieri
not used (as expected). /var/run (/run) OTOH is full of users :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel

Re: [systemd-devel] Improve boot-time of systemd

2011-03-24 Thread Gustavo Sverzut Barbieri
On Thu, Mar 24, 2011 at 9:35 AM, Andrey Borzenkov arvidj...@mail.ru wrote: On Thu, Mar 24, 2011 at 12:19 PM, fykc...@gmail.com fykc...@gmail.com wrote: Hi, 2011/3/18 Gustavo Sverzut Barbieri barbi...@profusion.mobi:  2. should we do (or have a way to) force a manual ordering to help Xorg/DM

Re: [systemd-devel] Improve boot-time of systemd

2011-03-22 Thread Gustavo Sverzut Barbieri
Any comments about these 2 points: On Fri, Mar 18, 2011 at 1:40 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: 2. udev-settle.service serializes the boot process, see attachment udev-settle.png. I have feeling that increased parallelism during boot (like starting fsck/mount

Re: [systemd-devel] Improve boot-time of systemd

2011-03-18 Thread Gustavo Sverzut Barbieri
is the fact that some things affect boot time but they should not, and it's not systemd's fault. For instance with both nvidia and intel on another PC I have around 1s slowdown when I'm using external monitors! Damn, 14% of my boot time because of that? -- Gustavo Sverzut Barbieri http://profusion.mobi

Re: [systemd-devel] crypto: to show stars or not to show them

2011-03-16 Thread Gustavo Sverzut Barbieri
. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [systemd-commits] .gitignore Makefile.am man/machine-id.xml src/machine-id-main.c src/machine-id-setup.c src/machine-id-setup.h src/main.c

2011-03-05 Thread Gustavo Sverzut Barbieri
) +                writable = true; +        else { +                if ((fd = open(/etc/machine-id, O_RDONLY|O_CLOEXEC|O_NOCTTY)) 0) { +                        umask(m); + -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com

Re: [systemd-devel] Environment EnvironmentFile in unit files

2011-01-27 Thread Gustavo Sverzut Barbieri
On Thu, Jan 27, 2011 at 12:32 PM, Lucian Muresan luci...@users.sourceforge.net wrote: On 27.01.2011 14:31, Gustavo Sverzut Barbieri wrote: On Thu, Jan 27, 2011 at 8:10 AM, Lucian Muresan [...] I'll let  the final decision to Lennart and Kay, the maintainers, but from what I see and agree

Re: [systemd-devel] systemd hang on booting after mount

2011-01-19 Thread Gustavo Sverzut Barbieri
that something bigger is wrong with your system. Likely you're doing it for a company. If so and you need some consulting or even to outsource systemd-related development, let me know. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN

Re: [systemd-devel] Restarting sshd

2011-01-11 Thread Gustavo Sverzut Barbieri
On Tue, Jan 11, 2011 at 7:12 AM, Alexander E. Patrakov patra...@gmail.com wrote: ... ExecReload=/bin/kill -HUP $MAINPID This becoming a common case, shouldn't we have a ExecReloadSignal=HUP, or SignalReload=HUP? -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Mounting /dev/pts

2011-01-03 Thread Gustavo Sverzut Barbieri
keep our regular do the simple way, let's people report corner cases. It was done for other things, why not this? At most define a macro: #ifndef TTY_GID #define TTY_GID 5 #endif and people can still provide it using CFLAGS. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Mandriva support for systemd

2010-12-28 Thread Gustavo Sverzut Barbieri
your patched services, like cupsd? BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd

Re: [systemd-devel] Wildcards support for tmpfiles

2010-11-28 Thread Gustavo Sverzut Barbieri
___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi

Re: [systemd-devel] preparing unit definition for squid – some questions

2010-11-26 Thread Gustavo Sverzut Barbieri
2010/11/26 Tomasz Torcz to...@pipebreaker.pl: On Thu, Nov 25, 2010 at 09:31:55PM -0200, Gustavo Sverzut Barbieri wrote: On Thu, Nov 25, 2010 at 7:43 PM, Tomasz Torcz to...@pipebreaker.pl wrote: Hi,  I'm slowly porting init scripts of software I use to systemd unit files. It is generally

Re: [systemd-devel] preparing unit definition for squid – some questions

2010-11-25 Thread Gustavo Sverzut Barbieri
longer for stop (because squid waits for open connection to end when closing). this is a good point. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

[systemd-devel] [PATCH] Remove Gentoo specific xdm.service

2010-11-24 Thread Gustavo Sverzut Barbieri
That unity pulls in OpenRC which in turn pulls in most of legacy system that causes lots of troubles as it is too smart, thus not recommended. Moreover, SystemD developers seems to agree that a service file per DM is the best approach, so having gdm.service, kdm.service, slim.service is better

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-15 Thread Gustavo Sverzut Barbieri
calls it's better to block all calls and only do one full run at the end. That's the case during boot and when calling rcnetwork restart. well, this is bit moot then, as you can make it After=whatever-may-change-ports, or add those services with Before=SuSEfirewall2.service -- Gustavo Sverzut

Re: [systemd-devel] BTRFS bug with parallel mounts?

2010-11-11 Thread Gustavo Sverzut Barbieri
On Thursday, November 11, 2010, Mike Kazantsev mk.frag...@gmail.com wrote: On Wed, 10 Nov 2010 15:52:51 -0200 Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wed, Nov 10, 2010 at 2:11 PM, Greg KH g...@kroah.com wrote: On Wed, Nov 10, 2010 at 01:02:51PM -0200, Gustavo Sverzut

[systemd-devel] BTRFS bug with parallel mounts?

2010-11-10 Thread Gustavo Sverzut Barbieri
and forcefully? This would be helpful for buggy FS while you can't get the fix (or to install and apply the fix -- as I'm using openrc but in future I'll not) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype

Re: [systemd-devel] socket based activation for Python?

2010-11-07 Thread Gustavo Sverzut Barbieri
calls. I'm pretty sure there are similar things for sockets/sendmsg/readmsg. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] An update

2010-11-07 Thread Gustavo Sverzut Barbieri
; sometimes when I wake up after a suspend, the system goes to the BIOS screen and a normal boot, instead of bringing back the suspended system. Except those two problems, everything is working fine. No idea, those do not happen to me. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Log of all processes

2010-10-25 Thread Gustavo Sverzut Barbieri
/README.txt As for shutdown, yeah, it's as fast as it should be ;-) We're doing an amazing work with systemd! My next hope is to have the cron features in it and it's all I ever need to manage my system. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Re: [systemd-devel] Log of all processes

2010-10-25 Thread Gustavo Sverzut Barbieri
On Mon, Oct 25, 2010 at 10:20 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Mon, Oct 25, 2010 at 13:27, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: It boots into my Enlightenment17 with pid around 500, with a hack to ignore some acpid udev modprobes I can get it to 300). Yeah

Re: [systemd-devel] [PATCH 4/4] Adding unmount functions to be used in shutdown

2010-10-05 Thread Gustavo Sverzut Barbieri
with errors trying to continue as far as possible, that also includes not return from the shutdown program when some error occurs. Your comment goes in the same lines :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi

Re: [systemd-devel] [PATCH 1/4] Adding halt binary to shutdown the system

2010-10-01 Thread Gustavo Sverzut Barbieri
I'm replying to this as couple of the bad ideas were my fault :-) On Fri, Oct 1, 2010 at 10:52 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 01.10.10 02:28, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) wrote: From: Fabiano Fidencio fiden...@profusion.mobi

Re: [systemd-devel] [PATCH 2/4] special shutdown targets will now cause manager to exit.

2010-10-01 Thread Gustavo Sverzut Barbieri
On Fri, Oct 1, 2010 at 1:33 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 01.10.10 11:44, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) wrote: On Fri, Oct 1, 2010 at 10:54 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 01.10.10 02:28, Gustavo Sverzut

Re: [systemd-devel] [systemd-commits] src/readahead-collect.c src/readahead-common.c

2010-09-30 Thread Gustavo Sverzut Barbieri
%s with size out of bounds %lli, fn, (unsigned long long) st-st_size); unsigned long long = llu, not lli. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

[systemd-devel] [PATCH] Compiler and linker flags to reduce binary size.

2010-09-30 Thread Gustavo Sverzut Barbieri
Reduce number of exported symbols with -fvisibility=hidden by default, this is safe as we're not generating and loadable library and our binaries should have no exported symbol other than main(). This alone reduces around 4kb per binary. It will also request GCC to emit every function and data

Re: [systemd-devel] [PATCH 3/4] Adding halt binary to shutdown the system

2010-09-30 Thread Gustavo Sverzut Barbieri
() will work for every process, etc. if we need things like UPS, better to make that uniform and always call it if present. BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] [PATCH 3/4] Adding halt binary to shutdown the system

2010-09-30 Thread Gustavo Sverzut Barbieri
). Anyway, if you have some ideas about the design, other than minor details to make it work being execv() from main.c if (getpid() == 1) (in the place of freeze()). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype

Re: [systemd-devel] Standard directory for shell scripts?

2010-09-22 Thread Gustavo Sverzut Barbieri
, not inside /lib/systemd/system. The rationale is that the current systemd applications are kept at /lib/systemd itself. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

[systemd-devel] simple systemd boot status

2010-09-21 Thread Gustavo Sverzut Barbieri
the replication done in plymouth BTW). The project contains a very simple ad-hoc makefile, after I have some more code I will add autoconf to it. Any input and patches are appreciated. Lennart: do you mind adding a simple property NFailedJobs? It would be very helpful :-) BR, -- Gustavo Sverzut

[systemd-devel] Services enabled by default?

2010-09-20 Thread Gustavo Sverzut Barbieri
$MOUNTPOINT.service... - should we provide a clean /tmp service? BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [systemd-devel] Services enabled by default?

2010-09-20 Thread Gustavo Sverzut Barbieri
On Mon, Sep 20, 2010 at 10:01 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Mon, Sep 20, 2010 at 14:16, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:  - systemd-modules-load.service: why do we need this as a separated service? What else would it be? built-in systemd, just like

Re: [systemd-devel] Services enabled by default?

2010-09-20 Thread Gustavo Sverzut Barbieri
On Mon, Sep 20, 2010 at 10:08 AM, Matthew Miller mat...@mattdm.org wrote: On Mon, Sep 20, 2010 at 09:16:10AM -0300, Gustavo Sverzut Barbieri wrote: while at it:   - do we really need to install 6 getty services by default? can't we just install one and people that don't like to use 1 + screen

Re: [systemd-devel] Services enabled by default?

2010-09-20 Thread Gustavo Sverzut Barbieri
On Mon, Sep 20, 2010 at 10:14 AM, Matthew Miller mat...@mattdm.org wrote: On Mon, Sep 20, 2010 at 10:13:20AM -0300, Gustavo Sverzut Barbieri wrote: Maybe integrate it into systemd? It's one single .c file as far as I could check. What's the advantage of making this monolithic? not having

Re: [systemd-devel] [PATCH] gentoo: locale-setup support.

2010-09-20 Thread Gustavo Sverzut Barbieri
On Mon, Sep 20, 2010 at 5:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 19.09.10 21:32, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) wrote: Heya, Use locale variables from /etc/profile.env as Gentoo's openrc runscript does (tool that is used by /etc/init.d

[systemd-devel] [PATCH] gentoo: vconsole-setup support.

2010-09-20 Thread Gustavo Sverzut Barbieri
This patch is a bit bigger than expected since Gentoo being non-standard in some places. 1. it is installing binaries at /usr/bin instead of /bin. 2. it is using CamelCase names for consolefonts. 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont -u options, but do not

[systemd-devel] [PATCH] Allow disable of SysV init/rcN.d support at compile time

2010-09-20 Thread Gustavo Sverzut Barbieri
rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbi...@profusion.mobi). --- configure.ac| 17 ++-- src/build.h |8 +++- src/dbus-manager.c | 49

[systemd-devel] [PATCH] fix tmpwatch service and timer installation.

2010-09-20 Thread Gustavo Sverzut Barbieri
--- Makefile.am | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index b5b2a9d..3c3fa3b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -183,7 +183,9 @@ dist_systemunit_DATA = \ units/remount-rootfs.service \

[systemd-devel] [PATCH] gentoo: vconsole-setup support.

2010-09-19 Thread Gustavo Sverzut Barbieri
This patch is a bit bigger than expected since Gentoo being non-standard in some places. 1. it is installing binaries at /usr/bin instead of /bin. 2. it is using CamelCase names for consolefonts. 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont -u options, but do not

[systemd-devel] [PATCH] gentoo: locale-setup support.

2010-09-19 Thread Gustavo Sverzut Barbieri
Use locale variables from /etc/profile.env as Gentoo's openrc runscript does (tool that is used by /etc/init.d/* services). --- src/locale-setup.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/locale-setup.c b/src/locale-setup.c index

Re: Running a systemd-based Gentoo system

2010-09-08 Thread Gustavo Sverzut Barbieri
needs... or wait a possibly endless loop: while (!dreams_come_true()) complain(); :-) For instance, I already submitted a way to disable sysv and later today will send one to disable IPv6. BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems

Provide INIT_VERSION?

2010-09-08 Thread Gustavo Sverzut Barbieri
=INIT_VERSION=sysvinit-1234 BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ___ systemd-devel mailing list systemd-devel

Re: Systemd port on custom embedded linux

2010-09-08 Thread Gustavo Sverzut Barbieri
the patch I've send... at least it will remove some stat/open and avoid some checks you don't need. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [PATCH] Allow disable of SysV init/rcN.d support at compile time.

2010-09-08 Thread Gustavo Sverzut Barbieri
On Wed, Sep 8, 2010 at 1:32 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one

[PATCH] Allow disable of SysV init/rcN.d support at compile time.

2010-09-08 Thread Gustavo Sverzut Barbieri
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order

Re: Systemd port on custom embedded linux

2010-09-08 Thread Gustavo Sverzut Barbieri
am now adding it to udev configuration. yeah, my system did not work properly until i did that. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202

Re: [PATCH] Allow compile without IPv6.

2010-09-08 Thread Gustavo Sverzut Barbieri
On Wed, Sep 8, 2010 at 12:17 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wed, Sep 8, 2010 at 12:01 PM, Kay Sievers kay.siev...@vrfy.org wrote: On Wed, Sep 8, 2010 at 16:36, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: This patch isolates code using IPv6, AF_INET6

  1   2   >