BUILDING(8) adding and using extsrc

2019-01-15 Thread Jay Patel
Hello All,

How to properly add MATE desktop srcs/pkgs in extsrc/ when building
install-image using build.sh? so that when one installs NetBSD will have
MATE desktop pre configured and installed.

or directly add or change sets under
"/usr/src/obj/releasedir/$arch/binary/sets?

Regards,
-- 
Jay Patel
*https://unitedbsd.com/ *


*usually found @ https://riot.im/app/#/room/#bsd:matrix.org
*


Re: ZFS development questions

2019-01-15 Thread Martin Husemann
On Wed, Jan 16, 2019 at 01:07:59PM +0530, Jay Patel wrote:
> better option is HammerFS from DragonflyBSD but may be in future i guess

Is that usable nowadays? I had very bad experiences in its early time when
I once installed a test DragonFly system to check some firefox issue.

Any performance numbers or comparisons?

Martin


Re: ZFS development questions

2019-01-15 Thread Jay Patel
better option is HammerFS from DragonflyBSD but may be in future i guess



On Tue, Jan 15, 2019 at 3:43 PM  wrote:

> Hi,
>
> since FreeBSD recently announced to move to using ZFSonLinux as their
> upstream source
> for ZFS (
> https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072422.html
> ),
> what has been the development of ZFS in NetBSD so far? Did you use the
> same sources?
> Regardless of the answer, is using ZFSoLinux a consideration for future
> development?
>
> Thanks



-- 
Jay Patel
*https://unitedbsd.com/ *


*usually found @ https://riot.im/app/#/room/#bsd:matrix.org
*


choosing a lightweight database

2019-01-15 Thread reed
Any recommendations on a lightweight database (no extra server process) 
to use with dynamic website?

It is not a lot of data. Currently stored in ~1000 flat files (all 
stored in git) and could easily be converted to JSON or XML for readable 
text store. Each file ranges between 7 and 184 unique (per file) values.
When done maybe I will have around 10,000 keys and 500,000 attributes 
like:

1342-rolley-lake-provincial-park flush-toilet=yes
1342-rolley-lake-provincial-park drinking-water=yes
1342-rolley-lake-provincial-park drive-up-camping=yes
1342-rolley-lake-provincial-park showers=yes
1342-rolley-lake-provincial-park hiking=yes
1342-rolley-lake-provincial-park hiking-notes="Lakeside Loop is a 40 minute 
hike."
1342-rolley-lake-provincial-park state="British Columbia"
1342-rolley-lake-provincial-park country=ca

1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park flush-toilet=no
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park drinking-water=no
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park drive-up-camping=no
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park showers=no
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park firepit=no
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park firepit-notes="Ground 
fires are prohibited; use backpacking stove."
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park country=usa
1-cedar-ridge-scenic-overlook-dinosaur-valley-state-park state=tx

Around 200 attributes, but not all for each.

Also I have key/values like
 FOO-notes="for supplementing text for FOO"
And description and direction fields with sentences.

The values may be free form text, numbers, boolean yes/no (some values 
are links to other files).

I generate static webpages easily from this (and can dynamically 
generate webpages easily).

Storing this in Berkeley DB would be easy.

But I want an easy way to search everything like:

country=ca
province=alberta
elevation>=1524 meters
cost<=5

or keyword searches against description fields.

Any thoughts on lightweight no database server ideas? I may just use 
sqlite. Minimal dependencies would be great.

Thanks




Re: Mailing list manager on NetBSD

2019-01-15 Thread Mayuresh
On Tue, Jan 15, 2019 at 03:38:35PM -0200, Silas wrote:
> There are some caveats, like not managing bouncing (there are cases when the
> student is not registered anymore and his e-mail account is cancelled, but
> it is still on the list -- it is just an alias --, they doesn't seem to have
> a fully automated solution!), but I can't remember of other big problems
> they had with this approach.

