-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/14/12 10:02 AM, Cristian Rodríguez wrote:
Hi:
Now that the kernel nicely autoloads the CPU microcode updates, the following problem remains. what should happend when the microcode package is updated ?
* The way I believe it should work*
This is not an userspace problem, the kernel must watch the microcode file it loaded before and reload it as needed.
* Other hackish ways *
- Teach udev to do the work for us.
- Add systemd.path(5) units and watch the microcode directory for changes.
- reload the module on package update (fugly)
Sorry, I disagree with your definition of hackish. The kernel should never watch a file on its own behalf. That's a policy decision that is up to the admin. We have clear userspace APIs for watching a file for changes that can be leveraged by a daemon that only waits for it or, as you pointed out, by systemd. Since the package update is by definition when the file will be udpated -- Jiri's idea of a postinstall script sounds ideal. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQeucuAAoJEB57S2MheeWy9zIP/j5ryIwlECg2SAW9QSJhFsjE ItCvpj5CQdey3ROkx5W6gJ56lAcFtYokYT2vkLZlAnG0DliSxRK+ax/9muJePvCz SU36WJIHXJlcJxrDttGa84NmMdrPp0czXyEv75R8Ubol7eOjmjssG00dGNGxnXga G9MGB73Hvg+6pQNQ8v+eHOyP0a2nMfH/cYdCBHU82mruaErF7DG9dDBmxbQ2DG6W vCW6KA4DjlLaAkUPaNXhdRQwMICYcDihZHiCZ/L7CgA0++HQKdd6aVgZyvJzt5OD pisEJdvmOU/WcUt78B3tcEExifO4Ya8JSch6pLmhBLApMTpb65aO9h/4LqwmVk7S M6pSL9BItHtl/OuMwwz/V5EU9SigLUoJJHaF2kxJdJRT1q1xa20DR0Ng3PoLsQkw 2zpBbPakcPa3pjC3lzmC1W9SKQ12IBA0tzoRqb5IXArvoI7355nUmjQt5yVwWqS0 hakXmRVciVzaLDYv40bdiG9ORPzUqhLlxVAxxhZXa7ilN4j1rgAmQRf0TAnFOsWt IIVt+Ya6kO6Z0LUDmIcTGnYe69+SeKstcLPsnVCbLq0V7GMHy3EKTjw6nRa6Wh0C bjAQWEvRYsO4kpIeaSENvMze1ViJPLj0ep5Vt0DolubHifaSBaOReM6oe1tOSNSe EvKChycGt7vmX1zCp1Vy =YDl/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org