[BRLTTY] Are changes needed for systemd 247.1?

Alexander Epaneshnikov aarnaarn2 at gmail.com
Sun Dec 6 15:08:38 EST 2020


06.12.2020 22:49, Dave Mielke пишет:
> [quoted lines by Jason White on 2020/12/06 at 13:48 -0500]
>
>>> Your udev rules look good. Is the kernel log showing a USB disconnect?
>> Apparently not. Here are the logs created by reconnecting the device while
>> running systemctl -f.
> i'm mystified, especially because you and Alexander are using the same version
> of systemd. I think you said earlier that all this started happening when you
> upgraded systemd. Is that right?
>
> The natyure of the problem is that the brltty service instance that's
> controllibng your device stays active as long as it's required, i.e. (in this
> case) as long as the virtually created device unit depends on it. It seems that
> this dependency isn't being maintained on your system, which, to me, is just
> plain wrong.
>
> Could you please attach the output of systemctl list-units?
>
don't worry Dave, i am mystified too. especially when i rebootied with 
udev debug enabled and all is working nicely.

i attach file when all is working.

-- 
Sincerely, Alexander.

-------------- next part --------------
  UNIT                                                                                     LOAD   ACTIVE SUB       DESCRIPTION                                                                  
  proc-sys-fs-binfmt_misc.automount                                                        loaded active waiting   Arbitrary Executable File Formats File System Automount Point                
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2.1.device                          loaded active plugged   Yubikey 4/5 OTP+U2F+CCID                                                     
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d6.device                                   loaded active plugged   Focus_2                                                                      
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d7-1\x2d7:1.0-bluetooth-hci0.device         loaded active plugged   /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0         
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged   ST1000DM010-2EP102 Microsoft\x20reserved\x20partition                        
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged   ST1000DM010-2EP102 data                                                      
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda.device      loaded active plugged   ST1000DM010-2EP102                                                           
  sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb1.device loaded active plugged   ST500DM002-1BD142 ESP                                                        
  sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb2.device loaded active plugged   ST500DM002-1BD142 XBOOTLDR                                                   
  sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb3.device loaded active plugged   ST500DM002-1BD142 Linux\x20x86-64\x20root\x20\x28\x2f\x29                    
  sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb4.device loaded active plugged   ST500DM002-1BD142 Linux\x20swap                                              
  sys-devices-pci0000:00-0000:00:17.0-ata2-host1-target1:0:0-1:0:0:0-block-sdb.device      loaded active plugged   ST500DM002-1BD142                                                            
  sys-devices-pci0000:00-0000:00:1b.0-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device     loaded active plugged   ADATA SX8200PNP esp                                                          
  sys-devices-pci0000:00-0000:00:1b.0-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device     loaded active plugged   ADATA SX8200PNP root                                                         
  sys-devices-pci0000:00-0000:00:1b.0-0000:01:00.0-nvme-nvme0-nvme0n1-nvme0n1p3.device     loaded active plugged   ADATA SX8200PNP swap                                                         
  sys-devices-pci0000:00-0000:00:1b.0-0000:01:00.0-nvme-nvme0-nvme0n1.device               loaded active plugged   ADATA SX8200PNP                                                              
  sys-devices-pci0000:00-0000:00:1c.2-0000:03:00.0-net-wlp3s0.device                       loaded active plugged   QCA6174 802.11ac Wireless Network Adapter                                    
  sys-devices-pci0000:00-0000:00:1d.0-0000:06:00.0-nvme-nvme1-nvme1n1-nvme1n1p1.device     loaded active plugged   Samsung SSD 960 EVO 250GB EFI\x20system\x20partition                         
  sys-devices-pci0000:00-0000:00:1d.0-0000:06:00.0-nvme-nvme1-nvme1n1-nvme1n1p2.device     loaded active plugged   Samsung SSD 960 EVO 250GB Microsoft\x20reserved\x20partition                 
  sys-devices-pci0000:00-0000:00:1d.0-0000:06:00.0-nvme-nvme1-nvme1n1-nvme1n1p3.device     loaded active plugged   Samsung SSD 960 EVO 250GB Basic\x20data\x20partition                         
  sys-devices-pci0000:00-0000:00:1d.0-0000:06:00.0-nvme-nvme1-nvme1n1-nvme1n1p4.device     loaded active plugged   Samsung SSD 960 EVO 250GB 4                                                  
  sys-devices-pci0000:00-0000:00:1d.0-0000:06:00.0-nvme-nvme1-nvme1n1.device               loaded active plugged   Samsung SSD 960 EVO 250GB                                                    
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0.device                                   loaded active plugged   200 Series PCH HD Audio                                                      
  sys-devices-pci0000:00-0000:00:1f.6-net-enp0s31f6.device                                 loaded active plugged   Ethernet Connection (2) I219-V                                               
  sys-devices-platform-MSFT0101:00-tpm-tpm0.device                                         loaded active plugged   /sys/devices/platform/MSFT0101:00/tpm/tpm0                                   
  sys-devices-platform-MSFT0101:00-tpmrm-tpmrm0.device                                     loaded active plugged   /sys/devices/platform/MSFT0101:00/tpmrm/tpmrm0                               
  sys-devices-platform-serial8250-tty-ttyS1.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1                                   
  sys-devices-platform-serial8250-tty-ttyS2.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2                                   
  sys-devices-platform-serial8250-tty-ttyS3.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3                                   
  sys-devices-pnp0-00:01-tty-ttyS0.device                                                  loaded active plugged   /sys/devices/pnp0/00:01/tty/ttyS0                                            
  sys-devices-virtual-misc-rfkill.device                                                   loaded active plugged   /sys/devices/virtual/misc/rfkill                                             
  sys-module-configfs.device                                                               loaded active plugged   /sys/module/configfs                                                         
  sys-module-fuse.device                                                                   loaded active plugged   /sys/module/fuse                                                             
  sys-subsystem-bluetooth-devices-hci0.device                                              loaded active plugged   /sys/subsystem/bluetooth/devices/hci0                                        
  sys-subsystem-net-devices-enp0s31f6.device                                               loaded active plugged   Ethernet Connection (2) I219-V                                               
  sys-subsystem-net-devices-wlp3s0.device                                                  loaded active plugged   QCA6174 802.11ac Wireless Network Adapter                                    
  -.mount                                                                                  loaded active mounted   Root Mount                                                                   
  \x2esnapshots.mount                                                                      loaded active mounted   /.snapshots                                                                  
  boot.mount                                                                               loaded active mounted   /boot                                                                        
  dev-hugepages.mount                                                                      loaded active mounted   Huge Pages File System                                                       
  dev-mqueue.mount                                                                         loaded active mounted   POSIX Message Queue File System                                              
  home.mount                                                                               loaded active mounted   /home                                                                        
  run-user-1000-gvfs.mount                                                                 loaded active mounted   /run/user/1000/gvfs                                                          
  run-user-1000.mount                                                                      loaded active mounted   /run/user/1000                                                               
  sys-fs-fuse-connections.mount                                                            loaded active mounted   FUSE Control File System                                                     
  sys-kernel-config.mount                                                                  loaded active mounted   Kernel Configuration File System                                             
  sys-kernel-debug.mount                                                                   loaded active mounted   Kernel Debug File System                                                     
  sys-kernel-tracing.mount                                                                 loaded active mounted   Kernel Trace File System                                                     
  tmp.mount                                                                                loaded active mounted   Temporary Directory (/tmp)                                                   
  systemd-ask-password-console.path                                                        loaded active waiting   Dispatch Password Requests to Console Directory Watch                        
  systemd-ask-password-wall.path                                                           loaded active waiting   Forward Password Requests to Wall Directory Watch                            
  init.scope                                                                               loaded active running   System and Service Manager                                                   
  session-2.scope                                                                          loaded active running   Session 2 of user alex                                                       
  accounts-daemon.service                                                                  loaded active running   Accounts Service                                                             
  brltty at -dev-bus-usb-001-004.service                                                      loaded active running   BRLTTY Instance: /dev/bus/usb/001/004                                        
  cpupower.service                                                                         loaded active exited    Apply cpupower configuration                                                 
  dbus-broker.service                                                                      loaded active running   D-Bus System Message Bus                                                     
  dracut-shutdown.service                                                                  loaded active exited    Restore /run/initramfs on shutdown                                           
  kmod-static-nodes.service                                                                loaded active exited    Create list of static device nodes for the current kernel                    
  lightdm.service                                                                          loaded active running   Light Display Manager                                                        
  lm_sensors.service                                                                       loaded active exited    Initialize hardware monitoring sensors                                       
  lvm2-lvmetad.service                                                                     loaded active running   LVM2 metadata daemon                                                         
  lvm2-monitor.service                                                                     loaded active exited    Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
  polkit.service                                                                           loaded active running   Authorization Manager                                                        
  rtkit-daemon.service                                                                     loaded active running   RealtimeKit Scheduling Policy Service                                        
  sshd.service                                                                             loaded active running   OpenSSH Daemon                                                               
  systemd-fsck at dev-disk-by\x2duuid-ED6A\x2d7343.service                                    loaded active exited    File System Check on /dev/disk/by-uuid/ED6A-7343                             
  systemd-journal-flush.service                                                            loaded active exited    Flush Journal to Persistent Storage                                          
  systemd-journald.service                                                                 loaded active running   Journal Service                                                              
  systemd-logind.service                                                                   loaded active running   User Login Management                                                        
  systemd-machined.service                                                                 loaded active running   Virtual Machine and Container Registration Service                           
  systemd-modules-load.service                                                             loaded active exited    Load Kernel Modules                                                          
  systemd-networkd.service                                                                 loaded active running   Network Service                                                              
  systemd-random-seed.service                                                              loaded active exited    Load/Save Random Seed                                                        
  systemd-remount-fs.service                                                               loaded active exited    Remount Root and Kernel File Systems                                         
  systemd-resolved.service                                                                 loaded active running   Network Name Resolution                                                      
  systemd-sysctl.service                                                                   loaded active exited    Apply Kernel Variables                                                       
  systemd-timesyncd.service                                                                loaded active running   Network Time Synchronization                                                 
  systemd-tmpfiles-setup-dev.service                                                       loaded active exited    Create Static Device Nodes in /dev                                           
  systemd-tmpfiles-setup.service                                                           loaded active exited    Create Volatile Files and Directories                                        
  systemd-udev-trigger.service                                                             loaded active exited    Coldplug All udev Devices                                                    
  systemd-udevd.service                                                                    loaded active running   Rule-based Manager for Device Events and Files                               
  systemd-update-utmp.service                                                              loaded active exited    Update UTMP about System Boot/Shutdown                                       
  systemd-user-sessions.service                                                            loaded active exited    Permit User Sessions                                                         
  thermald.service                                                                         loaded active running   Thermal Daemon Service                                                       
  udisks2.service                                                                          loaded active running   Disk Manager                                                                 
  upower.service                                                                           loaded active running   Daemon for power management                                                  
  user-runtime-dir at 1000.service                                                            loaded active exited    User Runtime Directory /run/user/1000                                        
  user at 1000.service                                                                        loaded active running   User Manager for UID 1000                                                    
  -.slice                                                                                  loaded active active    Root Slice                                                                   
  machine.slice                                                                            loaded active active    Virtual Machine and Container Slice                                          
  system-brltty.slice                                                                      loaded active active    system-brltty.slice                                                          
  system-getty.slice                                                                       loaded active active    system-getty.slice                                                           
  system-modprobe.slice                                                                    loaded active active    system-modprobe.slice                                                        
  system-systemd\x2dfsck.slice                                                             loaded active active    system-systemd\x2dfsck.slice                                                 
  system.slice                                                                             loaded active active    System Slice                                                                 
  user-1000.slice                                                                          loaded active active    User Slice of UID 1000                                                       
  user.slice                                                                               loaded active active    User and Session Slice                                                       
  dbus.socket                                                                              loaded active running   D-Bus System Message Bus Socket                                              
  dm-event.socket                                                                          loaded active listening Device-mapper event daemon FIFOs                                             
  libvirtd-admin.socket                                                                    loaded active listening Libvirt admin socket                                                         
  libvirtd-ro.socket                                                                       loaded active listening Libvirt local read-only socket                                               
  libvirtd.socket                                                                          loaded active listening Libvirt local socket                                                         
  lvm2-lvmetad.socket                                                                      loaded active running   LVM2 metadata daemon socket                                                  
  lvm2-lvmpolld.socket                                                                     loaded active listening LVM2 poll daemon socket                                                      
  pcscd.socket                                                                             loaded active listening PC/SC Smart Card Daemon Activation Socket                                    
  systemd-coredump.socket                                                                  loaded active listening Process Core Dump Socket                                                     
  systemd-journald-audit.socket                                                            loaded active running   Journal Audit Socket                                                         
  systemd-journald-dev-log.socket                                                          loaded active running   Journal Socket (/dev/log)                                                    
  systemd-journald.socket                                                                  loaded active running   Journal Socket                                                               
  systemd-networkd.socket                                                                  loaded active running   Network Service Netlink Socket                                               
  systemd-rfkill.socket                                                                    loaded active listening Load/Save RF Kill Switch Status /dev/rfkill Watch                            
  systemd-udevd-control.socket                                                             loaded active running   udev Control Socket                                                          
  systemd-udevd-kernel.socket                                                              loaded active running   udev Kernel Socket                                                           
  virtlockd.socket                                                                         loaded active listening Virtual machine lock manager socket                                          
  virtlogd.socket                                                                          loaded active listening Virtual machine log manager socket                                           
  dev-disk-by\x2duuid-20900473\x2d0746\x2d4e8d\x2dade6\x2d354023573a13.swap                loaded active active    /dev/disk/by-uuid/20900473-0746-4e8d-ade6-354023573a13                       
  basic.target                                                                             loaded active active    Basic System                                                                 
  bluetooth.target                                                                         loaded active active    Bluetooth                                                                    
  cryptsetup.target                                                                        loaded active active    Local Encrypted Volumes                                                      
  getty.target                                                                             loaded active active    Login Prompts                                                                
  graphical.target                                                                         loaded active active    Graphical Interface                                                          
  local-fs-pre.target                                                                      loaded active active    Local File Systems (Pre)                                                     
  local-fs.target                                                                          loaded active active    Local File Systems                                                           
  multi-user.target                                                                        loaded active active    Multi-User System                                                            
  network.target                                                                           loaded active active    Network                                                                      
  nss-lookup.target                                                                        loaded active active    Host and Network Name Lookups                                                
  nss-user-lookup.target                                                                   loaded active active    User and Group Name Lookups                                                  
  paths.target                                                                             loaded active active    Paths                                                                        
  remote-fs.target                                                                         loaded active active    Remote File Systems                                                          
  slices.target                                                                            loaded active active    Slices                                                                       
  smartcard.target                                                                         loaded active active    Smart Card                                                                   
  sockets.target                                                                           loaded active active    Sockets                                                                      
  sound.target                                                                             loaded active active    Sound Card                                                                   
  swap.target                                                                              loaded active active    Swap                                                                         
  sysinit.target                                                                           loaded active active    System Initialization                                                        
  time-set.target                                                                          loaded active active    System Time Set                                                              
  time-sync.target                                                                         loaded active active    System Time Synchronized                                                     
  timers.target                                                                            loaded active active    Timers                                                                       
  fstrim.timer                                                                             loaded active waiting   Discard unused blocks once a week                                            
  man-db.timer                                                                             loaded active waiting   Daily man-db regeneration                                                    
  pkgfile-update.timer                                                                     loaded active waiting   pkgfile database update timer                                                
  pkgstats.timer                                                                           loaded active waiting   Weekly pkgstats submission                                                   
  shadow.timer                                                                             loaded active waiting   Daily verification of password and group files                               
  snapper-cleanup.timer                                                                    loaded active waiting   Daily Cleanup of Snapper Snapshots                                           
  snapper-timeline.timer                                                                   loaded active waiting   Timeline of Snapper Snapshots                                                
  systemd-tmpfiles-clean.timer                                                             loaded active waiting   Daily Cleanup of Temporary Directories                                       
  updatedb.timer                                                                           loaded active waiting   Daily locate database update                                                 

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
148 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


More information about the BRLTTY mailing list