This bug was fixed in the package systemd - 223-1ubuntu1 --------------- systemd (223-1ubuntu1) wily; urgency=medium
* Merge with Debian unstable. Remaining Ubuntu changes: - Hack to support system-image read-only /etc, and modify files in /etc/writable/ instead. - Keep our much simpler udev maintainer scripts (all platforms must support udev, no debconf). - initramfs init-bottom: If LVM is installed, settle udev, otherwise we get missing LV symlinks. Workaround for LP #1185394. - Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv dependencies to "lvm2" which is handled with udev rules in Ubuntu. - Add debian/udev.lvm2.service to avoid running the dummy lvm2 init script. - Provide shutdown fallback for upstart. (LP: #1370329) - debian/extra/ifup@.service: Additionally run for "auto" class. We don't really support "allow-hotplug" in Ubuntu at the moment, so we need to deal with "auto" devices appearing after "/etc/init.d/networking start" already ran. (LP: #1374521) - ifup@.service: Drop dependency on networking.service (i. e. /etc/init.d/networking), and merely ensure that /run/network exists. This avoids unnecessary dependencies/waiting during boot and dependency cycles if hooks wait for other interfaces to come up (like ifenslave with bonding interfaces). (LP: #1414544) - Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In Ubuntu we currently keep the setting whether the RTC is in local or UTC time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime. (LP: #1377258) - Put session scopes into all cgroup controllers. This makes unprivileged user LXC containers work under systemd. (LP: #1346734) - systemctl: Don't forward telinit u to upstart. This works around upstart's Restart() always reexec'ing /sbin/init on Restart(), even if that changes to point to systemd during the upgrade. This avoids running systemd during a dist-upgrade. (LP: #1430479) - Drop hwdb-update dependency from udev-trigger.service, which got introduced in v219-stable. This causes udev and plymouth to start too late and isn't really needed in Ubuntu yet as we don't support stateless systems yet and handle hwdb.bin updates through dpkg triggers. This can be dropped again with initramfs-tools 0.117. - Lower Breaks: to plymouth version which has the udev inotify fix in Ubuntu. - Lower apparmor Breaks: to the Ubuntu version that dropped $remote_fs. - Change systemd-sysv's conflicts to upstart-sysv. (LP: #1422681) Upgrade fixes, keep until 16.04 LTS release: - systemd Conflicts/Replaces/Provides systemd-services. - Remove obsolete systemd-logind upstart job. - Clean up obsolete /etc/udev/rules.d/README. - systemd.postinst: Migrate mountall specific fstab options to standard util-linux "nofail" option. systemd (223-3) UNRELEASED; urgency=medium * boot-and-services autopkgtest: Ignore thermald. Since 1.4.3-2 it starts by default, but fails in most virtual envs. systemd (223-2) unstable; urgency=medium * Don't enable gnu-efi on ARM. It FTBFSes and cannot really be tested now as there is no available hardware. * debian/extra/initramfs-tools/hooks/udev: Don't fail if /etc/systemd/network/ does not exist. (Closes: #794050) systemd (223-1) unstable; urgency=medium * New upstream release: - Fix systemd-bootchart crash. (Closes: #792403) - Trim list of files in /usr/share/doc/systemd/. (Closes: #791839) - Fix "Invalid argument" failure with some journal files. (Closes: #792090) - tmpfiles: Don't recursively descend into journal directories in /var. (Closes: #791897) - Don't frequently wake up on disabled TimeoutIdleSec=, in particular in automount timers. (LP: #1470845) - tmpfiles: Don't delete lost+found/. (Closes: #788193) [ Michael Biebl ] * udev: Remove obsolete rm_conffile/mv_conffile functions from udev.preinst. The udev package is using dpkg-maintscripts-helper now to remove obsolete conffiles. * systemd: Remove obsolete conffile clean up from pre-wheezy. * udev-udeb: Remove scsi_wait_scan hack from the start-udev script as well. [ Martin Pitt ] * Enable GNU EFI support and add gnu-efi build dep. This enables/ships the systemd EFI boot loader. (Closes: #787720, LP: #1472283) * networkd autopkgtest: More robust/forceful killing of dnsmasq. * ifup@.service: Drop "oneshot" to run ifup in the background during boot. This avoids blocking network.target on boot with unavailable hotplug interfaces in /etc/network/interfaces. (Closes: #790669, LP: #1425376) * systemd.postinst: Avoid confusing error message about /run/systemd/was-enabled not existing on reconfiguring. * debian/extra/initramfs-tools/hooks/udev: Drop some redundant code. * Fix networkd-wait-online -i to properly wait for the given interfaces only. * Drop debian/extra/base-installer.d/05udev: We use net.ifnames by default now, thus we don't need to copy 70-persistent-*.rules any more. * debian/extra/start-udev: Run d-i's udevd with "notice" log level, just like we did in the initramfs in 219-10. * Fix size explosion of networkd (post-223 patch from trunk). [ Julian Wollrath ] * Copy all .link interface naming definitions to initramfs. (Closes: #793374) [ Felipe Sateler ] * nss-my*.postinst: configure at the end of the hosts line, not before files. (Closes: #789006) -- Martin Pitt <martin.p...@ubuntu.com> Fri, 31 Jul 2015 07:38:04 +0200 ** Changed in: systemd (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1470845 Title: wakes up from automount-expire timer every second Status in systemd package in Ubuntu: Fix Released Bug description: I noticed that systemd on my idle Wily desktop is creating very short lived threads at 1Hz. While these aren't doing much, it still consumes power doing wakeups to create these periodic threads. Showing thread creation with forkstat: $ sudo forkstat Time Event PID Info Duration Process 13:43:07 clone 1 parent /sbin/init splash 13:43:07 clone 7483 thread /sbin/init splash 13:43:07 exit 7483 0 0.001 /sbin/init splash 13:43:08 clone 1 parent /sbin/init splash 13:43:08 clone 7484 thread /sbin/init splash 13:43:08 exit 7484 0 0.000 /sbin/init splash 13:43:10 clone 1 parent /sbin/init splash 13:43:10 clone 7485 thread /sbin/init splash 13:43:10 exit 7485 0 0.000 /sbin/init splash 13:43:11 clone 1 parent /sbin/init splash 13:43:11 clone 7486 thread /sbin/init splash 13:43:11 exit 7486 0 0.000 /sbin/init splash 13:43:12 clone 1 parent /sbin/init splash 13:43:12 clone 7487 thread /sbin/init splash 13:43:12 exit 7487 0 0.000 /sbin/init splash 13:43:13 clone 1 parent /sbin/init splash 13:43:13 clone 7488 thread /sbin/init splash 13:43:13 exit 7488 0 0.000 /sbin/init splash 13:43:15 clone 1 parent /sbin/init splash 13:43:15 clone 7489 thread /sbin/init splash 13:43:15 exit 7489 0 0.000 /sbin/init splash 13:43:16 clone 1 parent /sbin/init splash 13:43:16 clone 7490 thread /sbin/init splash 13:43:16 exit 7490 0 0.000 /sbin/init splash 13:43:17 clone 1 parent /sbin/init splash 13:43:17 clone 7491 thread /sbin/init splash 13:43:17 exit 7491 0 0.000 /sbin/init splash And it's consuming some cycles over time: $ sudo perf stat -p 1 ^C Performance counter stats for process id '1': 7.519868 task-clock (msec) # 0.000 CPUs utilized 41 context-switches # 0.005 M/sec 39 cpu-migrations # 0.005 M/sec 3 page-faults # 0.399 K/sec 12,107,977 cycles # 1.610 GHz 10,597,101 stalled-cycles-frontend # 87.52% frontend cycles idle 0 stalled-cycles-backend # 0.00% backend cycles idle 2,285,818 instructions # 0.19 insns per cycle # 4.64 stalled cycles per insn 457,133 branches # 60.790 M/sec 69,444 branch-misses # 15.19% of all branches 46.099593011 seconds time elapsed The thread is just doing the following: clock_gettime(0x7 /* CLOCK_??? */, {52592, 947682919}) = 0 read(14, "\1\0\0\0\0\0\0\0", 8) = 8 fcntl(30, F_DUPFD_CLOEXEC, 3) = 15 ioctl(30, 0xc0189374, 0x7ffeaf311470) = 0 fcntl(16, F_GETFD) = 0x1 (flags FD_CLOEXEC) clone(Process 7466 attached child_stack=0x7f97c3580e30, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f97c35819d0, tls=0x7f97c3581700, child_tidptr=0x7f97c35819d0) = 7466 [pid 7466] set_robust_list(0x7f97c35819e0, 24) = 0 [pid 1] timerfd_settime(14, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={52594, 197493000}}, NULL <unfinished ...> [pid 7466] ioctl(15, 0xc018937c <unfinished ...> [pid 1] <... timerfd_settime resumed> ) = 0 [pid 7466] <... ioctl resumed> , 0x7f97c3580d60) = -1 EAGAIN (Resource temporarily unavailable) [pid 1] epoll_wait(4, <unfinished ...> [pid 7466] close(15) = 0 [pid 7466] close(16) = 0 [pid 7466] madvise(0x7f97c2d81000, 8368128, MADV_DONTNEED) = 0 [pid 7466] _exit(0) = ? [pid 7466] +++ exited with 0 +++ <... epoll_wait resumed> {{EPOLLIN, {u32=3, u64=3}}}, 34, -1) = 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1470845/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp