Re: Using syslog(3) after chroot-ing

From: Charles Swiger (cswiger_at_mac.com)
Date: 06/30/04

  • Next message: Chris: "port upgrades"
    Date: Wed, 30 Jun 2004 15:06:39 -0400
    To: questions@FreeBSD.org
    
    

    On Jun 30, 2004, at 3:00 PM, Mikhail Teterin wrote:
    > =What happens if you set TZ in the environment which syslogd is started
    > =up from?
    >
    > That's an idea. Can I just call tzset() (or tzsetwall()?) prior to
    > chroot-ing?

    I suspect that you could indeed. Again, just to be clear: the
    timestamps are produced by syslogd, not by the program doing the
    logging, so you'd have to change syslogd itself.

    -- 
    -Chuck
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Chris: "port upgrades"

    Relevant Pages

    • Re: System Quits Responding-Swap Issue Or What?
      ... syslogd: dirtied inode 273702on hda3 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Logging Stops after few minutes
      ... > FTPD as daemon is not the cause or should I run FTP as a service. ... Syslogd only chews on the processor when it has something ... >> be logging whole lot of information and my syslogd command should ... >> To unsubscribe, send any mail to ...
      (freebsd-questions)
    • Re: ttyv for local only?
      ... I didn't think syslogd was open to the world by default? ... I can't find the entries that the periodic security mailings found. ... I did a fresh source compile of world from the latest cvsup for ... To unsubscribe, ...
      (FreeBSD-Security)
    • RE: Logging Stops after few minutes
      ... Logging Stops after few minutes ... FTPD as daemon is not the cause or should I run FTP as a service. ... are you sure that syslogd stops working after ... > To unsubscribe, send any mail to ...
      (freebsd-questions)
    • Re: localhost -- MARK -- ????????
      ... What the heck are these messages? ... This is syslogd which ... Debian GNU/Linux Consultant ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)