[lug] Why can't I set my date

Bear Giles bgiles at coyotesong.com
Thu May 14 17:59:13 MDT 2015


​What happens if you give a specific date? I'm not familiar with the 'next
month' syntax and my copy of 'date' isn't happy with it. Maybe something is
aliased and you can get a date but not actually set one that way.
​

On Thu, May 14, 2015 at 5:38 PM, Lee Woodworth <blug-mail at duboulder.com>
wrote:

> Oh and another daemon that modifies things DHCP. Is yours
> configured to do anything with the time?
>
> On 05/14/2015 05:36 PM, Lee Woodworth wrote:
> > Does systemd do anything with the system date & do you have it running?
> > Smells like some root daemon is resetting the time to me. Seems like
> > a gui tool would to need to ask for a password to get privileges.
> >
> > Do things change if you are just logged into the console as root
> > (ctrl-alt F1 on my systems)?
> >
> > How about if you kill dbus and/or udev?
> >
> > On 05/14/2015 04:54 PM, Quentin Hartman wrote:
> >> Maybe there is something running that is resetting the date to the
> hardware
> >> clock? You can set the hardware clock explicitly with the "hwclock"
> command.
> >>
> >> On Thu, May 14, 2015 at 4:04 PM, Steve Sullivan <
> steve.sullivan at mathcom.com>
> >> wrote:
> >>
> >>> Not sure if Bear was in jest or not, but he may have a point.
> >>> You wrote
> >>>   sudo date -s '+next month'
> >>>
> >>> But maybe you meant without the "+":
> >>>   sudo date -s 'next month'
> >>>
> >>> Is date "+..." trying to increment by 2015 years?
> >>> Not quite the end of the world, but still :)
> >>>
> >>> Steve
> >>>
> >>> On Thu, May 14, 2015 at 03:34:50PM -0600, Bear Giles wrote:
> >>>>    You're trying to set it to a date after the end of the world.
> >>>>    On Thu, May 14, 2015 at 3:33 PM, Michael Hirsch <[1]
> >>> mdhirsch at gmail.com>
> >>>>    wrote:
> >>>>
> >>>>      On Thu, May 14, 2015 at 2:03 PM, Simos <[2]
> blug at chinesetearoom.com>
> >>>>      wrote:
> >>>>      > Michael,
> >>>>      >
> >>>>      > Is this a virtual machine by any chance?
> >>>>
> >>>>      No, this is my Dell tower under my desk.
> >>>>      Michael
> >>>>      >
> >>>>      >> On Thu, May 14, 2015 at 1:09 PM, Stephen Queen <[3]
> >>> svqueen at gmail.com>
> >>>>      wrote:
> >>>>      >> > Try
> >>>>      >> > sudo date -s '+next month'
> >>>>      >>
> >>>>      >> Thanks for the suggestion, but:
> >>>>      >>
> >>>>      >> [606] ~>sudo date -s '+next month'
> >>>>      >> [sudo] password for mhirsch:
> >>>>      >> Sun Jun 14 13:19:35 MDT 2015
> >>>>      >> [607] ~>date
> >>>>      >> Thu May 14 13:19:36 MDT 2015
> >>>>      >> [608] ~>
> >>>>      >>
> >>>>      >> --Michael
> >>>>      >>
> >>>>      >> > On Thu, May 14, 2015 at 1:01 PM, Michael Hirsch
> >>>>      <[4]mdhirsch at gmail.com> wrote:
> >>>>      >> >>
> >>>>      >> >> I'm testing some calendar sensitive stuff, so I'm trying
> set
> >>> my
> >>>>      Ubuntu
> >>>>      >> >> desktop to be in the future.  Though I've set my clock
> >>> hundreds of
> >>>>      >> >> times in the past, it isn't working any more.
> >>>>      >> >>
> >>>>      >> >> I've tried the commandline:
> >>>>      >> >> sudo date -s  "01 Sep 2015 12:53:00"
> >>>>      >> >> sudo date -s 'next month'
> >>>>      >> >> and a few dozen variations on this.  Date prints out the
> date
> >>> I
> >>>>      >> >> requestion, but the clock is actually unchanged:
> >>>>      >> >>
> >>>>      >> >> 595] $>sudo date -s 'next month'
> >>>>      >> >> Sun Jun 14 12:58:35 MDT 2015
> >>>>      >> >> [596] $>date
> >>>>      >> >> Thu May 14 12:58:38 MDT 2015
> >>>>      >> >> [597] $>
> >>>>      >> >>
> >>>>      >> >> I've also tried to use systemsettings (the KDE admin GUI)
> and
> >>> it
> >>>>      >> >> behaves similarly.  I set the date and press "Apply".  The
> gui
> >>>>      seems
> >>>>      >> >> to have a different date, but it refreshes in a few seconds
> >>> with
> >>>>      my
> >>>>      >> >> original date and time.
> >>>>      >> >>
> >>>>      >> >> WTF?  This used to be easy.
> >>>>      >> >>
> >>>>      >> >> Oh, I was running ntpd but I turned it off.
> >>>>      >> >>
> >>>>      >> >> Any ideas?
> >>>>      >> >>
> >>>>      >> >> Cluelessly yours,
> >>>>      >> >>
> >>>>      >> >> Michael
> >>>>      >> >> _______________________________________________
> >>>>      >> >> Web Page:  [5]http://lug.boulder.co.us
> >>>>      >> >> Mailing List:
> >>>>      [6]http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>      >> >> Join us on IRC: [7]irc.hackingsociety.org port=6667
> >>>>      channel=#hackingsociety
> >>>>      >> >
> >>>>      >> >
> >>>>      >> >
> >>>>      >> > _______________________________________________
> >>>>      >> > Web Page:  [8]http://lug.boulder.co.us
> >>>>      >> > Mailing List:
> >>>>      [9]http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>      >> > Join us on IRC: [10]irc.hackingsociety.org port=6667
> >>>>      channel=#hackingsociety
> >>>>      >> _______________________________________________
> >>>>      >> Web Page:  [11]http://lug.boulder.co.us
> >>>>      >> Mailing List: [12]
> >>> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>      >> Join us on IRC: [13]irc.hackingsociety.org port=6667
> >>>>      channel=#hackingsociety
> >>>>      >>
> >>>>      >>
> >>>>      > _______________________________________________
> >>>>      > Web Page:  [14]http://lug.boulder.co.us
> >>>>      > Mailing List: [15]
> >>> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>      > Join us on IRC: [16]irc.hackingsociety.org port=6667
> >>>>      channel=#hackingsociety
> >>>>      _______________________________________________
> >>>>      Web Page:  [17]http://lug.boulder.co.us
> >>>>      Mailing List: [18]
> >>> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>      Join us on IRC: [19]irc.hackingsociety.org port=6667
> >>>>      channel=#hackingsociety
> >>>>
> >>>> References
> >>>>
> >>>>    Visible links
> >>>>    1. mailto:mdhirsch at gmail.com
> >>>>    2. mailto:blug at chinesetearoom.com
> >>>>    3. mailto:svqueen at gmail.com
> >>>>    4. mailto:mdhirsch at gmail.com
> >>>>    5. http://lug.boulder.co.us/
> >>>>    6. http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>    7. http://irc.hackingsociety.org/
> >>>>    8. http://lug.boulder.co.us/
> >>>>    9. http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>   10. http://irc.hackingsociety.org/
> >>>>   11. http://lug.boulder.co.us/
> >>>>   12. http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>   13. http://irc.hackingsociety.org/
> >>>>   14. http://lug.boulder.co.us/
> >>>>   15. http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>   16. http://irc.hackingsociety.org/
> >>>>   17. http://lug.boulder.co.us/
> >>>>   18. http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>>   19. http://irc.hackingsociety.org/
> >>>
> >>>> _______________________________________________
> >>>> Web Page:  http://lug.boulder.co.us
> >>>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>>> Join us on IRC: irc.hackingsociety.org port=6667
> channel=#hackingsociety
> >>>
> >>>
> >>> --
> >>>
> >>> ========================================
> >>> Steve Sullivan      steve.sullivan at mathcom.com
> >>> 720-587-7498        http://www.mathcom.com
> >>> ========================================
> >>> _______________________________________________
> >>> Web Page:  http://lug.boulder.co.us
> >>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >>> Join us on IRC: irc.hackingsociety.org port=6667
> channel=#hackingsociety
> >>>
> >>
> >>
> >>
> >> _______________________________________________
> >> Web Page:  http://lug.boulder.co.us
> >> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >> Join us on IRC: irc.hackingsociety.org port=6667
> channel=#hackingsociety
> >>
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
> >
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20150514/dc3e3b1a/attachment.html>


More information about the LUG mailing list