After chatting on IRC, #systemd channel, damjan explained this:

https://github.com/systemd/systemd/blob/master/NEWS#L845

So, actually, the following file:

cat /lib/modprobe.d/systemd.conf

disables "extra" dummies, as follows:

--
options bonding max_bonds=0
options dummy numdummies=0
--

Forcing us to explicitly create the dummy devices per demand (I believe,
and I'll try it soon). I guess that it's really time to say goodbye to
"ifupdown / /etc/network/interfaces" approach...

Just for testing, after disabling the dummy line out from that file and
rebooting it, I have the 12 dummies without my ugly workaround via
/etc/rc.local!

See, Jan-Dirk? I thought that I could blame systemd and I got my answer
there!

NOTE: I actually like systemd, okay? :-P

It's just a new way of doing this (Netplan? systemd-networkd directly?),
Jan, you can safely move to Ubuntu!  ^_^

Cheers!

** Changed in: linux (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1774731

Title:
  Missing "/sys/module/dummy/parameters/" subdir on dummy module

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Hello,

   On Ubuntu 18.04 (fully updated), the following configuration does not
  work:

   File /etc/modprobe.d/dummy.conf with:

  ----
   options dummy numdummies=12
  ----

   File /etc/modules

  ----
   dummy
  ----

   The module "dummy" is loaded but, there is no 12 dummies NIC cards!

   The manual workaround is:

  ---
  rmmod dummy
  modprobe dummy numdummies=12
  ---

   I talked on IRC and someone pointed that the dummy module is missing
  its "/sys/module/dummy/parameters/" subdir, so, I'm filling this bug
  report now.

  Cheers!
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k4.15.0-22-generic.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.1
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', 
'/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer': 
'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer': 
'amixer'
  DistroRelease: Ubuntu 18.04
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  Package: linux (not installed)
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 qxldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic 
root=UUID=26330e04-49ed-11e8-9cae-525400a53f07 ro
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-22-generic N/A
   linux-backports-modules-4.15.0-22-generic  N/A
   linux-firmware                             1.173.1
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  Tags:  bionic uec-images
  Uname: Linux 4.15.0-22-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.10.2-1ubuntu1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-bionic
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-bionic
  dmi.sys.vendor: QEMU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774731/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to