[systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

2013-10-04 Thread Ramkumar Ramachandra
Kernel hackers need access to the debugfs filesystem. For instance, see the performance subsystem (tools/perf in the kernel tree); we should let all users, not just root, run the perf tool to collect performance information about their programs by default. Cc: Lennart Poettering

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Thomas Bächler
Am 01.10.2013 02:58, schrieb Lennart Poettering: Originally the intention was that root-fsck.service would run fsck for the root device, anf fsck@.service would be used for the rest. The difference is mostly one about ordering, i.e. root-fsck.service is the only one that is fine with the fs

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Oct 04, 2013 at 11:34:44AM +0200, Thomas Bächler wrote: Am 01.10.2013 02:58, schrieb Lennart Poettering: Originally the intention was that root-fsck.service would run fsck for the root device, anf fsck@.service would be used for the rest. The difference is mostly one about ordering,

Re: [systemd-devel] [PATCH] fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1

2013-10-04 Thread Thomas Bächler
Am 04.10.2013 13:52, schrieb Zbigniew Jędrzejewski-Szmek: Colin had the great idea that we drop mask root-fsck.service in /run/systemd/system/ when we run fsck in initrd. For example, the initrd generator could add a service to the initrd that creates the symlink and a .d snippet that makes

Re: [systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

2013-10-04 Thread Kay Sievers
On Fri, Oct 4, 2013 at 7:30 AM, Ramkumar Ramachandra artag...@gmail.com wrote: Kernel hackers need access to the debugfs filesystem. For instance, see the performance subsystem (tools/perf in the kernel tree); we should let all users, not just root, run the perf tool to collect performance

Re: [systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

2013-10-04 Thread Lennart Poettering
On Fri, 04.10.13 11:00, Ramkumar Ramachandra (artag...@gmail.com) wrote: Kernel hackers need access to the debugfs filesystem. For instance, see the performance subsystem (tools/perf in the kernel tree); we should let all users, not just root, run the perf tool to collect performance

Re: [systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

2013-10-04 Thread Greg KH
On Fri, Oct 04, 2013 at 04:50:30PM +0200, Lennart Poettering wrote: On Fri, 04.10.13 11:00, Ramkumar Ramachandra (artag...@gmail.com) wrote: Kernel hackers need access to the debugfs filesystem. For instance, see the performance subsystem (tools/perf in the kernel tree); we should let all

[systemd-devel] Cross-building systemd?

2013-10-04 Thread Warpme
Hi, I want to build sytemd in cross-build environment. One from many needed dependencies is libcap which is really old and isn't cross-build friendly. It looks like libcap-ng is kind of successor and I can build this lib in my cross-build environment. Is there any way to build systemd with

Re: [systemd-devel] Cross-building systemd?

2013-10-04 Thread Lennart Poettering
On Fri, 04.10.13 17:12, Warpme (war...@o2.pl) wrote: Hi, I want to build sytemd in cross-build environment. One from many needed dependencies is libcap which is really old and isn't cross-build friendly. It looks like libcap-ng is kind of successor and I can build this lib in my cross-build

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Toms Seisums
@Andrey, the full log can be found here, the link was there before also: http://pastebin.com/wbr04AQw (systemd-207) It's quite silent about the cause for the timeout, though. I've been debugging this for three days now, and I've crystallized a little bit of information. 1. If I boot the system

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Toms Seisums
Next reboot after the user@0.service start/stop cycle was a quick one. It looks as something gets messed up upon logging in. And if not resolved, the system has problems shutting down. On 4 October 2013 19:31, Toms Seisums toms.seis...@gmail.com wrote: @Andrey, the full log can be found here,

Re: [systemd-devel] Cross-building systemd?

2013-10-04 Thread Stephan Raue
if you need a receipt to crosscompile libcap see: https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/devel/libcap/build basically you must compile _makenames first with the hosttools: make CC=$HOST_CC -C libcap _makenames as a second step you crosscompile libcap like: make

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Andrey Borzenkov
В Fri, 4 Oct 2013 19:31:43 +0300 Toms Seisums toms.seis...@gmail.com пишет: @Andrey, the full log can be found here, the link was there before also: http://pastebin.com/wbr04AQw (systemd-207) It's quite silent about the cause for the timeout, though. How do you generate it? It lacks any

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Toms Seisums
All of those are shutdown messages, generated by: http://freedesktop.org/wiki/Software/systemd/Debugging/#shutdowncompleteseventually In case boot messages are needed, I'll be able to provide them on monday. If I need to change some kernel parameters for shutdown to get more verbose output, I'd

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Kok, Auke-jan H
On Fri, Oct 4, 2013 at 9:37 AM, Toms Seisums toms.seis...@gmail.com wrote: [object Object] Look at Gmail failing flat on its face... lol Aside from that, can you perhaps try this patch: --- systemd-user-sessions.service 2013-10-02 15:37:14.181330287 -0700 +++ systemd-user-sessions.service

Re: [systemd-devel] Cross-building systemd?

2013-10-04 Thread Warpme
On 10/4/13 6:38 PM, Stephan Raue wrote: if you need a receipt to crosscompile libcap see: https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/devel/libcap/build basically you must compile _makenames first with the hosttools: make CC=$HOST_CC -C libcap _makenames as a second

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Tom Gundersen
On Fri, Oct 4, 2013 at 8:57 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Fri, Oct 4, 2013 at 9:37 AM, Toms Seisums toms.seis...@gmail.com wrote: [object Object] Look at Gmail failing flat on its face... lol Aside from that, can you perhaps try this patch: ---

Re: [systemd-devel] dbus API for unit state change?

2013-10-04 Thread Brandon Philips
Another dbus question: Is it expected that a UnitNew and UnitRemove are sent when I use org.freedesktop.DBus.Properties.Get or GetAll? This also happens with `systemctl status doesnt-exist.service` Here is an example of what I am seeing: