-
hectorgrey
evenin' all
-
hectorgrey
evenin'
-
V_PauAmma_V
Hello. If you have a question about FreeBSD, please ask directly and wait until someone with time and knowledge to answer it looks in.
-
alepzi
we are here to help you
-
sfox
how do I use a serial line printer?
-
sfox
with freebsd
-
sfox
i can send raw ASCII text to it and it will printer... very slowly
-
sfox
but the text is wrapped wrong without anyregards to words fitting. it's just wrapped at a character limit.
-
sfox
does freebsd provide a solution for this?
-
sfox
i've tried setting up cups and while it does kind of work, there's significant phasing effects which make it difficult to read vs just sending ascii to it and it takes 12 hours to print a single page even at the highest vaud rate
-
sfox
hello?
-
lw
is polling(4) deprecated? the list of supported devices only seems to include FE and GE cards, i would have thought it was most useful on 10GE cards
-
markmcb
if i see i have package X installed, is there an easy way to query how X got on installed, e.g., directly installed, required by packages A, B, and C, etc?
-
lw
markmcb: pkg query '%a' pkgname; 1 means auto-installed, 0 means manually installed. beyond that, i don't think so other than just looking at its reverse dependencies (%rn)
-
markmcb
lw: thanks
-
alepzi
anyone playing pokemon on freebsd?
-
markmcb
i'm playing poudriere: gotta build 'em all
-
laidback_01
lol
-
laidback_01
markmcb, great reply!
-
polarian
How do I set gtk4 theme on FreeBSD, all the traditional methods (settings.ini or gsettings) both do not work... the only thing which works is GTK_THEME env variable, but setting this will not help when it comes to launchers such as rofi
-
polarian
settings.ini works for font but not theme...
-
polarian
application I am trying to get working is dino
-
dwho
Hello , during my last upgrade , i have some truble with mate desktop, I haven't hour or the four virtual desktop, how to fix it ?
-
mewt
Hi, experiencing very low read speeds on a ZFS pool for reasons I don't really understand -- where should I start looking for the cuase?
-
mewt
cause*
-
mewt
discs are a mix of WD82PURZ and WD221KFGX
-
mewt
everything is configured as mirror vdevs
-
mewt
I see something abysmal, like 2mbps. encryption is on, i set ashift to 13. beyond this I did not change much
-
mewt
over LAN, about 10mbps write speed -- the 2 is read
-
jbo
lw ping
-
mns
How do I get all the notices and messages that were shown when I did a 'pkg upgrade' ? I just want to see the notices and go over them.
-
mns
never mind, RTFM
-
V_PauAmma_V
pkg info -D
-
mns
thanks V_PauAmma_V, I was looing in the pkg-upgrade man page and didn't find it in there.
-
alepzi
which dir do ppl put postgres data in?
-
alepzi
man hier doesn't really say where to put data files that servers write to
-
mns
alepzi: what postgres data are you talking about? That actual database files that postgres creates?
-
alepzi
ya
-
alepzi
mns
-
concussious
i think /var/ is the elegant place for that
-
alepzi
but man hier implies that's for temporary files no?
-
concussious
no, there's lots of permenant stuff in /var
-
alepzi
why doesn't man hier reflect that?
-
rtprio
you can move it to wherever the fuck you please
-
alepzi
ya obviously but i'm asking what others do and why
-
concussious
i think it does, but i'm open to improving it "log, temporary, transient, and spool files"
-
alepzi
maybe "generated daemon/server data"?
-
rtprio
i put it on its own partition, but leave it i /var/db/postgres
-
concussious
hier: /var/db "autogenerated system specific database files
-
concussious
but mhorne asked me to leave hier alone for a while, I worked on it all winter.
-
alepzi
imo generated is different than autogenerated but ya that's fine
-
alepzi
nice ty!!
-
alepzi
rtprio: you put it in /postgres?
-
rtprio
that's not what i wrote
-
concussious
rtprio: that seems like a very sane place to put it
-
rtprio
hier isn't perfect; some things don't perfectly fit
-
alepzi
ah so /var/db/postgres is a zfs filesystem
-
rtprio
some software authors just reject it all and go for something like /opt or whateverthefuck djb does
-
rtprio
alepzi: or ufs, but yes
-
alepzi
do you make /var/db/postgres its own thing so you can put specific quotas on it?
-
rtprio
so i know exactly how much space is being used. so it won't run /var or / out of space. in case the system ever grows such that it needs its own disks, many reasons
-
alepzi
nice
-
concussious
he has a point. the entry for /var/ in man hier could also include the word database without going over and folding onto another line.
-
concussious
*sigh*
-
concussious
/var/ database, log, temporary, transient, and spool files
-
alepzi
i also put service generated data in there too
-
alepzi
daemons
-
alepzi
but stuff running system wide, through rc. not user applications
-
concussious
i am open to adding the keyword database to the var entry if others
-
concussious
I know weigh in positively.
-
concussious
but, tweaking hier can be pointless and just offend everyone. we don't want to move fast and break things here. we don't like churn. new users read hier and see what they want to see, so many different backgrounds and languages. i mean it has a db subdirectory.
-
concussious
people use freebsd because they want stability and consistency.
-
alepzi
i would just keep in mind there's nowhere else in all of man hier that's explicit that system applications (service/daemon like postgres) can write data there
-
alepzi
and that's a regular purpose of a server
-
alepzi
or even desktop
-
concussious
seems vague. data gets written everywhere?
-
alepzi
but does it?
-
concussious
like applications get written to /usr/local/bin
-
alepzi
ya well that's documented. application DATA isn't
-
concussious
yes absolutely. how the "there" even get there in the first place? it was written
-
alepzi
missing the point but ok
-
concussious
well, application data is absolutely written where it goes, i know because i wrote it myself.
-
concussious
that said, applications are sometimes hardcoded with specific assumptions as rtprio was saying earlier
-
alepzi
"k"
-
concussious
"k" seems maybe we had a misunderstanding, sorry.
-
alepzi
np
-
jmnbtslsQE
many elements like this are just convention. something like man hier is designed to distill those conventions for the user but there are too many conventions and intuitions to all be codified there
-
jmnbtslsQE
if they were all codified there, there would be no need for a user, all configuration would be automatically specified everywhere already.
-
alepzi
ya and i'm just saying i've run into this for years man hier doesn't explain ONE place where daemon application generated data should go
-
jmnbtslsQE
so just go by the conventions you are familiar with such as /var/db
-
jmnbtslsQE
i think it really depends on the user to make a judgement about it
-
jmnbtslsQE
given that it is indeed an application
-
alepzi
what do you do when a daemon pkg doesn't come with an rc.d script?
-
mewt
what kind of speeds shoudl I expect with the zpool I describe there?
-
mewt
machine has 32GB RAM, coffee lake, CPU usage is pretty consistently low
-
jmnbtslsQE
mewt: i guess i would expect close to 100MB/s, but i don't know. are you accessing it over NFS?
-
jmnbtslsQE
100MB/s for read
-
lw
jbo: hi
-
jbo
:o
-
» jbo runs away
-
jbo
lw, I have shell questions
-
alepzi
can a rc.d script set an environment var for the command?
-
jbo
shouldn't you be able to just pass the ENV variable as you invoke the command?
-
lw
jbo: what's the question
-
jbo
lw, how/where does one set environment variables that will be accessible to a GUI application launched through a launcher rather than by "manually" opening a shell and launching it from there?
-
lw
i would put them in either ~/.login.conf or in your .xsession / .xinitrc, or since i use Wayland i just put them in my normal shell profile
-
jbo
lw, so env FOO=BAR in either .login.conf or .xinitrc?
-
lw
in .login.conf it would be "me:setenv=FOO=BAR:", in .xinitrc it would be "FOO=BAR; export FOO"
-
jbo
yeah, I'm still (always) confused by that
-
jbo
I wish I'd understand that more better
-
jbo
isn't this shell specific?
-
lw
sort of, but all shells (sh, ksh, zsh, ...) use this syntax except for csh which has its own
-
alepzi
im trying the quickwit pkg but it doesn't have a rc.d script so i'm trying to hack my own shitty 1 in.
termbin.com/b6c1 when i try sudo service quickwit start it says quickwit does not exist or is not executable
-
alepzi
i have /etc/rc.conf quickwit_enable="YES" fwiw
-
jbo
thansk lw
-
jbo
thanks*
-
V_PauAmma_V
alepzi, what does "ls -l /usr/local/etc/rc.d/quickwit" show?
-
alepzi
-rw-r--r--
-
alepzi
root wheel
-
alepzi
heh
-
alepzi
sorry
-
V_PauAmma_V
That's your problem. As the message says, "or is not executable".
-
alepzi
i checked the bin to be +x hehe
-
alepzi
oops
-
alepzi
there any reason a rc.d script should be +w?
-
alepzi
why would a service fail to start (messages log says root: /etc/rc warning failed to start quickwit) but after i ssh in i can run sudo service quickwit start and it works fine?
-
alepzi
then if i reboot the jail it says the same but root is replaced with alepzi
-
alepzi
so weird
-
alepzi
figured out the username issue. so real issue is just that this service quickwit start works manually, but not on system boot
-
alepzi
but i have other services that do autostart right, like unbound
-
alepzi
my /usr/local/etc/rc.d/quickwit file is
termbin.com/1dvy and /etc/rc.conf has quickwit_enable="YES". sudo service quickwit start works, but on bootup it fails to start with "root: /etc/rc warning failed to start quickwit"
-
mewt
jmnbtslsQE: sshfs
-
mewt
rsync was 11 or so, still not 100
-
alepzi
ok this is weird. looking at the jail's console log in the jail host between restarting the jail. when the jail is started up, it "cant assign requested address os error 49"
-
alepzi
but after jail is started, sudo service quickwit start doesn't cause that error
-
alepzi
same config file and everything is used obviously
-
alepzi
so is there a bug in jail or vnet that when it's starting up it fails to let networking work?
-
alepzi
ffs wifi
-
mns
I've got an ipv4 address of 192.168.70.4, how do I setup a ipv6 address on that same system? I have a Comcast gateway, but my freebsd system has a static address.
-
lw
mns: try 'ifconfig <interface> inet6 accept_rtadv' and see if it auto-configures an address
-
lw
if it does, you can either put that in /etc/rc.conf, or configure a static address in the same network
-
mns
lw: that didn't do anything.
-
RoyalYork
Can anyone recommend an IDE within the ports to program in C and Java?
-
laidback_01
hmm. I like eclipse
-
RoyalYork
thank you
-
mns
RoyalYork: there's also netbeans, intellij, intellij-ultimate. I don't use any of those. I use Emacs. There's also Vim.
-
RoyalYork
Im currently using VI (should look into Vim), but I want something more gui based for now
-
RoyalYork
is VSCode in the packages? Or will i have to compile via ports?
-
RoyalYork
Cant find it int he package repo
-
mns
vscode wont be available in ports. Vim is Vi IMproved.
-
ackthet
is that true? it looks like its been in ports since 2019
-
redruM
RoyalYork: There's GVim
-
RoyalYork
I'll have a look, thanks
-
concussious
-
VimDiesel
Title: FreshPorts -- editors/vscode: Visual Studio Code - Open Source ("Code - OSS")
-
mns
ackthet: you're correct. I was looking in ports/devel/ not in ports/editors/. 'pkg search' doesn't show anything for vscode either.
-
concussious
freshports says we have vscode in ports and not in pkgs.
-
mns
is there a way to automatically have ipv6 configured? In macOS you have configure ipv4 manually and ipv6 automatically (which I presume is like DHCP)
-
alepzi-
my jail's /usr/local/etc/rc.d/quickwit file is
termbin.com/1dvy and /etc/rc.conf has quickwit_enable="YES". sudo service quickwit start works, but on jail startup it fails with "root: /etc/rc warning failed to start quickwit". in the logs it says "cant assign requested address os error 49" but after jail is started, sudo service quickwit start doesn't cause that error. so is there a bug in jail or vnet that when it's starting
-
alepzi-
up it fails to let networking work?
-
petrj
is there any audio to text software available?
-
xFCFFDFFFFEFFFAF
no
-
petrj
xFCFFDFFFFEFFFAF: are you sure?
-
xFCFFDFFFFEFFFAF
no
-
petrj
"no u" then...
-
alepzi-
my jail's /usr/local/etc/rc.d/quickwit file is
termbin.com/1dvy and /etc/rc.conf has quickwit_enable="YES". sudo service quickwit start works, but on jail startup it fails with "root: /etc/rc warning failed to start quickwit". in the logs it says "cant assign requested address os error 49" but after jail is started, sudo service quickwit start doesn't cause that error. so is there a bug in jail or vnet that when it's starting
-
alepzi-
up it fails to let networking work?