-
skered
Is it a bug that daemon(8) can't be killed via TERM if set to restart (-r) but never runs a process? Otherwise INT does kill it but doesn't clean up pid files.
-
skered
er I guess it's not never runs but while it's sleeping to run if -R.
-
skered
daemon -rR 10 -p pid -P parent false Then pkill -F parent.
-
skered
-
VimDiesel
Title: 277959 – Refactor of usr.sbin/daemon caused regression in restart parameter
-
darwin
can I uninstall all lib32/32-bit software?
-
darwin
oh, I guess it's already gone. Almost 9GB seems like a lot without that and without X, when I installed it on a virtual private server (VPS) but I didn't get to go through the installation and they may have chosen everything
-
al1r4d
how to check if lib32/32-bit was installed?
-
al1r4d
darwin
-
darwin
look for /lib32
-
al1r4d
% ls /lib
-
al1r4d
lib/ libexec/
-
al1r4d
hmm, there is no lib32/
-
GoSox
howdy, anyone home?
-
edenist
GoSox, always!
-
GoSox
cool, just seeing how active this channel is
-
GoSox
thinking about moving my production server over to freebsd
-
GoSox
and if i do, i will likely have no end of questions :D
-
edenist
it ebbs and flows based on timezones, but it's usually pretty consistent
-
GoSox
ok so just a quick question or two since its bedtime and i don't want to dig deep right now, but
-
GoSox
does freebsd use cron or launchd or both?
-
tmp_
cron
-
tmp_
i don't think anyone's started on porting launchd?
-
GoSox
i googled it and came up with an article that said it was included.... but the article was anchient
-
tmp_
yeah, and at a quick glance, some have made an effort to port it, but so far that's it
-
GoSox
lol i just read something about "nextbsd" having it, and its a link, so i clicked the link, now a website is trying to install malware on my computer. I guess nextbsd isn't a thing anymore
-
GoSox
oh well, bedtime
-
tmp_
yeah, there's a page on the freebsd wiki that has someinfo
-
wildeboskat
nextbsd?
-
wildeboskat
You mean netbsd?
-
GoSox
nope
-
GoSox
but it appears to be dead
-
wildeboskat
Ahh it was the branch based on darwin
-
wildeboskat
Cool
-
wildeboskat
Never heard of that
-
wildeboskat
But yeah meh
-
wildeboskat
I don't see the point
-
GoSox
nextstep itself was originally a branch of some bsd, wasn't it?
-
wildeboskat
It did have a custom microkernel as osx still does
-
tmp_
not originally
-
wildeboskat
I think it's mostly the userland
-
wildeboskat
That's BSD
-
wildeboskat
Yeah I checked the wiki, it's the mach kernel (that's an unrelated development) + 4.3BSD userland originally
-
tmp_
yes, tahoe for the userland
-
wildeboskat
I never used nextstep back in the day
-
wildeboskat
It was eyewateringly expensive
-
wildeboskat
ANd there was nearly no software for it
-
wildeboskat
It was really targeted at universities
-
tmp_
i've worked in a few places that had some
-
wildeboskat
Oh cool@
-
wildeboskat
At college we had HP-UX and at 2 places I worked too
-
wildeboskat
So I was more familiar with that side of thijngs
-
wildeboskat
I still have some boxes at hokme
-
tmp_
they changed the name to openstep at some point, and that's what it was running under when apple bought it
-
wildeboskat
Sorry for the typos
-
tmp_
no worries
-
tmp_
i'm too drained to capitalize anythign myself
-
wildeboskat
No worries either
-
wildeboskat
I didn't even notice
-
tmp_
one site i worked at adjacent to the dev center had a bunch of openstep systems in the offices, and the developer team had betas of transition from openstep to macosx (rhapsody)
-
wildeboskat
Nice!!
-
wildeboskat
There was this russian site where you could find all this ancient unixy stuff
-
wildeboskat
But it's probably down now with everything that's happened
-
wildeboskat
It was way better than archive.org
-
wildeboskat
For this particular niche
-
tmp_
so the openstep black boxes booted up as 'nextstep 4' and the rhapsody ones as 'nextstep 5'
-
wildeboskat
So they only ever made 5 steps lol
-
GoSox
there was some old version of macos x server that was macos x under the surface but had the classic macos 9 GUI on it. That would have been neat to see
-
wildeboskat
Yes that was rhapsody
-
wildeboskat
-
VimDiesel
Title: Rhapsody (operating system) - Wikipedia
-
tmp_
i haven't checked for quite a while, but osx 10 still mentioned nextstep 5 multiple versions after release
-
tmp_
in the kernel boot messages
-
wildeboskat
The first one I used was Jaguar
-
wildeboskat
On a clamshell iBook
-
wildeboskat
It also looked like an oversized handbag when carried by the handle lol
-
wildeboskat
I miss that kind of design outlandishness
-
mfisher
I was hanging out in a freebsd channel somewhere back when jkh was at apple and he let people ssh into an early osx version for a little bit
-
saper
wow
-
al1r4d
After I upgraded to 14-1, I can "su" without a password. How do I fix this?
-
babz
O.o
-
babz
al1r4d: taht sounds... bad ?
-
al1r4d
yes
-
al1r4d
looks like it was conflicted with "/etc/passwd" and "/etc/master.passwd"
-
al1r4d
root::0:0::0:0:Charlie &:/root:/bin/sh
-
al1r4d
is this normal?
-
al1r4d
i can su without password
-
al1r4d
passwd: could not lock the passwd file: No such file or directory
-
al1r4d
weird
-
al1r4d
i want to change my root password and i got this
-
tby
is there some env setting for how exiting vim is handled, trying to figure out why on my linux boxes after exiting vim I come back to where I was in the terminal while on my freebsd boxes it exists leaving what was in vim above
-
tmp_
vim uses a .vimrc file, and keeps the history in .viminfo
-
tmp_
Your other systems may have a system /etc/vimrc or something.
-
babz
al1r4d: you want to compile vim with the XTERM_SAVE option enabled
-
tmp_
al1r4d: You have /etc/passwd, /etc/master.passwd, /etc/pwd.db and /etc/spwd.db all intact?
-
al1r4d
yes, i have all files you mentioned
-
al1r4d
babz, not me, but tby
-
babz
oops
-
tby
babz: thanks, checked man on that option, exactly what I was looking for instead of messing around with termcap, thanks
-
tmp_
al1r4d: How about a /etc/pw.[six-character-alnum-string] ? If something's editing (or was) password data that might be there as a lockfile.
-
al1r4d
there is only /etc/pw.db, mate tmp_.. :/
-
tmp_
Can you run vipw ?
-
tmp_
The line you posted looks normalish for the vipw or simlar view, other than the empty password field.
-
al1r4d
yes i can run
-
al1r4d
should i post the results in here?
-
ridcully
al1r4d: paranoia-check - what does `id` show as the user, you are running su?
-
al1r4d
# id
-
al1r4d
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
-
tmp_
That you run su from? If you're already root, su runs without a password.
-
ridcully
so you had to enter a password for `su` if you ran `su` as user root?
-
al1r4d
ridcully, nope, i have not
-
al1r4d
tmp_, i know if su runs without a password, but i have not enter a password for `su`
-
tmp_
I'm still a little confused. Which id did you use to run `su`?
-
ridcully
maybe there is something lost in translation
-
ridcully
tmp_: /me 2
-
al1r4d
oh yeah, sorry
-
al1r4d
this is
-
ridcully
al1r4d: uid==0 -> su will not ask for a password. otherwise it will (broad strokes here, there for sure are exceptions)
-
al1r4d
uid=1001(alif) gid=1001(alif) groups=1001(alif),0(wheel)
-
al1r4d
so, i'm on "alif" (regular user), i want to be root, so i need to run "su"..but i did not enter a password to be "root"
-
al1r4d
i hope you understand my english since is not my native language
-
tmp_
No worries.
-
ridcully
and we are talking `su` -- not `sudo`
-
al1r4d
tmp, okay
-
al1r4d
ridcully, yeah, su, not sudo
-
tmp_
Anyway, the line you posted earlier, is that what's in /etc/master.password as is? Or did you redact the pw field?
-
al1r4d
no, i did not change anything on /etc/master.password.. i just posted and share on here
-
tmp_
Hmmm. How about running chpass (as root)? Specifically `chpass root`
-
al1r4d
let me try
-
al1r4d
-
al1r4d
Who is charlie? O_o
-
al1r4d
"Charlie is the traditional owner since 1970 of the root account on the UNIX systems. So it has nothing to do with Gnome. I could give you reason why but you seems ready to hurt somebody because of that."
-
al1r4d
hmm
-
al1r4d
-
VimDiesel
Title: Solved - Who is Charlie? | The FreeBSD Forums
-
tmp_
That's based on when root defaulted to /bin/csh for the shell.
-
tmp_
Something of a phonetic reference to it.
-
al1r4d
Ugh, i dont understand, what do you mean "Something of a phonetic reference to it."?
-
tmp_
Organizations using words for letters over voice communications. May use "Charlie" to refer to "C". In this case "Charlie" -> "C-Shell".
-
tmp_
Anyway, can you set a password with chpass?
-
al1r4d
Oh yeah, i understand
-
al1r4d
Let me try, tmp_
-
al1r4d
hmm
-
al1r4d
now i need to enter password after i ran "su"
-
al1r4d
thank you, tmp_
-
al1r4d
looks like solved
-
tmp_
Yep. Something emptied the password field, so it went with none required.
-
al1r4d
:)
-
al1r4d
nice
-
tmp_
Looks like "Charlie Root" isn't accurate enough here: "Login: root Name: The Root of All Access"
-
tmp_
Where I'm working.
-
al1r4d
By the way, how to change a mirror? I know repo will detect me to nearest mirror.. but i still getting slow speed
-
tmp_
The OS is set /etc/freebsd-update.conf . If you're using binary packages, that's in /etc/pkg/FreeBSD.conf with overrides in /usr/local/etc/pkg/
-
tmp_
Documentation in freebsd-update.conf(5) and pkg.conf(5).
-
ZedHedTed
as long as it doesn't all end in a Charlie Foxtrot :D
-
wildeboskat
What's bad about that?
-
wildeboskat
I used to fly a plane called charlie foxtrot
-
wildeboskat
Ah wait I think I know what it means
-
tmp_
And you lived to tell about it!
-
wildeboskat
Never thought of that lol
-
wildeboskat
Yeah it was a nice little 172
-
tby
what a refreshing "it just works" simplicity, built new vim from ports with the option I wanted and created my own pkg for use on my boxes, expected at least one headache but got none
-
Demosthenex
that tends to be my attitude on freebsd. *sigh* wow it just works
-
signalblue
Hi everyone, I have a question regarding the pkg package manager. If I was in the middle of running pkg update/upgrade, and the SSH connection terminates, my first reaction was to reestablish the connection and run the commands again but now they say that there are no new updates needed, how do I fix this?
-
signalblue
Do I need to reinstall the OS and start over?
-
tmp_
Shouldn't need to go that far.
-
tmp_
`pkg check` will sanity check the installed packages.
-
signalblue
tmp_: should I just run 'pkg check -a'?
-
tmp_
I'd start with `pkg check -sa`
-
tmp_
And pkg check has options to regenerate various details.
-
» scoobybejesus is just noting my prior comment on "ranting" was sincere, and that conversation was super interesting to me :)
-
signalblue
tmp_: it says "pkg: Package database is busy while closing!"
-
tmp_
Hmmm.
-
tmp_
Any sign of the pkg upgrade from the previous session? On the possibility it went for finishing the last task it could before aborting?
-
signalblue
tmp_: I seee the evidence in /var/log/messages
-
signalblue
other than that, no
-
tmp_
Gone from ps, eh?
-
signalblue
tmp_ yes
-
tmp_
How about `pkg info`?
-
tmp_
The list looks okay?
-
signalblue
yes i tried pkg upgrade <some 10 random packages> and they're all up to date
-
signalblue
but tmp_ according to pkg info, i know for a fact most of those packages are not in fact up to date
-
signalblue
distrowatch proves it
-
tmp_
Hmm. As the `pkg check` was pretty early in this, have you checked again after verifying no pkg showed up in ps?
-
isley
you're probably on the quarterly repo and checking against latest.
-
tmp_
isley: Ooh, point.
-
signalblue
isley: I ran "pkg check -Bdr", and have the same issue still.
-
» beowuff attempts to patiently wait for torrent seeds for 14.1 so I can seed them...
-
V_PauAmma_V
I vaguely remember there are no official torrents any longer. Dunno about people downloading it and making a torrent seed of it.
-
beowuff
I usually get them from wiki.freebsd.org/Torrents
-
beowuff
And then seed them until a new release.
-
V_PauAmma_V
*nod*
-
beastwick
Hi, I am trying to sync my clock. I set my timezone to EST, it asks if EDT is okay (daylights savings?), said yes, but the clock still shows 20:00, when it should be 17:00 right now. ntpd is active.
-
mzar
beastwick: you can set timezone with tzsetup(8), prepending "iburst" to servers configured in ntp.conf as upstream will expedite synchronisation, but with ntpdate(8) you can synchronize even faster
-
klamaonos
beastwick: is your hwclock set correctly despite the tz being correct? If not, `ntpdate pool.ntp.org` can synchronize it
-
beastwick
klamaonos that helped
-
beastwick
fixed it
-
klamaonos
nice. And just as I suggested it I noticed my own clock was off lol. I hear that from a security perspective, ntpdate isn't the best choice, despite doing the job well. I wonder what's the more secure alternative?
-
mzar
ntpd with keys
-
klamaonos
ok time to do some reading for me
-
mzar
have a nice reading klamaonos !
-
beowuff
Looks like the alternative is: /etc/init.d/ntp ntptimeset
-
concussious
GoSox: we use vixie cron, but there's other implementations available in ports.