| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
files are owned by the caller of newsyslog (usually root:wheel) even if
alternative ownerships were specified in newsyslog.conf.
Note that this is part of a wider problem which is fully addressed in
OpenBSD. Anyone with the time and inclination to incorporate the full
fix for the wider problem will receive no complaints from me and should
feel free to walk all over this delta.
PR: bin/36738
MFC after: 1 week
|
|
|
|
|
|
| |
newsyslog.conf syntax.
PR: bin/36641
|
|
|
|
|
| |
Approved by: silence on -audit
MFC after: 1 month
|
| |
|
| |
|
|
|
|
| |
change.
|
|
|
|
| |
Submmited by: garrett
|
| |
|
| |
|
|
|
|
| |
(this included removing the funny "if (unsigned_var < 0)" test)
|
|
|
|
|
| |
PR: 27901
Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
| |
|
|
|
|
|
|
|
|
|
| |
give an example of how to rotate logs at the beginning of the month.
Although they sound the same, since both of them rotate logs at the
beginning of the day, the former ended up taking place on, e.g., July
31 00:00 instead of the expected July 31 23:59. This is contraty to POLA.
Submitted by: Dan Langille <dan@langille.org>
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Check return values of malloc() and strdup()
- Replace strcpy()/strcat()/sprintf() usage with strlcpy()/snprintf
Reviewed by: -audit
|
| |
|
|
|
|
| |
log file it was.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
configurable directory
- implement alternate and more flexible way to specify
logfile rotation time in addition to the ISO 8601
restricted format
- cleanup the source which was a mix of several styles
of persons who maintained it so far, ran through
knfom script got from bde.
Reviewed by: (in part) sheldonh and garyj
|
|
|
|
|
|
| |
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
| |
|
| |
|
|
|
|
| |
Clean up wording a little (like I have any idea what real English looks like...)
|
|
|
|
|
|
|
|
|
| |
compatibility. : is still the documented non-ambiguous approach. The
algorithm used will correctly parse david.obrien.staff as strrchar() is
used, and in my mind more people would use a ``.'' in the username than
the group name.
Convinced by argument and patch by: sheldonh (with slight changes by me)
|
|
|
|
| |
consistant with chown(8).
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/9602
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
|
|
|
|
|
|
|
|
| |
Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same. This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.
|
|
|
|
| |
Reported by: Ben Stuyts <ben@stuyts.nl>
|
| |
|
|
|
|
| |
F.e. apache restarts less agressively on USR1 then on HUP
|
|
|
|
|
|
|
|
|
| |
PR: docs/6385
2) -n (noaction) does not imply -r (run as non-root), since as of
Rev. 1.12 (ache), -r changes actual behaviour.
3) missing \n from if(noaction) messages.
|
|
|
|
|
| |
in -current. However, they fixed both the ordering and the missing -F
flag. Merge from 22 and fix ordering here, too.
|
|
|
|
| |
Typo fix in comment ("Force the tim now matter what" s/tim/trim/)
|
|
|
|
|
| |
its sentence.
2) Fix usage (-F option).
|
| |
|
|
|
|
| |
Submitted by: Terry Lambert <terry@freebsd.org>
|
|
|
|
| |
may have log time to re-configure
|
| |
|
|
|
|
| |
manpage is being viewed.
|
|
|
|
|
|
| |
can be specified without the flags field.
Fix bogus "trail" left in parse routine where the code jumps
past the end of the line and wanders into oblivion.
|
|
|
|
| |
private user logs rotation without error diagnostics
|