-
elgrande
I already cloned for a previous port, but did it obviously wrong and am trying to correct it now.
-
R2AMO
Hurray, 13.2-RC2 is here!
-
nimaje
how many commits are diverged? but it reads like it is easier to create your commits again manually instead of letting git doing that automatically with rebase
-
debdrup
elgrandel: It depends on the choice of storage and interface; what's the latency distribution according to `zpool iostat -w`
-
meena
elgrande: ⬆️
-
elgrande
-
VimDiesel
Title: dpaste/BLDA (Plain Text)
-
elgrande
nimaje: only .gitignore is left diverging
-
elgrande
-
VimDiesel
Title: dpaste/HSZb (Plain Text)
-
Valeria22
I'm trying to load a perl plugin for Hexchat, however I'm missing the perl plugin for Hexchat and I can't find a package for it. Does anyone know if there is an equivalent of hexchat-perl for FreeBSD?
-
elgrande
Not bad for a laptop huh?
-
Sircle
Hi
-
Sircle
I want to use freebsd as desktop (personal use) and server. I found it tough to do the basic thing of sound, network, login screen etc. I come from linux. Its different. I heard there are premade distors around freebsd like nomad or something. Which one do you guys recommend?
-
rtprio
i recommend freebsd; you don't need any crufty deskdop 'distros'
-
meena
I reckon kde might be one of the better supported desktops
-
debdrup
I'd say it depends on whether you can set up Linux with a desktop environment.
-
debdrup
If you can do that, it's not gonna be as much work to learn FreeBSD. Otherwise, having to learn both to setup a DE as well as FreeBSD might be a lot, depending on the type of person you are.
-
debdrup
And I don't mean install a distro that has a DE pre-configured, I mean starting from a non-GUI shell, installing and configuring everything, and ending up with a working environment.
-
debdrup
It's not impossible, and the documentation (the handbook, specifically) assumes you don't know how to set up a desktop environment on Linux.
-
meena
Valeria22: perl is already on in the default build:
freshports.org/irc/hexchat
-
VimDiesel
Title: FreshPorts -- irc/hexchat: IRC chat program with GTK and Text Frontend
-
debdrup
But all the same, some concepts are going to carry over.
-
Valeria22
I know meena, however when I try to load a perl plugin I get this error: Unknown file type /home/valeria/.config/hexchat/addons/channel_highlight-0.3.pl. Maybe you need to install the Perl or Python plugin?
-
» meena doesn't actually hexchat
-
meena
Valeria22: maybe ask in Hexchat support channel?
-
Sircle
rtprio debdrup I see. I would love to but the time consumption is the only concern
-
meena
might not be very FreeBSD specific
-
Valeria22
I'm considering that, but from what I've seen with Hexchat on some Linux Distros they need a package called hexchat-perl to use perl scripts.
-
Sircle
I also see there are many features it misses? long configs of network, sound, user, no encryption at install time
-
Sircle
etc
-
parvXirc
Sircle, "Encryption at install time" of what, the OS or the user $HOME?
-
Valeria22
Encryption at install time can be done Sircle, though AFAIK it's the whole disk.
-
Sircle
parvXirc the OS (and home if needed)
-
meena
Valeria22: we don't usually do that kind of thing. i don't why
-
Sircle
Valeria22 don't think its an option in fbsd
-
Sircle
install time I mean
-
parvXirc
Sircle, As Valeria22 mentioned that is (whole disk) absolutely offered during install time
-
Sircle
one of my disks are in btrfs, does freebsd supports btrfs?
-
meena
probably because the ports framework doesn't have a good mechanic to produce several packages from the same source
-
parvXirc
Ha, no
-
Sircle
parvXirc ok. maybe I missed
-
debdrup
Valeria22: do you have perl installed?
-
Sircle
parvXirc oh no support for that?
-
Valeria22
Yes I do debdrup
-
Sircle
parvXirc oh no support for that? (btrfs)
-
parvXirc
Sircle, yes
-
Sircle
oh..
-
parvXirc
There might be something in Ports (I do not know
-
debdrup
Valeria22: does ldd report that hexchat is linked against perls libraries?
-
Sircle
ok
-
debdrup
Wait, w ould it be? Since perl is interpreted.
-
debdrup
Nevermind, that might be a dumb question.
-
debdrup
Sorry, I'm used to irssi where perl support works.
-
debdrup
I assume the invocation for building hexchat from scratch is similar to what's in the Makefile?
cgit.freebsd.org/ports/tree/irc/hexchat/Makefile#n66
-
VimDiesel
Title: Makefile « hexchat « irc - ports - FreeBSD ports tree
-
Valeria22
Give me a moment, I'm trying to figure out how to use ldd.
-
debdrup
ldd `which hexchat`
-
debdrup
pkg-status.freebsd.org/beefy18/data…4b31d37ad/logs/hexchat-2.16.1_3.log here's the buildlog for hexchat (though it's for the latest packages for 13.1 on amd64, that shouldn't matter) and it confirms perl is enabled
-
debdrup
interestingly, it says that "Perl legacy API" is false though
-
debdrup
maybe that's why?
-
Valeria22
Maybe? The plugin was last updated in 2010.
-
debdrup
domlaut[m]: that's right, I forgot to mention this when we were talking about package builds the other day; the poudriere instances themselves are accessible via ipv4; just put the instance name into pkg-status.freebsd.org/instancename/
-
debdrup
Valeria22: You'll have to ask in #hexchat whether the output from that log where it says "Perl Legacy API: false" is what it should be
-
debdrup
also, that's for 14-CURRENT, not FreeBSD 13.1-RELEASE.. but again, it shouldn't matter
-
Valeria22
Got it, thanks for your time debdrup.
-
debdrup
No worries.
-
domlaut
debdrup: cool! thanks
-
domlaut
still waiting for a committer to merge my patch so not much to look at until then :-)
-
debdrup
domlaut: did you email the maintainer?
-
domlaut
yeah. I email to double check whether it'd be okay if I asked for maintainer-approval (since I missed to do that, and he already gave maintainer-feedback+) and if I needed to bump PORTREVISION
-
domlaut
so I submitted a new patch that also bumps PORTREVISION, asked and got maintainer-approval+
-
domlaut
oh I also asked whether he's in contact with any committers around the port or not, he said they'll handle it when they see maintainer-approval+
-
debdrup
alrighty then
-
domlaut
I <3 syslogd
-
icarious
Hi. I am a linux user and I am serious considering moving to freebsd. I have a question. How is it to run the linux emulation layer to run few packages from linux that don't run on freebsd like the brave browser and to watch netflix or the tor browser bundle in freebsd?
-
nimaje
for tor browser there is
freshports.org/www/tor-browser not sure how well that drm stuff likes running under linuxemu, but I think it should work
-
VimDiesel
Title: FreshPorts -- www/tor-browser: Tor Browser for FreeBSD
-
icarious
I don't need the tor browser to run DRM. As long it just works. As for DRM I would prefer brave, as that's my preferred clearnet browser
-
icarious
What is freshports btw?
-
dvl
The best ever website anyone has ever seen.
-
Valeria22
Information and build statuses on packages.
-
icarious
Ah ok. I thought it was an information about existing ports in freebsd.. or a Archlinux AUR or Gentoo GURU / Overlay situation where freebsd has a "third party community ports" thingy
-
nimaje
does tor browser even support that drm stuff? that comment was about brave, as using native tor browser wouldn't have drm support as that needs some properitery binary that isn't build for freebsd
-
icarious
I know this is controversial question but related to the above. Is it possible to run flatpak in FreeBSD with the linux compatbility layer? Does it work? That could solve the hurdles I have for few specific packages
-
debdrup
flatpak is a linuxism
-
icarious
debdrup, and does the linuxism work with the linux emulation is my question?
-
Valeria22
I got packages and ports swapped, my bad. But the site does have an FAQ icarious:
freshports.org/faq.php
-
VimDiesel
Title: FreshPorts -- FAQ (Frequently Asked Questions)
-
icarious
Thanks Valeria22
-
icarious
and lol @ VimDisel
-
debdrup
icarious: if you can ask that, it means you've more to learn about the Linuxulator ;) You'll quickly learn that Linuxulator is a syscall translation layer that simply translates a subsection of all syscalls in Linux into their equivalents in FreeBSD.
-
icarious
:S .. Ok I will rtfm, But thanks for pointing me towards urmm Linuxulator
-
debdrup
It's somewhat ad-hoc what gets added to Linuxulator, because what ultimately controls it is what's needed to make Linux binaries run - but that doesn't mean that support for flatpak is likely to exist or be added, I think.
-
debdrup
Flatpak is, more or less, a way of getting around the issues of dynamic libraries and such - and FreeBSD has a completely different solution to that.
-
debdrup
In FreeBSD, packages are _ALWAYS_ built in a way that ensures that dependencies of a leaf are rebuilt if the leaf is bumped, so things like dynamic library incompatibilities aren't really an issue (there may be exceptions, of course - there usually is)
-
spork_css
Flatpak is reminding me of PC-BSD.
-
dkeav
pretty much
-
debdrup
I never used that, so I have no idea what that means. :P
-
dkeav
they did something similar to flatpak called a PBI
-
dkeav
prior to pkg-ng
-
spork_css
That was iXSystems' desktop distro
-
dkeav
after pkg-ng it didn't really make much sense anymore
-
spork_css
Anyone have ideas on what might make "nice" not work in a jail?
-
spork_css
Mar 13 16:20:05 php8 /usr/sbin/cron[94422]: (root) CMD (/usr/bin/nice -n 5 /usr/local/bin/php -q /usr/local/www/froxlor/bin/froxlor-cli froxlor:cron 'letsencrypt' -q 1> /dev/null)
-
spork_css
Mar 13 16:20:05 php8 cron[94422]: setpriority 'root' (daemon): Permission denied
-
spork_css
Googling just brings me to a bug I commented on back when 9.x was current.
-
icarious
And what about the argument that Flatpak does solve "albeit a decade old" problem of isolation that Android has much better over some of the Linuxes and BSD's. What is I want to run a specific package all isolated in userspace instead of being all root
-
spork_css
noting that the "setpriority" error only happens when run from cron...
-
debdrup
icarious: jails are a much older solution to that problem than even Android has (and is, in fact, the first such solution)
-
icarious
debdrup, I am curious. Can I run apps in jails as regular user? Does it isolate from even the user's home dir
-
icarious
?
-
icarious
If it does it, then idc about flatpaks.
-
debdrup
icarious: a jail is way of confining the root user (and all other users)
-
icarious
Ok i need to test it. But thanks
-
icarious
I always found flatpaks just a tad bit better (although a decades older to what Android does) in terms of app isolation....
-
icarious
Seems like FreeBSD might be my opsec go to now
-
debdrup
FreeBSD jails are about as old as Google is.
-
icarious
The MAC feature of FreeBSD. Is it workable like SELinux is in redhad based systems with their targeted policies?
-
debdrup
There was a fork of FreeBSD called SEBSD, which implemented SELinux notions using the MAC framework - but it never really caught on, so "all" you have is the regular MAC framework (which is still incredibly powerful).
-
icarious
Ah ok
-
icarious
The SEBSD thing reminds me. Why is it that BSD "distros" don't survice under BSD projects as they do with Linux? For instance recently TrueOS died too
-
debdrup
Time and/or money.
-
icarious
Hmm. Its sad. BSD projects specially FreeBSD can do with a few custom distros
-
debdrup
See, I think that's a mistake.
-
dkeav
same
-
dkeav
fragmentation for no gain/purpose
-
dkeav
they're not improving the base OS, they're just changing some userland, so why not just stick with FreeBSD and do your userland customizations after install like everyone else
-
debdrup
Think of all the work that's been put into making projects based on FreeBSD; all of that work could've been put into making FreeBSD better, but either someone wanted to be the BDFL of their own project or they didn't succeed in finding the right people to mentor them into FreeBSD.
-
icarious
Actually the linux ecosystem is definitely fragmented. Too many distros doing nothing. But For instance a project like FreeBSD can have a let's say workstation / desktop or security focused distro ecosystem
-
icarious
If not too much
-
icarious
dkeav, another way to avoid the fragmentation would be if freebsd allowed official customisations / spins then.
-
dkeav
which would ammount to basically a meta-pkg
-
dkeav
don't even need a "spin"
-
debdrup
There's some exceptions to this, of course - iX has been fairly good about upstreaming what could be upstreamed, but they still started out with the notion that what they were making should be something produced by them. What they could've done would be to build everything into the ports system and used the same tools as used by the release engineering team to produce FreeBSD RELEASEs.
-
debdrup
icarious: the license two clauses: Don't claim you wrote code you didn't write, and if it breaks you get to keep all the pieces.
-
debdrup
the word 'has' got lost between my fingers and keyboard, apparently
-
debdrup
icarious: everyone can make a fork of FreeBSD and customize it to their heart (in fact, many have, that's why we have all these things that're now defunct)
-
icarious
ya I guess. there is no incentive. The system, is perfect in its default form. just rtfm and build you own system. I get it
-
icarious
*your
-
debdrup
Nah, there's always room for improvement.
-
debdrup
Thing is, FreeBSD as an OS is a different kind of an OS than other OS'.
-
nimaje
with spins you mean changed ports options? set up some build cluster and provide your pkg repo with your changed options to everyone if you want
-
dkeav
but improve the project instead of trying to re-invent the wheel entirely
-
debdrup
Oh, I guess there's also one other thing you can't do: You can't call your project FreeBSD.
-
icarious
Actually the spotlight is always on FreeBSD as a BSD project cause its the most multipurpose universal one. The flagship of the BSDs that anyone can use
-
debdrup
The foundation would, quite literally, be forced to stop you - because they hold the trademark.
-
icarious
Well, that's not necessarily a bad thing. But I guess a Fedora like approach for "Spins" Might be a more modern approach to prevent fragmentations.
-
icarious
Honestly, I am not ranting. I do still think the project is near perfect as it exists. To the point that it just keeps on reminding Linux what it should have been. But a bit of modernity and flexibility isn't that bad
-
debdrup
That reminds me of the thing i never finished
-
debdrup
..writing about
-
debdrup
FreeBSD as an OS is more of a relatively small toolbox, with an extensive set of tools available down the line in the form of the ports/packages.
-
debdrup
By itself, it's only got the compiler used to build it, a few editors, and a fairly decent set of device drivers for the most essential peripheral devices.
-
debdrup
That's what an OS used to be, a very long time ago.
-
icarious
Onething I do want FreeBSD to succeeed beside linux would be device / driver support. But its not the project's fault. We need those bloody corporate that Linux enjoys to lend some hand
-
debdrup
That has strengths and weaknesses, of course - but so does the other end of the scale.
-
icarious
Linux's too big to fail isn't a good thing
-
debdrup
icarious: thing is, Linux peripheral device support doesn't come from Linux being technically superior, it comes from companies using Linux as part of a product.
-
debdrup
And it doesn't guarentee high-quality code. Have you looked at the code Realtek is shoving into the kernel? It reads like something that's machine generated from internal documentation.
-
icarious
debdrup, I know man. Its not a strength of linux. that's why i said i don't blame freebsd as a project. those companies should lend a hand now
-
debdrup
If they did, which they won't, their code still has to conform to FreeBSDs style(9).
-
icarious
Oh god. Linux's (as in the kernel and gnu c library) code quality is horrible. trust me i know. one of the reasons I am looking to move
-
icarious
the attack surface just keeps on increasing
-
debdrup
The code would also have to be copyfree-licensed.
-
icarious
liks a simple program like "ls" in gnu coreutils has 5000 lines of code whereas in freebsd its just 1000 if i am correct
-
debdrup
I'm not convinced that lines of code is a good argument, because it's a very essentialist approach that quickly becomes reductionist to the point that a developer says "you don't need X" where X can be anything from features in a program to small things like being able to supply the program with a config file, so that you're instead forced to recompile the program if you want it to function differently.
-
debdrup
There's a careful balance between lines of code vs functionality gained from that number of lines of code, and going too strongly in either direction doesn't seem to me to be a good solution.
-
icarious
debdrup, what about in an archaic memory unsafe language like C? I am not refuting you. But still. You don't agree it's still a thing to write clean code?
-
debdrup
icarious: the advantages of replacments to C aren't as big as one might like; if you want revolutionary ideas, you'll have to start by using a CPU that doesn't behave like a PDP-11 from the 1970s.
-
debdrup
CheriBSD, as far as I understand it, address all the biggest issues of C - and it's done in real hardware like the ARM Morello.
-
» rtyler is confused by the topic
-
icarious
well. that's not a bad argument. I mean I don't completely disagree
-
debdrup
rtyler: I think thre's a bit of drift going on.
-
debdrup
icarious: "Clean" code is a suspect term, I think; people (at least FreeBSD committers) don't introduce errors intentionally, knowingly. They do so because of mistakes, and for that there's the usual solutions of code review, static analysis, compiler warnings (unlike a lot of opensource projects, FreeBSD uses WARNS=6 to make builds quite noisy when something is potentially bad), fuzzing, sanitizers, and
-
debdrup
things of that nature.
-
icarious
debdrup, i didn't know about the WARNS=6. So would you say FreeBSD followes better practices than the GNU project in general and as a system is better posed towards security?
-
icarious
*follows
-
debdrup
icarious: I can't comment on that because I know almost nothing about GNU as I used Linux for all of 1 week in the year 2000 before switching to FreeBSD.
-
icarious
Ah ok
-
debdrup
I'm also not a programmer, I'm a documentation person. :P
-
icarious
You are like the polar opposite of me. I am like a primarily linux user. 2003 - Present
-
icarious
lol
-
icarious
A linux user looking to move to freebsd cause i am fed up with systemd and linux's general direction
-
debdrup
What I will say that it's fairly well-established that ignoring warnings from compilers hasn't been known to produce secure code.
-
debdrup
cgit.freebsd.org/src/tree/share/mk/bsd.sys.mk#n31 this is the source for the WARNS thing in case you're curious
-
VimDiesel
Title: bsd.sys.mk « mk « share - src - FreeBSD source tree
-
debdrup
I think CheriBSD builds with even stricter warnings, and upstreams just about everything that isn't part of CHERI project.
-
icarious
CheriBSD? Goodness gracious there's like more FreeBSD based distros than I knew. Where are these even documented?
-
debdrup
CheriBSD is a project run by Cambridge university in the UK.
-
debdrup
It's not really a distro in the same way the others are.
-
icarious
I mean PC-BSD / GhostBSD and DragonFly are the majors ones I know of
-
icarious
And as for OpenBSD / NetBSD I don't even know if distros even exist
-
debdrup
DragonFlyBSD isn't a distro, it's a real fork.
-
debdrup
NetBSD is a fork from the same base FreeBSD came from (though the other end of it, but that's a long story), and OpenBSD is a a fork of NetBSD.
-
icarious
debdrup, the term "distro" needs a closer analysis. I do get it that the BSD world hates the world "distro" . But the "D" of BSD still acknowledges it
-
icarious
*word
-
debdrup
NetBSD, OpenBSD, DragonFlyBSD and FreeBSD are _completely_ separate OS' where code occationally flows between them.
-
icarious
I always took Dragonfly as a FreeBSD distro
-
debdrup
They're not distros, in the sense that Linux distros all use (roughly) the same Linux kernel and different libraries+userland.
-
icarious
May be I am wrong
-
debdrup
It's not.
-
debdrup
I'm pretty sure the DragonFlyBSD people would feel rather insulted by that.
-
debdrup
If you know your Linux history, it's equivalent to saying Linux is a fork of MINIX.
-
debdrup
Well, I think so, I don't really know Linux, nor MINIX. :P
-
icarious
Well. Doesn't matter what they feel. If I am not wrong they forked from FreeBSD 4.8. And the BSD guys should learn to accept what is a "project" and what is a fork / distro. The "D" itself in BSD still legitimizes the word "Distribution"
-
icarious
Unless they have started to deny their "BSD" origins
-
icarious
They can then deny the "D"
-
debdrup
We're gonna have to agree to disagree here, and I'm hate to say so, but I'm pretty sure a majority of people who use one of the BSDs agree with me. :P
-
zwr
Illumos is a BSD too
-
debdrup
...
-
icarious
debdrup, What is the "D" in a BSD?
-
rtyler
trolly trolly
-
rtyler
when BSD was coined the concept of a distribution was the distributing of source
-
nimaje
the "Distribution" in BSD has no "of", it just means some software together
-
debdrup
icarious: if you want a semantics discussion, take it elsewhere.
-
icarious
I mean is it correct to call FreeBSD as the "Free Berkeley Software Distribution" without offending anyone?
-
icarious
debdrup, are you consciously asking me to not exercise my freedom of speech and opion of facts and just take it elsewhere?
-
debdrup
icarious: are you familiar with the linguistic concept of a word having multiple meanings depending on context? And for the record, you don't have freedom of speech on IRC.
-
» rtyler laughs
-
debdrup
If you continue trolling, I'm going to be forced to either mute or kick you.
-
icarious
debdrup, I asked you a simple question which you never answered and kept on insuinating that I am trolling you. I asked you what the "D" stood form in FreeBSD
-
icarious
debdrup, you can kick me
-
icarious
but do it under the pretext and reasoning that you did it while diagreeing with me
-
icarious
and you are a supporter of censorship
-
debdrup
icarious: context-sensitive meaning is the answer.
-
icarious
and you hate healthy debates
-
icarious
That sounds like Soviet Communism to me. "I will vaporise you cause you don't agree with the party line"
-
icarious
You just gave the project a bad name
-
debdrup
Hahahaha
-
debdrup
Oh it's been a while since we've had a troll like that, that was almost fun.
-
debdrup
Shame they gave up so quick.
-
debdrup
Screed-to-quit ratio too high.
-
phryk
currently trying to figure out journaling. can i use gjournal on a ufs gmirror? my particular fs onion would look something like ufs(gmirror(geli))
-
rtyler
debdrup: so you're +o in here?
-
debdrup
rtyler: I'm a FreeBSD committer.
-
debdrup
phryk: ufs does softupdates+journaling by default, as of many years ago.
-
phryk
debdrup: so no manual mucking about with gjournal? just do newfs and I'm good?
-
debdrup
I mean it's been the default in bsdinstall; if you're using newfs, you'll wanna use the appropriate flags for it.
-
debdrup
cgit.freebsd.org/src/commit/?id=4a8b3e41f5d it's been the default since the start of 2018
-
VimDiesel
Title: src - FreeBSD source tree
-
phryk
debdrup: so newfs -jU, anything else I have to watch out for?
-
debdrup
I haven't used UFS since 2007, so I'm not the right person to ask for that.
-
phryk
alrighty. i assume if i do something wrong, I'll probably be able to rectify it with tunefs afterwards… so it hopefully won't be too bad. :P
-
kevans
spork_css: too much noise in the backlog to see if you had been given an answer, but setpriority(2) in a jail only lets the nice value go up it looks like
-
debdrup
kevans: is that documented somewhere?
-
kevans
spork_css: it ends up here:
cgit.freebsd.org/src/tree/sys/kern/kern_resource.c#n268 and there's no jail policy set for PRIV_SCHED_SETPRIORITY (it would be in kern_jail.c)
-
VimDiesel
Title: kern_resource.c « kern « sys - src - FreeBSD source tree
-
kevans
no idea
-
kevans
well, I guess it kind of is in the manpage
-
kevans
"Only the super-user may lower priorities."
-
debdrup
Which manual page?
-
kevans
setpriority(2)
-
debdrup
So I'm still gonna feel justified in adding an item to my TODO list to add it to jail(8).
-
kevans
I would maybe add some wording to nice(1) as well, I note that renice(8) already talks about it a little bit, too
-
kevans
(last paragraph of the description talking about only being able to monotically increase their nice value)
-
meena
kevans: for a (whole) process
-
kevans
?
-
meena
kevans: that's what the comment above says
-
kevans
ahh, yeah, sorry
-
meena
* Set "nice" for a (whole) process.
-
meena
how do you set nice for less than that? i would've thought that's like the bare minimum
-
meena
that reminds me: is it possible to create login classes ad-hoc, on the fly, or do they need backing from login.conf?
-
meena
cuz i'm fairly certain you can just setuid(rand()) and get away with it not having backing in passwd
-
kevans
yeah looks like you can just kinda set one and it'll get created
-
kevans
see
cgit.freebsd.org/src/tree/sys/kern/kern_loginclass.c#n207, loginclass_find will allocate a new loginclass if it's not already in the list
-
VimDiesel
Title: kern_loginclass.c « kern « sys - src - FreeBSD source tree
-
kevans
nice is a whole process concept but you can set priority more granular than that
-
kevans
with, e.g., rtprio_thread(2)
-
elgrande
uint16_t pad_len = min_pkt_len - m_head->m_pkthdr.len;
-
elgrande
if (!m_append(m_head, pad_len, pad))
-
meena
kevans: ah, right. threads… duh
-
phryk
okay, so i partitioned the drives, did geli init for everything that's supposed to be encrypted, and added gmirrors… however when i run newfs on any of those mirrors i get "newfs: Can't stat mirror/fastread: No such file or directory" after the long list of "super block backups"… should i worry? can i ignore this?
-
phryk
ah, might be a bug. only triggered when using paths relative to /dev (i.e. mirror/<name>) – when i use /dev/mirror/<name> this doesn't happen…
-
Valeria22
I think I figured out the issue to my problem with Hexchat thanks to some help from their IRC channel. In /usr/local/lib/hexchat/plugins there are three .so files that run at startup, one for DDC's checksum, one for perl scripting, and the last for python scripting. The checksum plugin works as expected however when trying to start the perl and python scripting plugins the following errors are reported: "PL_thr_key" for perl.so and
-
Valeria22
"PyCapsule_Type" for python.so
-
Valeria22
Undefined symbol (error message) <- Forgot that, sorry.
-
meena
Valeria22: that sounds like there's no threading enabled in your version of perl?
-
meena
Valeria22: the python issue sounds like a version mismatch
-
meena
so, like, maybe the plugin is expecting 2.7, but it's getting 3.9, or vice versa
-
Valeria22
I'm trying to use pkg query to check what versions of perl and python I'm currently using.
-
Valeria22
I used pkg version instead. perl is using 5.32.1_3 and python is using 3.9.16
-
meena
Valeria22: where did you get that plugin from and did you compile it? did it come like that?
-
Valeria22
I believe that the plugin comes with Hexchat? I used pkg install Hexchat last night around 8:30-10:00 PM last night.
-
Valeria22
PM PDT*
-
meena
pkg info -l hexchat should show you
-
Valeria22
Yes, Hexchat comes with those .so files for perl and python by default.
-
Valeria22
My version of Hexchat is currently 2.16.1_2, but I see the latest is 2.16.1_3
-
meena
I feel like I'm really close to knowing what the answer is here, but also too tired to try any harder
-
DrKK`
I screwed something up
-
DrKK`
I accidentally unpacked base.txz in a directory
-
DrKK`
and now certain files won't delete, like certain libraries, and init,
-
DrKK`
because of some kind of Operation not Permitted
-
DrKK`
rm -rf won't delete them
-
DrKK`
what do I do please?
-
debdrup
DrKK`: chflags(1)
-
DrKK`
ok
-
DrKK`
thanks
-
debdrup
you're looking to remove the schg flag
-
DrKK`
I assume I can do this recursively
-
DrKK`
yes
-
DrKK`
looks like -R
-
DrKK`
thanks
-
DrKK`
ah yes that was very easy
-
DrKK`
chflags -R 0 [dirname]
-
DrKK`
done
-
DrKK`
thanks again
-
spork_css
kevans: I am trying to make something "more nice" yet it fails, and oddly only when called from cron.
-
spork_css
Mar 13 19:35:12 php8 /usr/sbin/cron[9511]: (root) CMD (/usr/bin/nice -n 5 /usr/local/bin/php -q /usr/local/www/froxlor/bin/froxlor-cli froxlor:cron 'tasks' -q 1> /dev/null)
-
spork_css
Mar 13 19:35:12 php8 cron[4710]: setpriority 'root' (daemon): Permission denied
-
spork_css
(also someone should maybe look at nuking that froxlor port, it's nowhere near functional - would need a LOT of work to be install and go)
-
spork_css
run directly:
-
spork_css
[root@php8 ~]# /usr/bin/nice -n 5 /usr/local/bin/php -q /usr/local/www/froxlor/bin/froxlor-cli froxlor:cron 'tasks'
-
spork_css
Checking froxlor file permissions...OK
-
spork_css
Running "tasks" job
-
spork_css
[root@php8 ~]#
-
spork_css
I keep googling and ending up in a bug report where I have a comment:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=124248
-
VimDiesel
Title: 124248 – [jail] [patch] add support for nice value for rc.d/jail + rc.conf
-
kevans
spork_css: to be clear, what's the nice of the cron process?
-
kevans
hmm, shouldn't matter