Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread Lennart Poettering
On Mi, 01.11.17 22:15, NeilBrown (ne...@suse.com) wrote: > > Hmm, rpc_pipefs is a virtual API fs, right? If so, it really shouldn't > > be mounted below /var in the first place. Any chance you can work with > > the NFS folks to maybe move it below /run (or /sys or so) where API > > file systems re

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys t emctl can't executestopactually,whenserviceisstarted by other way

2017-11-01 Thread Lennart Poettering
On Mi, 01.11.17 19:07, 清辰 (624001...@qq.com) wrote: > Hi Lennart, > > For example, shell command: ulimit -Sn `ulimit -Hn` > It will set soft limit to hard limit. > > I want to achieve it in systemd.unit. > > Can you get my point? This is not supported. But do note that the kernel sets RLIMIT_NO

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Mike Gilbert wrote: > On Wed, Nov 1, 2017 at 10:49 AM, David Henderson > wrote: >> On 11/1/17, Greg KH wrote: >>> On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: Is there a place to just get the udev code instead of all of systemD? >>> >>> No. >>> I tried l

Re: [systemd-devel] udev

2017-11-01 Thread Mike Gilbert
On Wed, Nov 1, 2017 at 10:49 AM, David Henderson wrote: > On 11/1/17, Greg KH wrote: >> On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: >>> Is there a place to just get the udev code instead of all of systemD? >> >> No. >> >>> I tried looking online, but it appears that the only

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Greg KH wrote: > On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: >> Is there a place to just get the udev code instead of all of systemD? > > No. > >> I tried looking online, but it appears that the only solo versions are >> old. I guess this got merged into systemD f

Re: [systemd-devel] udev

2017-11-01 Thread Greg KH
On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: > Is there a place to just get the udev code instead of all of systemD? No. > I tried looking online, but it appears that the only solo versions are > old. I guess this got merged into systemD for some reason? Yes, it all got merg

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Greg KH wrote: > On Wed, Nov 01, 2017 at 10:04:19AM -0400, David Henderson wrote: >> Good morning Lennart, thanks for the follow-up! At this point I am >> only interested in building a particular program (udev) from the >> systemD collection, not help building a distribution. And I t

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Lennart Poettering wrote: > On Di, 31.10.17 14:49, David Henderson (dhender...@digital-pipe.com) wrote: > >> Good afternoon all. So is there another place I can get help for >> this problem? > > Sorry, but this isn't really the right forum for help regarding > building your distributi

Re: [systemd-devel] udev

2017-11-01 Thread Greg KH
On Wed, Nov 01, 2017 at 10:04:19AM -0400, David Henderson wrote: > Good morning Lennart, thanks for the follow-up! At this point I am > only interested in building a particular program (udev) from the > systemD collection, not help building a distribution. And I think if > I tried to contact LFS

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread Colin Guthrie
Lennart Poettering wrote on 01/11/17 10:17: > On Mi, 01.11.17 17:59, 清辰 (624001...@qq.com) wrote: > >> Hi Lennart, >> That is important for me. Could you tell me that? > > I am sorry, but I don't understand the question? > >> This documentation says I can set by >> LimitCORE="0;0" >> >> >> But

[systemd-devel] ?????? ?????? ?????? ?????? ?????? ?????? ?????? ?????? [systemd-d e vel] sys t emctl can't executestopactually,whenserviceisstarted by other way

