<---- template headericclude ----->
Utc
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6

Utc

  1. #1
    Join Date
    Aug 2008
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Utc

    I am getting the following error on load.

    Cannot add dependency job for unit hwclock-load.service, ignoring: Unit hwclock-load.service failed to load: No such file or directory. See system logs and 'systemctl status' for details.
    A 'yum whatprovides */ hwclock-load.service' comes back blank so I wanted to check that my system was set to UTC so I can just delete the sysmlink some thing put in there. But the old config file doesn't seem to exist any more. If is is supposed to be set in systemd that doesn't seem to exist. The system-settings gui thingy does not set UTC the way that setup used to.

    Any idea how you check and set UTC on a system these days?

  2. #2
    Join Date
    Aug 2009
    Posts
    11,397
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: Utc

    look in your /etc/adjtime file and see if it is set to UTC or LOCAL

    Code:
    [root@tower20 ~]# cat /etc/adjtime
    0.040247 1308723388 0.000000
    1308723388
    UTC
    If you wish to disable the hwclock-load.service:

    Code:
    systemctl disable hwclock-load.service

  3. #3
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    11,362
    Mentioned
    87 Post(s)
    Tagged
    0 Thread(s)

    Re: Utc

    yum whatprovides */hwclock-load.service'
    Code:
    yum install systemd-units
    would provide /lib/systemd/system/hwclock-load.service for you.


    Code:
    Any idea how you check and set UTC on a system these days?
    Just like always you can do that with

    hwclock --set


    see man hwclock or more attractively, fire up konqueror browser and type in man:hwclock as the location

  4. #4
    Join Date
    Aug 2008
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Utc

    I have the latest and greatest systemd-units installed

    rpm -ql systemd-units |grep hwclock-load.service

    comes back with nothing.

    hwclock --systohc --utc

    got it done thanks.

  5. #5
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    11,362
    Mentioned
    87 Post(s)
    Tagged
    0 Thread(s)

    Re: Utc

    I have the latest and greatest systemd-units installed

    rpm -ql systemd-units |grep hwclock-load.service

    comes back with nothing.
    Which is odd since I have it in mine, I have this version:
    rpm -q systemd-units
    systemd-units-26-4.fc15.x86_64

    rpm -qvl systemd-units | grep hwclock-load.service
    -rw-r--r-- 1 root root 1203 Jun 15 17:15 /lib/systemd/system/hwclock-load.service
    Do you have 26-4 ?

  6. #6
    Join Date
    Aug 2008
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Utc

    systemd-units-29-1.fc16.x86_64

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]