Re: [systemd-devel] Presentation was a success
On 06.12.2013 17:50, Cecil Westerhof wrote: > On 12/05/2013 09:10 PM, Cecil Westerhof wrote: >> It was a lot of work, but the presentation about systemd/journald was a >> success. I got several colleges interested: so mission accomplished. >> There are some things I still should respond to, but I am a ‘little’ >> tired, so I will respond later. >> >> Thank everyone who helped me in making this presentation a success. > > I understood that: > Only necessary kernel modules > > was properly wrong. For the rest the presentation was correct? > (http://www.slideshare.net/slideshow/embed_code/28955928) If you really want, you can literally leave out the kernel part and nothing will be missing. Everything can be improved, but the slides are OK. poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/05/2013 09:10 PM, Cecil Westerhof wrote: It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank everyone who helped me in making this presentation a success. I understood that: Only necessary kernel modules was properly wrong. For the rest the presentation was correct? (http://www.slideshare.net/slideshow/embed_code/28955928) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/06/2013 03:45 PM, Reindl Harald wrote: /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot Strange I thought that I used this to have the loop module loaded when starting truecrypt and unloaded when stopping truecrypt. I have to check this out no, it is to have the module loaded when truecrypt is installed and stop try to load it at boot after it is uninstalled, there is not much to checkout because the syntax of the file even in theory has no connection to a running process and so it can't work this way additionally it would be wrong because unload kernel modules is not always a good idea - better said: it is rarely a good idea if not done by hand for a reason I made a screencast some time ago. The part from 09:10 to 12:10 shows this happening. (loading and unloading when truecrypt is started and quit) does not change the fact that /etc/modules-load.d/ loads at boot and is not involved in unload modules Then something very strange happened there. It was not loaded at boot. It was loaded when truecrypt was started and it was unloaded when truecrypt exited. En this happened after I put loop into /etc/modules-load.d/truecrypt.conf. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
Am 06.12.2013 15:36, schrieb Cecil Westerhof: > On 12/06/2013 12:43 PM, Reindl Harald wrote: >> >> Am 06.12.2013 12:38, schrieb Cecil Westerhof: >>> On 12/06/2013 12:30 PM, Reindl Harald wrote: >> In 7th slide - "Improvements" - Only necessary kernel modules >> How does it actually refers to systemd? > > You do not need to have modules loaded that are not used much. They can > be loaded when a program that needs > them is > run and unloaded when the program terminates. This is done with: > /etc/modules-load.d/.conf > > I'll try to make a video tonight to demonstrate this /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot >>> >>> Strange I thought that I used this to have the loop module loaded when >>> starting truecrypt >>> and unloaded when stopping truecrypt. I have to check this out >> >> no, it is to have the module loaded when truecrypt is installed and stop try >> to load it at boot after it is uninstalled, there is not much to checkout >> because the syntax of the file even in theory has no connection to a running >> process and so it can't work this way >> >> additionally it would be wrong because unload kernel modules is not >> always a good idea - better said: it is rarely a good idea if not >> done by hand for a reason > I made a screencast some time ago. The part from 09:10 to 12:10 shows this > happening. (loading and unloading when > truecrypt is started and quit) does not change the fact that /etc/modules-load.d/ loads at boot and is not involved in unload modules signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/06/2013 12:43 PM, Reindl Harald wrote: Am 06.12.2013 12:38, schrieb Cecil Westerhof: On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? You do not need to have modules loaded that are not used much. They can be loaded when a program that needs them is run and unloaded when the program terminates. This is done with: /etc/modules-load.d/.conf I'll try to make a video tonight to demonstrate this /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot Strange I thought that I used this to have the loop module loaded when starting truecrypt and unloaded when stopping truecrypt. I have to check this out no, it is to have the module loaded when truecrypt is installed and stop try to load it at boot after it is uninstalled, there is not much to checkout because the syntax of the file even in theory has no connection to a running process and so it can't work this way additionally it would be wrong because unload kernel modules is not always a good idea - better said: it is rarely a good idea if not done by hand for a reason I made a screencast some time ago. The part from 09:10 to 12:10 shows this happening. (loading and unloading when truecrypt is started and quit) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On Fri, 06.12.13 12:17, Cecil Westerhof (cecil.wester...@snow.nl) wrote: > > On 12/06/2013 11:31 AM, poma wrote: > >In 7th slide - "Improvements" - Only necessary kernel modules > >How does it actually refers to systemd? > > You do not need to have modules loaded that are not used much. They > can be loaded when a program that needs them is run and unloaded > when the program terminates. This is done with: > /etc/modules-load.d/.conf > > I'll try to make a video tonight to demonstrate this. Hmm??? All properly written kernel modules are auto-loaded when needed, i.e. for drivers this is when the hw they drive appears, and for other stuff it is when the device is first accessed. /etc/modules-load.d/ is only for the ones which do *not* carry enough auto-loading information to work like this. All moduels listed there are loaded at boot uncondtionally. Also note that unloading kernel modules is a debugging operation, it should not be done during as part of normal codepaths. To underline this: a service that tries to load a kernel module at boot and unload it at shutdown is broken. Nothing should ever try to unload it. (And loading is better done via /etc/modules-load.d/ to parallelize things properly, instead of inside a service.) Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 06.12.2013 12:17, Cecil Westerhof wrote: > On 12/06/2013 11:31 AM, poma wrote: >> In 7th slide - "Improvements" - Only necessary kernel modules >> How does it actually refers to systemd? > > You do not need to have modules loaded that are not used much. They can > be loaded when a program that needs them is run and unloaded when the > program terminates. This is done with: > /etc/modules-load.d/.conf > > I'll try to make a video tonight to demonstrate this. Aahh, got it! This is for special cases. man 5 modules-load.d Thank you for your response! I give you 10 for slides! All right! poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On Dec 6, 2013 1:39 PM, "Cecil Westerhof" wrote: > > On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? >>> >>> >>> You do not need to have modules loaded that are not used much. They can be loaded when a program that needs them is >>> run and unloaded when the program terminates. This is done with: >>> /etc/modules-load.d/.conf >>> >>> I'll try to make a video tonight to demonstrate this >> >> >> /etc/modules-load.d/ *adds* modules otherwise not loaded >> by the kernel and they are loaded at boot > > > Strange I thought that I used this to have the loop module loaded when starting truecrypt and unloaded when stopping truecrypt. I have to check this out. This was a recent change inspired by, but not really part of systemd. (/dev/loop-control was added to allow proper autoloading of 'loop' on first use.) You never have to unload it, though. I remember 'rmmod' having been described as something "not supported and just happens to work". > > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
Am 06.12.2013 12:38, schrieb Cecil Westerhof: > On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? >>> >>> You do not need to have modules loaded that are not used much. They can be >>> loaded when a program that needs them is >>> run and unloaded when the program terminates. This is done with: >>> /etc/modules-load.d/.conf >>> >>> I'll try to make a video tonight to demonstrate this >> >> /etc/modules-load.d/ *adds* modules otherwise not loaded >> by the kernel and they are loaded at boot > > Strange I thought that I used this to have the loop module loaded when > starting truecrypt > and unloaded when stopping truecrypt. I have to check this out no, it is to have the module loaded when truecrypt is installed and stop try to load it at boot after it is uninstalled, there is not much to checkout because the syntax of the file even in theory has no connection to a running process and so it can't work this way additionally it would be wrong because unload kernel modules is not always a good idea - better said: it is rarely a good idea if not done by hand for a reason signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? You do not need to have modules loaded that are not used much. They can be loaded when a program that needs them is run and unloaded when the program terminates. This is done with: /etc/modules-load.d/.conf I'll try to make a video tonight to demonstrate this /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot Strange I thought that I used this to have the loop module loaded when starting truecrypt and unloaded when stopping truecrypt. I have to check this out. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
Am 06.12.2013 12:17, schrieb Cecil Westerhof: > On 12/06/2013 11:31 AM, poma wrote: >> In 7th slide - "Improvements" - Only necessary kernel modules >> How does it actually refers to systemd? > > You do not need to have modules loaded that are not used much. They can be > loaded when a program that needs them is > run and unloaded when the program terminates. This is done with: > /etc/modules-load.d/.conf > > I'll try to make a video tonight to demonstrate this /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/06/2013 11:31 AM, poma wrote: In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? You do not need to have modules loaded that are not used much. They can be loaded when a program that needs them is run and unloaded when the program terminates. This is done with: /etc/modules-load.d/.conf I'll try to make a video tonight to demonstrate this. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 06.12.2013 09:19, Cecil Westerhof wrote: > The presentation was in Dutch, so I have to translate them. I'll do > that and post it here. All right! In 7th slide - "Improvements" - Only necessary kernel modules How does it actually refers to systemd? poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/05/2013 09:10 PM, Cecil Westerhof wrote: It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank everyone who helped me in making this presentation a success. The presentation can be viewed at: http://www.slideshare.net/slideshow/embed_code/28955928 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 12/06/2013 02:47 AM, poma wrote: It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank everyone who helped me in making this presentation a success. I'll tell you one word, vitamins! Are some of the forms of presentation publicly available? The presentation was in Dutch, so I have to translate them. I'll do that and post it here. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Presentation was a success
On 05.12.2013 21:10, Cecil Westerhof wrote: > It was a lot of work, but the presentation about systemd/journald was a > success. I got several colleges interested: so mission accomplished. > There are some things I still should respond to, but I am a ‘little’ > tired, so I will respond later. > > Thank everyone who helped me in making this presentation a success. I'll tell you one word, vitamins! Are some of the forms of presentation publicly available? poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel