Re: SystemD: When to start service for file system kernel module

2012-05-30 Thread Ralf Ertzinger
Hi. On Wed, 30 May 2012 10:21:33 -0500, Richard Shaw wrote > Thanks for the link! I did contact him. It looks like he's entirely > relying on a custom script in /etc/kernel/postinst.d. Also, he forked > zfsonlinux and has added/modified quite a bit. One change is a ZFS > unit generator[1]. Even w

Re: SystemD: When to start service for file system kernel module

2012-05-30 Thread Richard Shaw
On Wed, May 30, 2012 at 2:51 AM, Ralf Ertzinger wrote: > Hi. > > On Wed, 23 May 2012 14:23:30 -0500, Richard Shaw wrote: > >> Short story: >> I'm working on creating kernel module packages for the ZFS file system >> from zfsonlinux.org to be hosted at RPM Fusion and will utilize the >> akmods util

Re: SystemD: When to start service for file system kernel module

2012-05-30 Thread Ralf Ertzinger
Hi. On Wed, 23 May 2012 14:23:30 -0500, Richard Shaw wrote: > Short story: > I'm working on creating kernel module packages for the ZFS file system > from zfsonlinux.org to be hosted at RPM Fusion and will utilize the > akmods utility to make sure that new modules are built on kernel > update. A

Re: SystemD: When to start service for file system kernel module

2012-05-24 Thread Michal Schmidt
On 05/23/2012 09:23 PM, Richard Shaw wrote: Here's my current service file for SPL: Lennart already pointed out a major problem, but here are some remarks about the unit file itself: [Unit] Description=Builds and installs new kmods for SPL Before=local-fs-pre.target When you are writing a

Re: SystemD: When to start service for file system kernel module

2012-05-23 Thread Richard Shaw
On Wed, May 23, 2012 at 6:41 PM, Lennart Poettering wrote: > The whole idea of akmods (to compile kernel modules early at boot) is > simply flawed. If you want to do such a thing then compile the modules > when you install the updated kernel, not at boot, when it is too > late. This is particularl

Re: SystemD: When to start service for file system kernel module

2012-05-23 Thread Lennart Poettering
On Wed, 23.05.12 14:23, Richard Shaw (hobbes1...@gmail.com) wrote: > Short story: > I'm working on creating kernel module packages for the ZFS file system > from zfsonlinux.org to be hosted at RPM Fusion and will utilize the > akmods utility to make sure that new modules are built on kernel > upda

SystemD: When to start service for file system kernel module

2012-05-23 Thread Richard Shaw
Short story: I'm working on creating kernel module packages for the ZFS file system from zfsonlinux.org to be hosted at RPM Fusion and will utilize the akmods utility to make sure that new modules are built on kernel update. Problem: The zfs package also needs the SPL (Solaris Porting Layer) kerne