MAKEACTIVE(8)
π MAKEACTIVE π
okay bestie, gather round, because we're talking about makeactive, the section 8 system manager's manual girlie whose whole job is rescuing your Usenet active file when everything's gone sideways β¨
πΈ NAME πΈ
makeactive β the tool that recovers your Usenet active file π«Ά
β¨ SYNOPSIS β¨
makeactive [ -m ] [ -o ]
that's it. two little flags. she's low maintenance, she's iconic π
π¦ DESCRIPTION π¦
so here's the vibe. makeactive goes and invokes find(1) to pull a list of every single directory in the news spool tree, which lives at /var/spool/news. then she starts being picky (as she should π):
- directories named
lost+found? discarded. not today. - directories with a period in the name? also discarded.
- everything else? she scans all of them looking for all-numeric filenames, and figures out the highest and lowest number in each one.
and what comes out the other side? a whole set of active(5) file lines. periodt. β¨
now here's the part you need to know, and I'm gonna say it loud: because there is no way to know if a group is moderated or disabled, the fourth field of all entries will be y. every single one. no exceptions, no guessing, that's just the deal π
also, mid-level directories that aren't actually newsgroups will also get created as newsgroups with no entries. like, there's a comp.sources.unix group, but no comp.sources. yeah. she just makes it. that's her main character energy π
π OPTIONS π
-mβ okay so if you pass the-mflag,makeactivewill try to adjust the highest and lowest article numbers wherever possible. if articles are actually found in a newsgroup, the numbers will reflect what was found. if <em>no</em> articles are found in a newsgroup, the high number from the old file gets kept, and the low number gets set to one more than the high number. and listen β this flag may only be used if the-oflag is also used. that's not optional, bestie, that's the rules.-oβ if the-oflag is used,makeactivewill read an existing active file for the list of group names and just renumber all the groups. she'll preserve the fourth field of the active file if one is present π«Ά this is analogous to thectlinnd(8)renumbercommand, except thatinnd(8)should be throttled or not running. and hmm, important: do not use this flag with output redirected to the standard active file! like, do not. I'm serious. π
β EXIT STATUS β
makeactive exits with a non-zero status if any problems occurred. if she's happy, she's quiet. if she's not, she tells you. slay π
π EXAMPLES π
a typical way to use the program is with the following /bin/sh commands:
ctlinnd throttle "Rebuilding active file"
TEMP=${TMPDIR-/var/spool/news/in.coming/tmp}/act$$
if [ -f /var/lib/news/active ] ; then
if makeactive -o >${TEMP} ; then
mv ${TEMP} /var/lib/news/active
fi
else
if makeactive >${TEMP} ; then
# Edit to restore moderated
# and aliased groups.
...
mv ${TEMP} /var/lib/news/active
fi
fi
ctlinnd reload active "New active file"
ctlinnd go ''
look at her go π throttle, rebuild, reload, go. the whole glow-up routine π
πΈ HISTORY πΈ
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.3, dated 1996/10/29. an absolute legend, no cap π
π SEE ALSO π
active(5), ctlinnd(8), dbz(3), filechan(8), history(5), innd(8), newsfeeds(5), makehistory(8), newsrequeue(8).
and that's the whole page, bestie! go forth and rebuild that active file responsibly π«Άβ¨
kisses, this was MAKEACTIVE(8) from the System Manager's Manual β revision 1.3, dated 1996/10/29, written by Rich $alz for InterNetNews. bye ily π
π¦ where this page comes from
- debian bookworm: inn 1:1.7.2q-47
- debian trixie: inn 1:1.7.2q-52
- ubuntu jammy: inn 1:1.7.2q-46build3
- ubuntu noble: inn 1:1.7.2q-50
- ubuntu questing: inn 1:1.7.2q-52
- ubuntu resolute: inn 1:1.7.2q-52build1
- ubuntu stonking: inn 1:1.7.2q-52build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms