[Touch-packages] [Bug 1852933] Re: Failed to read time with suspend-then-hibernate fails

2019-12-05 Thread Dan Streetman
> Sorry, I am new to Linux. How can I know which one it is (missing RTC
or missing RTC driver)?

If you have real hardware, it should have a RTC.  As this isn't a bug,
you probably should try asking for help at https://askubuntu.com/

> Also, is there a fix you can think of?

You need a working RTC.

** Changed in: systemd (Ubuntu)
   Status: Incomplete => Invalid

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

Title:
  Failed to read time with suspend-then-hibernate fails

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  systemd version the issue has been seen with
  237

  Used distribution
  Ubuntu 18.04

  Expected behaviour you didn't see
  Running suspend-then-hibernate service should put the machine into sleep mode 
and then hibernate after the delay set in the sleep.conf file.

  Unexpected behaviour you saw
  suspend-then-hibernate fails. The status shows:

  systemd[1]: Starting Suspend; Idle into hibernate...
  systemd-sleep[13130]: Failed to read time: -9
  systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code
  systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-
  systemd[1]: Failed to start Suspend; Idle into hibernate.
  Both suspend and hibernate services work fine.

  Steps to reproduce the problem
  Running sudo systemctl suspend-then-hibernate generates the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1852933/+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


[Touch-packages] [Bug 1852933] Re: Failed to read time with suspend-then-hibernate fails

2019-12-04 Thread Saber Taghvaeeyan
Sorry, I am new to Linux. How can I know which one it is (missing RTC or 
missing RTC driver)? 
Also, is there a fix you can think of?

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

Title:
  Failed to read time with suspend-then-hibernate fails

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  systemd version the issue has been seen with
  237

  Used distribution
  Ubuntu 18.04

  Expected behaviour you didn't see
  Running suspend-then-hibernate service should put the machine into sleep mode 
and then hibernate after the delay set in the sleep.conf file.

  Unexpected behaviour you saw
  suspend-then-hibernate fails. The status shows:

  systemd[1]: Starting Suspend; Idle into hibernate...
  systemd-sleep[13130]: Failed to read time: -9
  systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code
  systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-
  systemd[1]: Failed to start Suspend; Idle into hibernate.
  Both suspend and hibernate services work fine.

  Steps to reproduce the problem
  Running sudo systemctl suspend-then-hibernate generates the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1852933/+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


[Touch-packages] [Bug 1852933] Re: Failed to read time with suspend-then-hibernate fails

2019-12-04 Thread Dan Streetman
That's why it is failing.  It's been refactored upstream, at this commit:
https://github.com/systemd/systemd/commit/1bbbefe7a68059eb55d864c3e0e670d00269683a

however I don't think that's really a 'bug fix', and probably isn't a
candidate to backport to Bionic.

Do you really have no RTC in your system, or are you just missing the
RTC driver?

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

Title:
  Failed to read time with suspend-then-hibernate fails

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  systemd version the issue has been seen with
  237

  Used distribution
  Ubuntu 18.04

  Expected behaviour you didn't see
  Running suspend-then-hibernate service should put the machine into sleep mode 
and then hibernate after the delay set in the sleep.conf file.

  Unexpected behaviour you saw
  suspend-then-hibernate fails. The status shows:

  systemd[1]: Starting Suspend; Idle into hibernate...
  systemd-sleep[13130]: Failed to read time: -9
  systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code
  systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-
  systemd[1]: Failed to start Suspend; Idle into hibernate.
  Both suspend and hibernate services work fine.

  Steps to reproduce the problem
  Running sudo systemctl suspend-then-hibernate generates the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1852933/+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


[Touch-packages] [Bug 1852933] Re: Failed to read time with suspend-then-hibernate fails

2019-12-03 Thread Saber Taghvaeeyan
I get
cat: /sys/class/rtc/rtc0/since_epoch: No such file or directory.
It seems that /sys/class/rtc is empty.

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

Title:
  Failed to read time with suspend-then-hibernate fails

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  systemd version the issue has been seen with
  237

  Used distribution
  Ubuntu 18.04

  Expected behaviour you didn't see
  Running suspend-then-hibernate service should put the machine into sleep mode 
and then hibernate after the delay set in the sleep.conf file.

  Unexpected behaviour you saw
  suspend-then-hibernate fails. The status shows:

  systemd[1]: Starting Suspend; Idle into hibernate...
  systemd-sleep[13130]: Failed to read time: -9
  systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code
  systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-
  systemd[1]: Failed to start Suspend; Idle into hibernate.
  Both suspend and hibernate services work fine.

  Steps to reproduce the problem
  Running sudo systemctl suspend-then-hibernate generates the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1852933/+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


[Touch-packages] [Bug 1852933] Re: Failed to read time with suspend-then-hibernate fails

2019-12-03 Thread Dan Streetman
What does this return on your system:

$ cat /sys/class/rtc/rtc0/since_epoch

** Changed in: systemd (Ubuntu)
   Status: New => Incomplete

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

Title:
  Failed to read time with suspend-then-hibernate fails

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  systemd version the issue has been seen with
  237

  Used distribution
  Ubuntu 18.04

  Expected behaviour you didn't see
  Running suspend-then-hibernate service should put the machine into sleep mode 
and then hibernate after the delay set in the sleep.conf file.

  Unexpected behaviour you saw
  suspend-then-hibernate fails. The status shows:

  systemd[1]: Starting Suspend; Idle into hibernate...
  systemd-sleep[13130]: Failed to read time: -9
  systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code
  systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-
  systemd[1]: Failed to start Suspend; Idle into hibernate.
  Both suspend and hibernate services work fine.

  Steps to reproduce the problem
  Running sudo systemctl suspend-then-hibernate generates the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1852933/+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