← Back to team overview

touch-packages team mailing list archive

[Bug 1452727] Re: rc-local.service hangs

 

Sorry, attached information. Thank you.

● rc-local.service - /etc/rc.local Compatibility
   Loaded: loaded (/lib/systemd/system/rc-local.service; static; vendor preset: enabled)
   Active: active (exited) since jue 2015-05-07 14:49:18 CEST; 3h 4min ago
  Process: 1106 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)

may 07 14:48:09 carles-desktop systemd[1]: Starting /etc/rc.local Compatibility...
may 07 14:49:18 carles-desktop rc.local[1106]: /: 85,4 GiB (91690799104 bytes) trimmed
may 07 14:49:18 carles-desktop systemd[1]: Started /etc/rc.local Compatibility.

My - rc-local.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
fstrim -v /
exit 0




** Attachment added: "journal.txt"
   https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1452727/+attachment/4393061/+files/journal.txt

-- 
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/1452727

Title:
  rc-local.service hangs

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  The boot is very slow more than 130 seconds because of:   1min 8.191s
  rc-local.service... ????

  Using upstart works perfectly and fast.

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


References