The is indeed an interesting solution. BTW postfix does have a way to
redirect bounces from an alias to a specific id specified as
`owner-aliasname' (man 5 postconf).

> Mailing list managers insert headers and contents to make e-mails match with
> (kind of) recent e-mail rules for mailing lists.  This is specially
> important if you are going to deliver to other SMTP servers.

I am testing things on a really small list right now to discover these
things. As yet the mails have not bounced. But may be I can study headers
of mailing lists and do the same in mine. That is very easy with
header_checks.

> But since it is an internal solution, you see any other problems with the
> approach of just using Postfix aliases?

I am yet to solve one issue : how to restrict sending mails to a list to
the members of the list only. postfix documentation [1] does give this
scenario, but I find the documentation to be cryptic and things aren't yet
working.

Since your friend runs multiple lists, may be he has been able to put such
restriction. Please do share if you can.

Mayuresh


[1] /usr/share/examples/postfix/RESTRICTION_CLASS_README


Re: Bump: Anyone get NetBSD to work on ANTSLE?

2019-01-15 Thread Jason Mitchell

> On Jan 15, 2019, at 11:20 AM, Palmer, John  wrote:
> 
> No, I don’t have those.  Please send and I’ll try.
>  
> Thanks
>  
> From: Jason Mitchell  
> Sent: Tuesday, January 15, 2019 10:18
> To: Palmer, John 
> Cc: NetBSD Users ; supp...@antsle.com
> Subject: Re: Bump: Anyone get NetBSD to work on ANTSLE?
>  
> On Jan 15, 2019, at 9:20 AM, Palmer, John  wrote:
>  
> Just checking again to see if someone has had success in getting NetBSD to 
> run as a virtual system under Antsle’s platform.
>  
> My issue is that the filesystems get corrupted almost immediately. Its so bad 
> that I most times, the install won’t even complete.
>  
> Not sure if its due to compression or not.
>  
> Antsle’s support has so far been useless.
>  
> Hello,
>  
> Did you try the suggestions I sent you (disable SMP and ACPI) from the boot 
> menu? Did I forget to send them?
>  
> Thanks,
>  
> Jason M.

Hello,

From the boot menu, choose the option that disables ACPI (option 2). Configure 
the VM with one processor only. If this doesn’t work, there’s an option that 
disables SMP as well (3?).

I got these options by looking up what Antsle is (was?) using as its VM Manager 
(KVM). There’s a table out there (that’s very out of date) that recommended 
these settings. The last NetBSD version they got to work was 5.0.2

Thanks,

Jason M.

Sent from my iPhone

Re: Mailing list manager on NetBSD

2019-01-15 Thread Silas

On Sat, Jan 12, 2019 at 11:53:18AM +0530, Mayuresh wrote:

For a nearly static mailing list using postfix aliases is looking quite
economical, presumably it would have the smallest footprint as MTA itself
is doing the core job.


This is interesting.  A friend of mine works for a university and he 
told me they did exactly this.  They have a lot of lists .  For 
professors (500+), for other workers (600+), for students (15000+).

They've added lists information in their local LDAP server so
Postfix queries it and handles it just like local aliases.  They did 
this not because they don't like a mailing system but because, at the 
beginning, it seemed easier than integrating Mailman or another manager 
to their solution.


There are some caveats, like not managing bouncing (there are cases when 
the student is not registered anymore and his e-mail account is 
cancelled, but it is still on the list -- it is just an alias --, they 
doesn't seem to have a fully automated solution!), but I can't remember 
of other big problems they had with this approach.


Mailing list managers insert headers and contents to make e-mails match 
with (kind of) recent e-mail rules for mailing lists.  This is specially 
important if you are going to deliver to other SMTP servers.


But since it is an internal solution, you see any other problems with 
the approach of just using Postfix aliases?


Re: Bump: Anyone get NetBSD to work on ANTSLE?

2019-01-15 Thread Jason Mitchell
On Jan 15, 2019, at 9:20 AM, Palmer, John  wrote:
> 
> Just checking again to see if someone has had success in getting NetBSD to 
> run as a virtual system under Antsle’s platform.
>  
> My issue is that the filesystems get corrupted almost immediately. Its so bad 
> that I most times, the install won’t even complete.
>  
> Not sure if its due to compression or not.
>  
> Antsle’s support has so far been useless.
>  
Hello,

Did you try the suggestions I sent you (disable SMP and ACPI) from the boot 
menu? Did I forget to send them?

Thanks,

Jason M.

Nvidia blank screen on boot

2019-01-15 Thread Ron Georgia
All,

I installed NetBSD 8.0 on my Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz 
(3000.10-MHz K8-class CPU). I have GeForce GTX 650 NVIDIA card. I followed the 
instructions for GPT/UEFI install 
(https://wiki.netbsd.org/Installation_on_UEFI_systems/), which went smoothly. 
Kudos to whoever wrote that. When booting everything seems to be fine until the 
display driver is initialized. Part way through, after many drm messages, the 
bottom half of the screen looks like it loses its horizontal sync, then a blank 
screen. I let it sit for a couple of hours, but to no avail. I tried to ssh 
into my computer, but got a connection refused message.

 

I drop to the loader prompt and issue the following:

boot -c

userconf> disable nouvea

userconf> quit

 

It boots all the way through, but has errors. One is no ssh access. Bummer.

 

I also tried to boot from NetBSD-8.99.30-amd64-uefi-install.img, but that 
freezes at what is listed below, then goes to a blank screen.

Pci1 at ppb0 bus 1

nouveau0 at pci1 dev 0 function 0: vendor 10de product 0fc6

nouveau0: info: NVIDIA GK107 (0e7060a2)

nouveau0: info: bios: version 80.07.35.00.0b

nouveau0: info: fb: 1024 MiB GDDR5

 

Any suggestions? Pointers? Direction?

 

I had GhostBSD (TrueOS based) installed, so the dmesg is from FreeBSD 
(https://pastebin.com/ZBG7H3i9). I can paste the dmesg into an email if that is 
easier.

 

 

 

Ron Georgia

“90% of my problems are due to ignorance, the other 10% is because I just don’t 
know any better.”

 

 



Bump: Anyone get NetBSD to work on ANTSLE?

2019-01-15 Thread Palmer, John
Just checking again to see if someone has had success in getting NetBSD to run 
as a virtual system under Antsle's platform.

My issue is that the filesystems get corrupted almost immediately. Its so bad 
that I most times, the install won't even complete.

Not sure if its due to compression or not.

Antsle's support has so far been useless.



Re: ZFS development questions

2019-01-15 Thread Chavdar Ivanov
On Tue, 15 Jan 2019 at 13:16, Gua Chung Lim  wrote:
>
> * n...@n0.is (n...@n0.is) wrote:
> > Hi,
> >
> > since FreeBSD recently announced to move to using ZFSonLinux as their 
> > upstream source
> > for ZFS 
> > (https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072422.html),
> > what has been the development of ZFS in NetBSD so far? Did you use the same 
> > sources?
> > Regardless of the answer, is using ZFSoLinux a consideration for future 
> > development?
> ZFS is not BSD.
> It is CDDL. see 
> https://en.wikipedia.org/wiki/Common_Development_and_Distribution_License
> FreeBSD doesn't care much about the license.
> But we do, I think.
>

Nothing to do with the licence. ZFS is CDDL under every system. NetBSD
already has ZFS. I've used it in the past with mixed success; it used
to fail for me under higher load, the last few tries were OK, though.

The thread is about switching to ZoL as upstream, as opposed to
Illumos - mainly due to the apparently heavy process there - I'd guess
inherited, at least partially, from Sun, as well as the statement that
a great deal of ZFS innovation now comes from ZoL, perhaps because it
has the widest commercial support base. The discussion is if this move
might bring unwanted linuxisms to FreeBSD by the back door - the
proposed solution being splitting ZFS code in MI/MD parts. We'll see.

> --
> Gua Chung Lim
>
> "UNIX is basically a simple operating system,
> but you have to be a genius to understand the simplicity."
> -- Dennis M. Ritchie
>


-- 



Re: ZFS development questions

2019-01-15 Thread Gua Chung Lim
* n...@n0.is (n...@n0.is) wrote:
> Hi,
> 
> since FreeBSD recently announced to move to using ZFSonLinux as their 
> upstream source
> for ZFS 
> (https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072422.html),
> what has been the development of ZFS in NetBSD so far? Did you use the same 
> sources?
> Regardless of the answer, is using ZFSoLinux a consideration for future 
> development?
ZFS is not BSD.
It is CDDL. see 
https://en.wikipedia.org/wiki/Common_Development_and_Distribution_License
FreeBSD doesn't care much about the license.
But we do, I think.

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie



ZFS development questions

2019-01-15 Thread ng0
Hi,

since FreeBSD recently announced to move to using ZFSonLinux as their upstream 
source
for ZFS 
(https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072422.html),
what has been the development of ZFS in NetBSD so far? Did you use the same 
sources?
Regardless of the answer, is using ZFSoLinux a consideration for future 
development?

Thanks