Maxime Henrion
f47320845a
Factor out some duplicated code and fix some style(9) issues.
...
Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
2004-06-14 16:53:20 +00:00
Poul-Henning Kamp
987bbe23e8
Improve spec to spec comparison output.
2004-06-14 07:28:22 +00:00
Poul-Henning Kamp
a0abed18c4
Document -d flag
2004-06-14 07:27:27 +00:00
David E. O'Brien
0d64fcd80b
Language tweak in explaining the mouse wheel's functionality.
2004-06-14 00:22:10 +00:00
David Malone
e961704aa6
Sync up with KAME. The main change is to try to avoid exposing
...
exposing information about the endianness and alighment requirements
in the packets sent by traceroute6.
Obtained from: KAME
2004-06-13 18:38:46 +00:00
Ruslan Ermilov
9cdb6ee164
Assorted markup, grammar, and spelling fixes.
2004-06-13 18:03:44 +00:00
Doug Rabson
21816de34f
Be smarter about printing non-ethernet link-level addresses.
2004-06-13 10:57:10 +00:00
Garance A Drosehn
c8fd7c3227
Switch to using the "neworder" for rotating log files, by default. The
...
main advantage of this is that daemon's are only signalled once per run,
instead of once for each file that is rotated.
MFC after: 2 weeks
2004-06-12 19:53:08 +00:00
David Malone
615f49ba68
Add some more details about what traceroute6 does.
...
Submitted by: Orla McGann <orly@redbrick.dcu.ie>
Obtained from: KAME
MFC after: 2 weeks
2004-06-09 12:45:51 +00:00
Poul-Henning Kamp
203bcaf51e
Update kvm mode to match kernel changes.
2004-06-09 12:20:44 +00:00
Christian S.J. Peron
3d2f5612cd
Add note that rmuser will clean up any IPC mechanisms owned by the user.
...
Approved by: bmilekic (mentor)
2004-06-08 14:52:55 +00:00
Stefan Farfeleder
1a5ff9285a
Avoid assignments to cast expressions.
...
Reviewed by: md5
Approved by: das (mentor)
2004-06-08 13:08:19 +00:00
Stefan Farfeleder
c32a08aebb
- Don't use argv[i] when i is uninitialised.
...
- Cast isdigit's argument to unsigned char.
- Remove the now unused variable i.
Approved by: das (mentor)
2004-06-08 12:11:19 +00:00
Garance A Drosehn
398faf1205
Drop the include for <stdint.h>, it was only needed when this was
...
using __DECONST() for something, and that reference has been removed.
Noticed by: Helge Oldach
MFC after: 13 days
2004-06-07 21:53:27 +00:00
Garance A Drosehn
4559c1817b
Add an "oldorder" option, so that when the default changes to "neworder",
...
people have a way to drop back to the previous logic.
MFC after: 13 days
2004-06-07 21:18:09 +00:00
Garance A Drosehn
aa6904eb66
In "neworder" processing, reduce the delay between signals to separate
...
processes, and balance that by adding a 10-second delay after all the
processes have been signaled. Also improvement a few messages printed
with `-n' or `-v' processing (mostly signal-related messages).
MFC after: 13 days
2004-06-07 21:09:58 +00:00
Garance A Drosehn
7f5b34d7c0
Major re-ordering of the steps that newsyslog will use when processing
...
files to rotate. The new order will first rotate all files that need
to be rotated, and then send a single signal to each process which
needs to be signaled, and finally it will compress all the files which
were rotated.
This means daemons will be signaled once per run of newsyslog, instead
of once per file rotated. Also, files will be compressed in order of
file-size (smallest to largest). Also, it waits for each file to be
completely compressed before starting the next one (effectively as if
the 'w' flag is specified for all entries in newsyslog.conf). This
avoids the situation of having 10 gzip's going at the same time (each
with a log.0 and a log.0.gz file active), and it also means that file
attributes can be reliably set on files after they are compressed.
NOTE: This commit does define NEWORDER (which you could get rid of if
you really don't trust this), but it does not flip the "-D neworder"
switch. So, at the moment none of these changes happen unless you
request them (perhaps by adding '<debug> neworder' in newsyslog.conf).
PR: bin/25070 inspired some parts of this
Submitted by: parts from bin/25070 done by Helge Oldach
MFC after: 14 days
2004-06-07 02:10:10 +00:00
Garance A Drosehn
9d780a43c4
A variety of minor changes. Allow users to set a debugging option via
...
the newsyslog.conf file. Rename one size-related variable, and move
another one from the stack into conf_entry. Add a routine to change
file-attributes (chown, chmod, chflags), instead of having several
places doing the same sequence of system-calls. A few cosmetic/style
changes.
These should not effect any users. Most of these probably look
pointless, but they are the "insignificant parts" of a much larger
update that I'll be committing soon. Doing these as a separate update
should make that update easier to read.
MFC after: 14 days
2004-06-07 01:21:30 +00:00
Mike Makonnen
e7291a6b12
Accept full path names in addition to base names for shells.
...
Make explicit in the documentation that valid shells need to be
supplied only if the -S option is not given.
2004-06-06 17:55:55 +00:00
Ruslan Ermilov
037ac99f39
Tidy up markup.
2004-06-06 17:49:57 +00:00
Olivier Houchard
ed575be468
Tell crunchide to deal with arm elf binaries as well.
...
Rescue can now be built for arm.
2004-06-06 16:01:36 +00:00
Ruslan Ermilov
eba9a3d1e3
Markup nits.
2004-06-05 20:27:10 +00:00
Ruslan Ermilov
cdbc658cf1
Reapply traditionally lost fixes.
2004-06-05 20:22:31 +00:00
Ruslan Ermilov
6992e2a56e
Reapply traditionally lost fixes, fixed some more.
...
This manpage needs an English clenup.
2004-06-05 20:22:15 +00:00
Ruslan Ermilov
e928870556
Markup and grammar nits.
2004-06-05 20:21:58 +00:00
Ruslan Ermilov
2cae6bce15
Removed redundant mdoc(7) macro calls.
2004-06-05 20:21:43 +00:00
Ruslan Ermilov
362cd31336
Markup and punctuation nits.
2004-06-05 20:21:17 +00:00
Ruslan Ermilov
d41aa7462a
Markup nits.
2004-06-05 20:20:34 +00:00
Ruslan Ermilov
8a9a490ba2
Added forgotten -w to the usage().
2004-06-04 19:29:28 +00:00
Ruslan Ermilov
0c436cdf34
Added forgotten -d to the usage().
2004-06-04 19:29:09 +00:00
Ruslan Ermilov
b6f078071f
Added forgotten -w to the SYNOPSIS.
...
Trim whitespace at EOL.
2004-06-04 19:25:47 +00:00
Ruslan Ermilov
b4721d9484
Fixed warnings (missing .Ed call).
...
Fixed grammar (missing punctuation).
Fixed screwup with the SEE ALSO section.
2004-06-04 19:24:57 +00:00
Ruslan Ermilov
645d89e676
Reapply some local fixes that got lost with another NetBSD merge,
...
fix some more.
2004-06-04 19:24:35 +00:00
Ruslan Ermilov
31a06a8e6c
Trim whitespace at EOL.
2004-06-04 19:24:21 +00:00
Ruslan Ermilov
800b8436b0
Nit.
2004-06-04 19:23:39 +00:00
Ruslan Ermilov
b18b186e57
Markup nits.
2004-06-04 19:23:12 +00:00
Ruslan Ermilov
68c4cb5dd7
Spelling nit.
2004-06-04 19:22:20 +00:00
Ruslan Ermilov
9b90f23697
Reapply some lost fixes, fix some more.
2004-06-04 19:22:04 +00:00
Ruslan Ermilov
d07e672294
Fixed a typo.
2004-06-04 19:21:26 +00:00
Ruslan Ermilov
f4e1e42f4b
Expand contraction.
2004-06-04 19:21:06 +00:00
Ruslan Ermilov
444d819f63
Markup nit: make the list of options look better.
2004-06-04 19:20:43 +00:00
Garance A Drosehn
d7dc92dc0f
Style-istic fix to a number of #define's that were not followed by a tab...
...
MFC after: 16 days
2004-06-03 23:44:38 +00:00
Garance A Drosehn
55bf17e958
Add a 'D' flag that can be specified on entries in newsyslog.conf.
...
If specified, the matching log files will have the NODUMP flag set
on them after they are created.
Submitted by: Sean Eric Fagan
MFC after: 16 days
2004-06-03 23:41:49 +00:00
Garance A Drosehn
b2cd42638f
Change standard processing to use the newer createlog() routine
...
that had been written some months ago for other processing. This
should get rid of a few subtle situations where an existing log
file would not exist (for a short time) while it is being rotated.
MFC after: 16 days
2004-06-03 22:26:16 +00:00
Poul-Henning Kamp
846be7bd0e
Give daemon(8) the ability to create a pid-file. Since the target program
...
does not know anything about the pid-file and we don't keep a babysitting
process for the task, the pid-file will linger.
Submitted by: mi
PR: 56398
2004-06-02 06:48:13 +00:00
Garance A Drosehn
efdb85c8f4
Improved versions of the is*ch() and tolowerch() macros that I like to use.
2004-06-02 00:14:28 +00:00
Garance A Drosehn
f1da56014e
When rotating some "blah.log" file, make sure that a chmod and
...
(if requested) a chown is done on the "blah.log.0" file.
PR: bin/67137
Submitted by: jeh
MFC after: 10 days
2004-06-02 00:02:12 +00:00
Christian S.J. Peron
44f79297b3
Sentences should not start with conjunctions. Change "Because"
...
to "Since".
Pointed out by: Ceri
2004-06-01 20:32:44 +00:00
Ruslan Ermilov
cb40c7d188
Fixed manpage's synopsis, and synchronized it with the program's usage().
2004-06-01 09:34:04 +00:00
Max Khon
a5663451aa
Finish repo move arlconfig -> arlcontrol.
2004-06-01 07:38:11 +00:00