2017-11-01 Thread ????
Hi Lennart, For example, shell command: ulimit -Sn `ulimit -Hn` It will set soft limit to hard limit. I want to achieve it in systemd.unit. Can you get my point? -- -- ??: "Lennart Poettering"; : 2017??11??1??(??) 6:17 ??: "

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread NeilBrown
On Wed, Nov 01 2017, Lennart Poettering wrote: > On Di, 31.10.17 11:19, Dennis Jacobfeuerborn (denni...@conversis.de) wrote: > >> Hi, >> I'm trying to set up a redundant nfs server but the problem I'm >> currently running into is that I need to move the >> /var/lib/nfs/rpc_pipefs mountpoint outsid

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread Lennart Poettering
On Mi, 01.11.17 11:40, Michael Biebl (mbi...@gmail.com) wrote: > 2017-11-01 10:56 GMT+01:00 Lennart Poettering : > > > > Hmm, rpc_pipefs is a virtual API fs, right? If so, it really shouldn't > > be mounted below /var in the first place. Any chance you can work with > > the NFS folks to maybe move

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread Michael Biebl
2017-11-01 11:40 GMT+01:00 Michael Biebl : > See > https://anonscm.debian.org/cgit/collab-maint/nfs-utils.git/tree/debian/patches/24-systemd-pipefs_in_run.patch?h=debian/sid Also requires https://anonscm.debian.org/cgit/collab-maint/nfs-utils.git/tree/debian/patches/unbreak-gssd-rpc_pipefs-run.pa

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread Michael Biebl
2017-11-01 10:56 GMT+01:00 Lennart Poettering : > > Hmm, rpc_pipefs is a virtual API fs, right? If so, it really shouldn't > be mounted below /var in the first place. Any chance you can work with > the NFS folks to maybe move it below /run (or /sys or so) where API > file systems really belong? Oth

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread Lennart Poettering
On Mi, 01.11.17 17:59, 清辰 (624001...@qq.com) wrote: > Hi Lennart, > That is important for me. Could you tell me that? I am sorry, but I don't understand the question? > This documentation says I can set by > LimitCORE="0;0" > > > But my request is: > For example, now system hard limit of core

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-11-01 Thread Lennart Poettering
On Di, 31.10.17 11:19, Dennis Jacobfeuerborn (denni...@conversis.de) wrote: > Hi, > I'm trying to set up a redundant nfs server but the problem I'm > currently running into is that I need to move the > /var/lib/nfs/rpc_pipefs mountpoint outside of /var/lib/nfs. Hmm, rpc_pipefs is a virtual API fs

[systemd-devel] ?????? ?????? ?????? ?????? ?????? ?????? ?????? [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread ????
Hi Lennart, That is important for me. Could you tell me that? -- -- This documentation says I can set by LimitCORE="0;0" But my request is: For example, now system hard limit of core is infinity, I want to set soft limit to infinity. But when hard limit is

[systemd-devel] ?????? ?????? ?????? ?????? ?????? ?????? ?????? [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread ????
Sorry, I has read the documentation. This documentation says I can set by LimitCORE="0;0" But my request is: For example, now system hard limit of core is infinity, I want to set soft limit to infinity. But when hard limit is 0, I want to set soft limit to 0. when hard limit is 100, I want to s

Re: [systemd-devel] udev

2017-11-01 Thread Lennart Poettering
On Di, 31.10.17 14:49, David Henderson (dhender...@digital-pipe.com) wrote: > Good afternoon all. So is there another place I can get help for > this problem? Sorry, but this isn't really the right forum for help regarding building your distribution. Most of us just base our work on the work est

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread Lennart Poettering
On Mi, 01.11.17 16:13, 清辰 (624001...@qq.com) wrote: > But this documentations seems to not show how to get a hard limit in > systemd.unit. Could you tell me how? It documents how to configure the pair pair of soft and hard limit. Please read the documentation I linked. Thanks. Lennart -- Lenna

[systemd-devel] ?????? ?????? ?????? ?????? ?????? ?????? [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread ????
But this documentations seems to not show how to get a hard limit in systemd.unit. Could you tell me how? -- -- ??: "Lennart Poettering"; : 2017??11??1??(??) 3:48 ??: ""<624001...@qq.com>; : "Oliver Neukum"; "systemd-de

Re: [systemd-devel] Is there a way to recover from a crashed systemd without rebooting?

2017-11-01 Thread Lennart Poettering
On Di, 31.10.17 17:04, Daniel Wang (wonder...@google.com) wrote: > I hit a bug in systemd-232 and it crashed. Anything I tried to do with > `systemctl`, including `systemctl daemon-reexec` seemed to rely on the > systemd dbus service, which all resulted in `Failed to activate service > 'org.freede

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't execute stopactually,whenservice isstarted by other way

2017-11-01 Thread Lennart Poettering
On Di, 31.10.17 16:46, 清辰 (624001...@qq.com) wrote: > Hi Lennart, >Is there a way to get hard ulimit in systemd.unit. Because I want to set > soft ulimit to hard ulimit value by LimitCORE. >Thank you. See the documentation: https://www.freedesktop.org/software/systemd/man/systemd.exec.h

[systemd-devel] Is there a way to get hard ulimit in systemd.unit?

2017-11-01 Thread ????
Hi, Is there a way to get hard ulimit in systemd.unit. Because I want to set soft ulimit to hard ulimit value by LimitCORE. Thank you for your help.___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mai