-
kerneldove_
is there a man page for the /var/log/messages file?
-
zi
kerneldove_: what are you hoping to find in said man page?
-
kerneldove_
not sure
-
kerneldove_
in /var/log/messages config, "*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err" will that include /var/log/security content? (security.*)
-
zi
kerneldove_: well, without any additional info from you, i can only suggest looking at the syslog(3) manpage
-
kerneldove_
i'm guessing not but wanna confirm
-
zi
and syslog.conf(5)
-
zi
for the above, it would only include security.notice. nothing else from security.*
-
kerneldove_
security.notice and more severe, right?
-
zi
nope
-
zi
*.notice is what would be matched
-
kerneldove_
oh
-
zi
what are you trying to do?
-
zi
gimmie somethin' to work with here
-
zi
:)
-
ivy
zi: wait, really?
-
kerneldove_
was curious if tailing /var/log/messages was enough to stay abreast of security issues reported to the system
-
ivy
"kern.notice" would be kern.notice and anything higher, "*.notice" only matches notice exactly?
-
kerneldove_
since /var/log/messages is kinda the main funnel of all important system logging
-
zi
kerneldove_: might start out by enabling all.log in /etc/syslogd.conf and then figuring out what you like and go from there
-
zi
ivy: nah, i misspoke. =notice would be required to match exact
-
zip
I'm trying to decide if it's worth blowing away my experimentation BSD machine and putting 15-BETA on it as I turn it into a NAS
-
» CrtxReavr has no time for OS betas.
-
zip
it's not too far off normal 14-RELEASE really, just a couple tweaks so it knows how to power off properly and my shell is brightly coloured
-
ivy
zip: what did you fix with poweroff? is that an OS bug we should fix?
-
zip
hang on let me check
-
zip
I have to WOL that sucker and wait for it to boot
-
zip
hw.efi.poweroff=0
-
pertho
hey is there a way to replace jpeg-turbo with mozjpeg without removing and reinstalling 278 packages?
-
zip
according to the comment, this is because it'll reboot instead of powering off
-
black2
ivy: did you see my PM?
-
ivy
black2: yes, but unless this issue is private somehow, it's probably better to ask in the channel. otherwise just ask the question, don't ask to ask :-)
-
ivy
zip: ah okay, i guess that's some hw/fw-specific issue
-
black2
ivy: okay I will deal with it very soon
-
black2
ivy: okay but I strongly recommend doing that in PM as I have told plenty of people about my idea but they don't seem to understand what I am saying.
-
black2
are you sure you want to do it here?
-
ivy
black2: i... have no idea? tbh if no one understands your idea, you might try describing it differently, but if you really want to PM that's fine
-
black2
okay then let's do PM. I hope you understand.
-
remiliascarlet
Just wondering, is it possible to do CUDA programming on FreeBSD natively, or does that require Linuxulator?
-
[tj]
it requires linuxulator
-
remiliascarlet
"Nvidia, fuck you!" ~ Linus Torvalds
-
angry_vincent
is there a syntax checker for the kernel config file? i cannot get around syntax error for a config change. i do not know where is the issue. it has no obvious syntax errors
-
angry_vincent
config: /home/oleh/kernel/CHAKLUNCHIK:416: syntax error
-
angry_vincent
-
angry_vincent
i see no errors on line 416
-
ivy
angry_vincent: which line is 416?
-
angry_vincent
device hwpmc
-
angry_vincent
the last line of config
-
ivy
angry_vincent: you're missing a newline at the end of the file. config(8) should probably produce a better error there
-
angry_vincent
thx. this fixed. though it looks really weird to me why would it ever need a new line
-
ivy
it is standard for all lines in a text file to end with a newline. most editors do this by default, although some do not
-
angry_vincent
well, then emacs does not do it by default
-
ivy
-
angry_vincent
i added this. thx
-
CrtxReavr
May times software will consider a file to be corrupt if it doesn't end with a newline.
-
CrtxReavr
Many times
-
kevans
such is life with lex/yacc
-
angry_vincent
now i know. but, indeed, message could be more helpful instead of syntax error
-
ivy
i put that issue on my todo list, unless anyone else gets around to it first
-
CrtxReavr
OS/2 v2.5 (I think.) has this MS-CardFile alike program. . .
-
Reinhilde
can it be solved
-
angry_vincent
ivy: thx
-
CrtxReavr
It had bugs where it would sometimes neglect that trailing newline, and getermine the file was corrrupt the next time you tried to open it.
-
CrtxReavr
Was a bloody pain.
-
rwp
On the pedantic level a text file is defined as a file of lines terminated by newlines. If a file contains a line NOT terminated by a newline such as at the end of file then it is not a text file but a binary file.
-
rwp
That's why sometimes we see config files with a "# Do not remove this comment." line at the end of the file. Because then if /that/ line is missing a newline it was in a comment and probably ignored without any errors being introduced. Those annoy me though because I know how to ensure that the file is a text file and ends with a newline.
-
rwp
In the original days the editors were ed/vi and those are line editors and impossible to save a file without a newline at the end of every line.
-
rwp
Emacs may be a well known Unix-land offender but Microsoft editors are now used by a lot of people working on MS-Windows and then either remotely editing or copying the file and that's where I mostly run into files not terminated by newlines now.
-
Reinhilde
what.
-
hodapp
that's... one definition of a text file I suppose
-
hodapp
I've never really seen a formal one
-
kevans
posix has a formal definition that, expanded out and reading a little between the lines, is exactly that
-
kevans
it's a series of zero or more lines, nad a line is a sequence of zero or more non-<newline> characters plus a terminating <newline> character
-
rwp
-
rwp
pubs.opengroup.org/onlinepubs/96999…/basedefs/V1_chap03.html#tag_03_206 a line is a sequence of zero or more non-newline characters plus a terminating newline character.
-
CrtxReavr
Not sur I agree with that.
-
CrtxReavr
printf "foo\n\nbar\n"
-
CrtxReavr
Is the "blank" row not a line?
-
ivy
CrtxReavr: the blank line is "zero or more non-newline characters plus a terminating newline character", so this does not conflict with the definition
-
CrtxReavr
Yeah. . . I guess I read the "zero or more" part a bit too fast.
-
black2
ivy: bro I've been waiting... you wanna do it now?
-
ivy
black2: waiting for what? you said you would send a PM then you never did
-
kevans
posix notably has definitions for both a blank line and an empty line
-
Reinhilde
a partial line at the end does not a binary file make, it just an incomplete line makes, practically speaking
-
kevans
yeah, it's just not a valid text file
-
ivy
so i told yasu@ on pkgbase that freebsd-update does what they want, which is true, but i think we're still updating packages that don't need to be updated for some reason
-
ivy
er, wrong channel
-
flatdog
ahaa :)
-
ivy
cperciva: i tested .MAKEFLAGS: -W and it seems to fix this issue:
le-fay.org/tmp/7d/ZkSMsCRwGh
-
ivy
wrong channel again, ffs
-
ketas
where's the right one
-
V_PauAmma_V
It left.
-
ivy
ketas: a secret channel for cool people
-
ketas
like freemasons
-
ivy
freebsdmasons*
-
ketas
yes
-
ketas
freebsdsons
-
Reinhilde
epic5-coded
-
Macer
LOL
-
Macer
do you have decoder rings?
-
hodapp
-
» Macer checks the significance of the US$1 bill