Announcement

Collapse
No announcement yet.

Microsoft & Canonical Bring systemd To WSL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lowflyer
    replied
    Originally posted by cynic View Post
    it's still spelled "systemd"...
    corrected out of good will. But normally people can keep all the spelling mistakes they find in my writing for themselves for free.

    Leave a comment:


  • plan-g
    replied
    I have not dug into how specific units work (or don't), but here are the defaults:

    Code:
      UNIT                                                                                                                                                                      LOAD   ACTIVE SUB       DESCRIPTION
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-14853480\x2dab19\x2d4ae4\x2db6bb\x2d222d836f77ea-pciab19:00-ab19:00:00.0-virtio0-virtio\x2dports-vport0p0.device loaded active plugged   /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/14853480-ab19-4ae4-b6bb-222d836f77ea/pciab19:00/ab19:00:00.0/virtio0/virtio-ports/vport0p0
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-96b5eeae\x2d8b10\x2d4aae\x2d80ee\x2deca1c99cbf95-net-eth0.device                                                 loaded active plugged   /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/96b5eeae-8b10-4aae-80ee-eca1c99cbf95/net/eth0
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-fd1d2cbd\x2dce7c\x2d535c\x2d966b\x2deb5f811c95f0-host0-target0:0:0-0:0:0:0-block-sda.device                      loaded active plugged   Virtual_Disk
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-fd1d2cbd\x2dce7c\x2d535c\x2d966b\x2deb5f811c95f0-host0-target0:0:0-0:0:0:1-block-sdb.device                      loaded active plugged   Virtual_Disk
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-fd1d2cbd\x2dce7c\x2d535c\x2d966b\x2deb5f811c95f0-host0-target0:0:0-0:0:0:2-block-sdc.device                      loaded active plugged   Virtual_Disk
      sys-devices-LNXSYSTM:00-LNXSYBUS:00-ACPI0004:00-VMBUS:00-fd1d2cbd\x2dce7c\x2d535c\x2d966b\x2deb5f811c95f0-host0-target0:0:0-0:0:0:3-block-sdd.device                      loaded active plugged   Virtual_Disk
      sys-devices-platform-serial8250-tty-ttyS0.device                                                                                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0
      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-virtual-block-ram0.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram0
      sys-devices-virtual-block-ram1.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram1
      sys-devices-virtual-block-ram10.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram10
      sys-devices-virtual-block-ram11.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram11
      sys-devices-virtual-block-ram12.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram12
      sys-devices-virtual-block-ram13.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram13
      sys-devices-virtual-block-ram14.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram14
      sys-devices-virtual-block-ram15.device                                                                                                                                    loaded active plugged   /sys/devices/virtual/block/ram15
      sys-devices-virtual-block-ram2.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram2
      sys-devices-virtual-block-ram3.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram3
      sys-devices-virtual-block-ram4.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram4
      sys-devices-virtual-block-ram5.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram5
      sys-devices-virtual-block-ram6.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram6
      sys-devices-virtual-block-ram7.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram7
      sys-devices-virtual-block-ram8.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram8
      sys-devices-virtual-block-ram9.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/block/ram9
      sys-devices-virtual-net-bond0.device                                                                                                                                      loaded active plugged   /sys/devices/virtual/net/bond0
      sys-devices-virtual-net-dummy0.device                                                                                                                                     loaded active plugged   /sys/devices/virtual/net/dummy0
      sys-devices-virtual-net-sit0.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/net/sit0
      sys-devices-virtual-net-tunl0.device                                                                                                                                      loaded active plugged   /sys/devices/virtual/net/tunl0
      sys-devices-virtual-tty-hvc0.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc0
      sys-devices-virtual-tty-hvc1.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc1
      sys-devices-virtual-tty-hvc2.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc2
      sys-devices-virtual-tty-hvc3.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc3
      sys-devices-virtual-tty-hvc4.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc4
      sys-devices-virtual-tty-hvc5.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc5
      sys-devices-virtual-tty-hvc6.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc6
      sys-devices-virtual-tty-hvc7.device                                                                                                                                       loaded active plugged   /sys/devices/virtual/tty/hvc7
      sys-module-fuse.device                                                                                                                                                    loaded active plugged   /sys/module/fuse
      sys-subsystem-net-devices-bond0.device                                                                                                                                    loaded active plugged   /sys/subsystem/net/devices/bond0
      sys-subsystem-net-devices-dummy0.device                                                                                                                                   loaded active plugged   /sys/subsystem/net/devices/dummy0
      sys-subsystem-net-devices-eth0.device                                                                                                                                     loaded active plugged   /sys/subsystem/net/devices/eth0
      sys-subsystem-net-devices-sit0.device                                                                                                                                     loaded active plugged   /sys/subsystem/net/devices/sit0
      sys-subsystem-net-devices-tunl0.device                                                                                                                                    loaded active plugged   /sys/subsystem/net/devices/tunl0
      -.mount                                                                                                                                                                   loaded active mounted   Root Mount
      dev-hugepages.mount                                                                                                                                                       loaded active mounted   Huge Pages File System
      dev-mqueue.mount                                                                                                                                                          loaded active mounted   POSIX Message Queue File System
      init.mount                                                                                                                                                                loaded active mounted   /init
      mnt-c.mount                                                                                                                                                               loaded active mounted   /mnt/c
      mnt-d.mount                                                                                                                                                               loaded active mounted   /mnt/d
      mnt-wsl.mount                                                                                                                                                             loaded active mounted   /mnt/wsl
      mnt-wslg-distro.mount                                                                                                                                                     loaded active mounted   /mnt/wslg/distro
      mnt-wslg-doc.mount                                                                                                                                                        loaded active mounted   /mnt/wslg/doc
      mnt-wslg-versions.txt.mount                                                                                                                                               loaded active mounted   /mnt/wslg/versions.txt
      mnt-wslg.mount                                                                                                                                                            loaded active mounted   /mnt/wslg
      proc-sys-fs-binfmt_misc.mount                                                                                                                                             loaded active mounted   Arbitrary Executable File Formats File System
      run-shm.mount                                                                                                                                                             loaded active mounted   /run/shm
      run-snapd-ns-lxd.mnt.mount                                                                                                                                                loaded active mounted   /run/snapd/ns/lxd.mnt
      run-snapd-ns.mount                                                                                                                                                        loaded active mounted   /run/snapd/ns
      run-user-0.mount                                                                                                                                                          loaded active mounted   /run/user/0
      run-user.mount                                                                                                                                                            loaded active mounted   /run/user
      snap-core20-1587.mount                                                                                                                                                    loaded active mounted   Mount unit for core20, revision 1587
      snap-lxd-22923.mount                                                                                                                                                      loaded active mounted   Mount unit for lxd, revision 22923
      snap-snapd-16292.mount                                                                                                                                                    loaded active mounted   Mount unit for snapd, revision 16292
      snap.mount                                                                                                                                                                loaded active mounted   Ensure that the snap directory shares mount events.
      sys-fs-fuse-connections.mount                                                                                                                                             loaded active mounted   FUSE Control 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-.X11\x2dunix.mount                                                                                                                                                    loaded active mounted   /tmp/.X11-unix
      usr-lib-tmpfiles.d-tmp.conf.mount                                                                                                                                         loaded active mounted   /usr/lib/tmpfiles.d/tmp.conf
      usr-lib-tmpfiles.d-x11.conf.mount                                                                                                                                         loaded active mounted   /usr/lib/tmpfiles.d/x11.conf
      usr-lib-wsl-drivers.mount                                                                                                                                                 loaded active mounted   /usr/lib/wsl/drivers
      usr-lib-wsl-lib.mount                                                                                                                                                     loaded active mounted   /usr/lib/wsl/lib
      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-c1.scope                                                                                                                                                          loaded active running   Session c1 of User root
      apport.service                                                                                                                                                            loaded active exited    LSB: automatic crash report generation
      blk-availability.service                                                                                                                                                  loaded active exited    Availability of block devices
      console-getty.service                                                                                                                                                     loaded active running   Console Getty
      console-setup.service                                                                                                                                                     loaded active exited    Set console font and keymap
      cron.service                                                                                                                                                              loaded active running   Regular background program processing daemon
      dbus.service                                                                                                                                                              loaded active running   D-Bus System Message Bus
      finalrd.service                                                                                                                                                           loaded active exited    Create final runtime dir for shutdown pivot root
      [email protected]                                                                                                                                                        loaded active running   Getty on tty1
      keyboard-setup.service                                                                                                                                                    loaded active exited    Set the console keyboard layout
      ModemManager.service                                                                                                                                                      loaded active running   Modem Manager
      networkd-dispatcher.service                                                                                                                                               loaded active running   Dispatcher daemon for systemd-networkd
      plymouth-quit-wait.service                                                                                                                                                loaded active exited    Hold until boot process finishes up
      plymouth-quit.service                                                                                                                                                     loaded active exited    Terminate Plymouth Boot Screen
      plymouth-read-write.service                                                                                                                                               loaded active exited    Tell Plymouth To Write Out Runtime Data
      polkit.service                                                                                                                                                            loaded active running   Authorization Manager
      rsyslog.service                                                                                                                                                           loaded active running   System Logging Service
      setvtrgb.service                                                                                                                                                          loaded active exited    Set console scheme
      snapd.seeded.service                                                                                                                                                      loaded active exited    Wait until snapd is fully seeded
      snapd.service                                                                                                                                                             loaded active running   Snap Daemon
    ● ssh.service                                                                                                                                                               loaded failed failed    OpenBSD Secure Shell server
      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-networkd-wait-online.service                                                                                                                                      loaded active exited    Wait for Network to be Configured
      systemd-networkd.service                                                                                                                                                  loaded active running   Network Configuration
    ● systemd-remount-fs.service                                                                                                                                                loaded failed failed    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-sysusers.service                                                                                                                                                  loaded failed failed    Create System Users
      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    Record System Boot/Shutdown in UTMP
      systemd-user-sessions.service                                                                                                                                             loaded active exited    Permit User Sessions
      udisks2.service                                                                                                                                                           loaded active running   Disk Manager
      ufw.service                                                                                                                                                               loaded active exited    Uncomplicated firewall
      unattended-upgrades.service                                                                                                                                               loaded active running   Unattended Upgrades Shutdown
      [email protected]                                                                                                                                                loaded active exited    User Runtime Directory /run/user/0
    ● [email protected]                                                                                                                                                            loaded failed failed    User Manager for UID 0
      -.slice                                                                                                                                                                   loaded active active    Root Slice
      system-getty.slice                                                                                                                                                        loaded active active    Slice /system/getty
      system-modprobe.slice                                                                                                                                                     loaded active active    Slice /system/modprobe
      system.slice                                                                                                                                                              loaded active active    System Slice
      user-0.slice                                                                                                                                                              loaded active active    User Slice of UID 0
      user.slice                                                                                                                                                                loaded active active    User and Session Slice
      apport-forward.socket                                                                                                                                                     loaded active listening Unix socket for apport crash forwarding
      dbus.socket                                                                                                                                                               loaded active running   D-Bus System Message Bus Socket
      dm-event.socket                                                                                                                                                           loaded active listening Device-mapper event daemon FIFOs
      iscsid.socket                                                                                                                                                             loaded active listening Open-iSCSI iscsid Socket
      lvm2-lvmpolld.socket                                                                                                                                                      loaded active listening LVM2 poll daemon socket
      snap.lxd.daemon.unix.socket                                                                                                                                               loaded active listening Socket unix for snap application lxd.daemon
      snap.lxd.user-daemon.unix.socket                                                                                                                                          loaded active listening Socket unix for snap application lxd.user-daemon
      snapd.socket                                                                                                                                                              loaded active running   Socket activation for snappy daemon
      syslog.socket                                                                                                                                                             loaded active running   Syslog Socket
      systemd-fsckd.socket                                                                                                                                                      loaded active listening fsck to fsckd communication Socket
      systemd-initctl.socket                                                                                                                                                    loaded active listening initctl Compatibility Named Pipe
      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-udevd-control.socket                                                                                                                                              loaded active running   udev Control Socket
      systemd-udevd-kernel.socket                                                                                                                                               loaded active running   udev Kernel Socket
      uuidd.socket                                                                                                                                                              loaded active listening UUID daemon activation socket
      basic.target                                                                                                                                                              loaded active active    Basic System
      cryptsetup.target                                                                                                                                                         loaded active active    Local Encrypted Volumes
      getty-pre.target                                                                                                                                                          loaded active active    Preparation for Logins
      getty.target                                                                                                                                                              loaded active active    Login Prompts
      graphical.target                                                                                                                                                          loaded active active    Graphical Interface
      local-fs-pre.target                                                                                                                                                       loaded active active    Preparation for Local File Systems
      local-fs.target                                                                                                                                                           loaded active active    Local File Systems
      multi-user.target                                                                                                                                                         loaded active active    Multi-User System
      network-online.target                                                                                                                                                     loaded active active    Network is Online
      network-pre.target                                                                                                                                                        loaded active active    Preparation for Network
      network.target                                                                                                                                                            loaded active active    Network
      nss-lookup.target                                                                                                                                                         loaded active active    Host and Network Name Lookups
      paths.target                                                                                                                                                              loaded active active    Path Units
      remote-fs-pre.target                                                                                                                                                      loaded active active    Preparation for Remote File Systems
      remote-fs.target                                                                                                                                                          loaded active active    Remote File Systems
      slices.target                                                                                                                                                             loaded active active    Slice Units
      sockets.target                                                                                                                                                            loaded active active    Socket Units
      swap.target                                                                                                                                                               loaded active active    Swaps
      sysinit.target                                                                                                                                                            loaded active active    System Initialization
      time-set.target                                                                                                                                                           loaded active active    System Time Set
      timers.target                                                                                                                                                             loaded active active    Timer Units
      veritysetup.target                                                                                                                                                        loaded active active    Local Verity Protected Volumes
      apt-daily-upgrade.timer                                                                                                                                                   loaded active waiting   Daily apt upgrade and clean activities
      apt-daily.timer                                                                                                                                                           loaded active waiting   Daily apt download activities
      dpkg-db-backup.timer                                                                                                                                                      loaded active waiting   Daily dpkg database backup timer
      e2scrub_all.timer                                                                                                                                                         loaded active waiting   Periodic ext4 Online Metadata Check for All Filesystems
      logrotate.timer                                                                                                                                                           loaded active waiting   Daily rotation of log files
      man-db.timer                                                                                                                                                              loaded active waiting   Daily man-db regeneration
      motd-news.timer                                                                                                                                                           loaded active waiting   Message of the Day
      systemd-tmpfiles-clean.timer                                                                                                                                              loaded active waiting   Daily Cleanup of Temporary Directories
      ua-timer.timer                                                                                                                                                            loaded active waiting   Ubuntu Advantage Timer for running repeated jobs
      update-notifier-download.timer                                                                                                                                            loaded active waiting   Download data for packages that failed at package install time
      update-notifier-motd.timer                                                                                                                                                loaded active waiting   Check to see whether there is a new version of Ubuntu available
    
    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.
    173 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    zz0.r2ukarpfxazz

    Leave a comment:


  • plan-g
    replied
    Originally posted by mobj View Post
    Will systemd support make lxc/lxd containers work out of the box like on a real Linux box/VM?
    https://ubuntu.com/blog/ubuntu-wsl-enable-systemd has an example of this. They install the lxd snap, then set up a web server with lxd/lxc.

    Leave a comment:


  • mobj
    replied
    Will systemd support make lxc/lxd containers work out of the box like on a real Linux box/VM?

    Leave a comment:


  • danger
    replied
    Originally posted by Delgarde View Post
    Gates and Ballmer are long gone
    That may be true about Ballmer, but I don't believe Gates is gone. I think he's still exerting an enormous influence over Microsoft.

    Leave a comment:


  • OmniNegro
    replied
    Originally posted by kpedersen View Post

    He is a prophet in the same way as being able to predict that going sky diving without a parachute is a dumb idea.

    Yes, you might land on a massive ditch filled with nice soft cotton wool, you can't predict the future 100%. However a safer bet is that a crooked company like Microsoft, consistently ruining the industry is waiting below for you to land on.
    I know it is entirely off topic here, but please understand that despite the millions of people who think they can fall from any height into water and be fine, physics do not agree with that idea. Falling from several thousand feet into water is exactly as lethal as falling into a flaming wood chipper. Velocity makes you fall so fast that the water may as well be concrete.

    *Edit* I know you were not talking about water. But the example should make sense anyway.

    Leave a comment:


  • swoorup
    replied
    There isn't much at this point. Microsoft will always be playing catch up, admitted linux doesn't have a good GUI. Instead they could just reach for the endgame directly which is running their next iteration of OS on Linux and admit defeat lol.
    And then contribute to Wine....

    Leave a comment:


  • kpedersen
    replied
    Originally posted by cardich View Post
    Are you a prophet, a soothsayer, or a fortune teller? Do you practice palmistry or tea leaves reading?
    He is a prophet in the same way as being able to predict that going sky diving without a parachute is a dumb idea.

    Yes, you might land on a massive ditch filled with nice soft cotton wool, you can't predict the future 100%. However a safer bet is that a crooked company like Microsoft, consistently ruining the industry is waiting below for you to land on.

    Leave a comment:


  • plan-g
    replied
    Hmm, I wonder which units are enabled. I can’t imagine this would play nicely with systemd-oomd. systemd-resolved could be problematic too. The docs do not have that info so I guess I’ll just have to try it out.

    Leave a comment:


  • szymon_g
    replied
    Originally posted by sarmad View Post
    Well, I guess that's good news for developers that target Linux. One less reason to bother about creating a Windows build of your apps.
    will both developers do so?

    Leave a comment:

Working...
X