Ticket #93 (reopened defect)

Opened 4 months ago

Last modified 2 months ago

OpenNTPD: user _ntp missing

Reported by: betasheet Owned by: saurik
Priority: major Component: Telesphoreo
Keywords: OpenNTPD Cc: asusa42-telesphoreo@…, gogo@…, www-telesphoreo@…

Description

Hi, I just wanted to install OpenNTPD and use the ntpd-service ... I cannot start the service (as root via ssh), because it claims that the user "_ntp" is unknown:

iPhone:~ root# ntpd
ntpd: unknown user _ntp

Maybe that user just needs to be created on install or something like that.

Change History

  Changed 4 months ago by joeywdy

  • cc joeywdy@… added
  • status changed from new to closed
  • resolution set to fixed

  Changed 4 months ago by joeywdy

  • status changed from closed to reopened
  • resolution deleted

  Changed 4 months ago by joeywdy

  • status changed from reopened to assigned

  Changed 4 months ago by joeywdy

  • cc joeywdy@… removed
  • component changed from Telesphoreo to Cydia

  Changed 4 months ago by joeywdy

  • status changed from assigned to closed
  • resolution set to fixed

  Changed 3 months ago by Coda

  • cc phillip.decipher@… added
  • resolution deleted
  • status changed from closed to reopened
  • component changed from Cydia to Telesphoreo

Have just installed OpenNTPD, when being run (as root) get unknown user _ntp Cydia is on latest version and OpenNTPD version is listed as 4.2-2

follow-up: ↓ 9   Changed 3 months ago by saurik

Interesting. I've never used the server, only the client.

  Changed 3 months ago by Coda

  • cc phillip.decipher@… removed

in reply to: ↑ 7   Changed 2 months ago by andres

  • cc asusa42-telesphoreo@… added

Replying to saurik:

Interesting. I've never used the server, only the client.

I'm trying to use it in client mode only too -- it still complains about the missing uid... are you saying you actually have it running? I'm keen on getting this working because the AT&T time server seems to be off by about 10sec (and the time differs depending on whether I'm on 2G or 3G mode).

I believe the difference between server and client mode is simply in whether or not "listen" is set in ntpd.conf.

  Changed 2 months ago by gogo

  • cc gogo@… added

I have the same issue with openntp - even if i create a user called '_ntp' by editing '/etc/group' and '/etc/passwd' it does not work, i get the exact same output. Maybe the user-lookup does not work?

  Changed 2 months ago by ScreamingPict

  • cc www-telesphoreo@… added

I am getting the same error.

Afraid that I'm too much of a BSD-weenie to really understand what's going on, but from a quick Google it seems that there may be a library missing- http://fixunix.com/22177-post2.html

Anyone got any ideas? Am really tired of having a clock that's wrong all the time (O2 don't broadcast the time signal and iTunes doesn't sync times- bah).

P.S. Anyone know if running the ntpd will prevent the iPhone from going into deep sleep? I'd rather it just ran once a day and then quit.

Note: See TracTickets for help on using tickets.