-
duskmoss
is there active work to improve the linux jail compatibility?
-
ek
duskmoss: What do you mean by "linux jail"?
-
ek
As in, linux compat inside a jail?
-
duskmoss
yes, as the handbook uses the term
-
duskmoss
I guess to expand, linux compat inside a jail that then runs a linux distro userland
-
ek
duskmoss: What isn't working for you? Last I checked, a "Linuxulator" jail stuff worked fine?
-
ek
Granted, I don't use anything like that very often (I only tested it.) But it did work for what I needed/tested.
-
ek
I'm not crazy familiar with Linux emulation on FBSD.
-
kevans
there's not really much in the way of active work happening on the linuxolator as far as i'm aware, mostly maintenance stuff and kinda low-hanging fruit for things we were adding to freebsd anyways (e.g., native inotify)
-
kerneldove
if i want to create a new user and provide its home dir myself (so it already has the dirs and files how the user wants them rather than the default skeletons) i just pass -d to pw instead of -m or -M right?
-
kerneldove
i want to do it that way so i don't have to create with defaults using -m/-M, then copy user's dirs and files in, THEN delete the dirs we don't use like .cshrc
-
crb__
What is the status of Intel graphics card on FreeBSD
-
duskmoss
kevans: thanks, thats exactly what I was wondering about
-
ek
kerneldove: If you're using "pw useradd", as long as you exclude "-m", it shouldn't add any skel files.
-
ek
Maybe "-dM" at the most. Might not even need that.
-
duskmoss
i was surprised to see the status report mention a project for the reverse, when I know people used to be realy hyped about the potential of just running containers from docker hub on fbsd. so just wondering
-
kevans
duskmoss: the bsd-user 4 linux project?
-
rwp
A few test runs with different pw options would completely answer the question of what it does with different options. It's the only way to be sure.
-
kerneldove
ya i was also curious how others do it tho. like add user with -m/-M to get skeleton files, then copy in user files and make other changes, or add user with -d and provide whole home dir that no skeleton files/dirs are added to
-
rwp
I normally use "adduser" which is a wrapper script around all of the things that it does.
-
ek
Same. I use both adduser and pw to create users, but I always (aside from special cases) create the homedir along with the skel files.
-
kerneldove
why?
-
kevans
duckworld: oh, you'll note that it calls out Github Actions in that work. that's actually a pretty big deal and an excellent reason to want this
-
kevans
er
-
kevans
duskmoss: ^
-
ek
kerneldove: Because most users will benefit from the skel files. If the user being created doesn't require a login shell or anything, I'll skip it.
-
kerneldove
well i use login shells but i have my own paired down generic user home
-
ek
kerneldove: Okay. That's fine.
-
ek
kerneldove: Are you saying you want to use different skel files or none at all when you create a user?
-
ek
s/user/user's homedir/
-
kerneldove
just wanna use my own standard home dir. i guess some of that could be considered my own skeleton (common) files
-
ek
kerneldove: Have you looed at the -k arg?
-
ek
looked*
-
kerneldove
hm ya that's interesting
-
kerneldove
-k says it's useful with -m and -d. i get how it's used with -m but how's it useful with -d? -d points home at an existing dir, so how would -k skeleton files come into play?
-
duskmoss
oh kevans I wasn't trying to denigrate the project at all, It just surprised me!
-
kerneldove
looks like by default user home dirs are created with 755. any prob making it 750 so ppl who don't share group can't snoop on file and dir names?
-
dango
kerneldove: `/etc/pw.conf` (`man 5 pw.conf`) might be useful too.
-
dango
I might as well mention that the `mount += "..."` setting for jails is useful even for thick jails, if you like to have a readonly directory with shared files that you just symlink to.
-
dango
s/symlink/symlink or refer to/
-
kerneldove
what's point of pw.conf man page dango?
-
divlamir
To set your defaults, if you find yourself often customizing new users after creation.. I guess
-
kerneldove
ya but what do you guys think about making user home dir 750?
-
nimaje
but the question was if it would make problems, which I guess it does not, at least I don't know of anything that would need 755 home dirs, except maybe if you want to configure a webserver to serve a ~/public_html directory for each user on the system, but probably I would give each user a directory under some web root instead, so that the webserver wouldn't need to look into /usr/home/
-
divlamir
'pkg version -vRL=' gives 'drm-61-kmod-6.1.128.1403000_5 > succeeds remote (remote has 6.1.128.1402000_5)'
-
divlamir
But 'pkg search drm-61-kmod' gives 'drm-61-kmod-6.1.128.1403000_5'
-
divlamir
So, is pkg version not usin the kmods repo?
-
divlamir
I set 'priority: 10' on the FreeBSD-kmods repo, that seems to work. Should tidy up the weekly mail.
-
cracauer
f1c4c3daccbaf3820f0e2224de53df12fc952fcc introduced a filename with a space to head.
-
kerneldove
wtf
-
cracauer
My life is ruined.
-
kerneldove
well why include a space it's never necessary
-
cracauer
It is from an import. tests in MIT kerberos.
-
nimaje
well, I would say, that software shouldn't have problems with spaces in filenames, but I know that make has them anyway and many sh dialects make proper handling of spaces in filenames annoying
-
kerneldove
can't the test's filename be changed to strip the whitespace?
-
cracauer
Looks like the offending file is only pulled in via shell glob anyway. That would make it trivial.