Bug#771726: systemd: Needs kmod that has static-nodes command

Felipe Sateler fsateler at debian.org
Mon Dec 1 22:10:44 GMT 2014


On Mon, Dec 1, 2014 at 6:54 PM, Michael Biebl <biebl at debian.org> wrote:
> Am 01.12.2014 um 22:46 schrieb Felipe Sateler:
>> Package: systemd
>> Version: 215-6
>> Severity: normal
>>
>> Hi,
>>
>> I have just installed a systemd from jessie to a wheezy computer. This
>> is a partial upgrade. Upon reboot, systemd complains that the system is
>> degraded:
>>
>>
>> % systemctl status kmod-static-nodes.service
>> ● kmod-static-nodes.service - Create list of required static device nodes for the current kernel
>>    Loaded: loaded (/lib/systemd/system/kmod-static-nodes.service; static)
>>    Active: failed (Result: exit-code) since Mon 2014-12-01 12:45:55 CLST; 5h 58min ago
>>  Main PID: 247 (code=exited, status=1/FAILURE)
>>
>> Dec 01 12:45:56 moon kmod[247]: Commands:
>> Dec 01 12:45:56 moon kmod[247]: help         Show help message
>> Dec 01 12:45:56 moon kmod[247]: list         list currently loaded modules
>> Dec 01 12:45:56 moon kmod[247]: kmod also handles gracefully if called from following symlinks:
>> Dec 01 12:45:56 moon kmod[247]: lsmod        compat lsmod command
>> Dec 01 12:45:56 moon kmod[247]: rmmod        compat rmmod command
>> Dec 01 12:45:56 moon kmod[247]: insmod       compat insmod command
>> Dec 01 12:45:56 moon kmod[247]: modinfo      compat modinfo command
>> Dec 01 12:45:56 moon kmod[247]: modprobe     compat modprobe command
>> Dec 01 12:45:56 moon kmod[247]: depmod       compat depmod command
>>
>> Turns out that /lib/systemd/system/kmod-static-nodes.service executes kmod
>> static-nodes, but the wheezy version of kmod does not have that command.
>>
>> It appears the command appeared in version 14, so systemd should add a
>> depends on kmod >= 14.
>
>
> I'm interested how you managed to install kmod < 14, given that udev has
> a Breaks: kmod < 14.

Turns out udev was not upgraded alongside systemd:

% apt-cache policy  udev
udev:
  Installed: 175-7.2
  Candidate: 175-7.2
  Version table:
     215-6 0
        200 http://http.debian.net/debian/ jessie/main i386 Packages
     204-14~bpo70+1 0
        300 http://http.debian.net/debian/ wheezy-backports/main i386 Packages
 *** 175-7.2 0
        990 http://http.debian.net/debian/ wheezy/main i386 Packages
        100 /var/lib/dpkg/status


The Depends from systemd to udev is not versioned. Maybe it should be?

FWIW, the command used was `apt-get install -t jessie systemd-sysv`

>
> We deliberately didn't want to add a versioned depends to udev, so kmod
> doesn't have to be installed in chroots.




-- 

Saludos,
Felipe Sateler




More information about the Pkg-systemd-maintainers mailing list