Re: Centralized logging

2021-04-25 Thread chohag
he...@ezaquarii.com writes: > On 2021-04-24 22:50, li...@mailbox.org wrote: > > Do you have any best / bad practices at hand regarding OpenBSD and > > optionally the syslogd / tools it ships with? > > The main issue with remote logging is that your log messages could be > lost > when destination

Re: Full disk encryption including /boot, excluding bootloader?

2020-02-13 Thread chohag
cipher-hea...@riseup.net writes: > > On Linux you can do the following: > > Hard drive: > { [1MB unencrypted GRUB bootloader partition] [Rest of hard drive entirely > encrypted] } > > Then the only parts of the (x64) computer that are unencrypted are the BIOS > and GRUB. This is how it already

Re: SSIZE_MAX

2020-01-16 Thread chohag
Raymond, David writes: > I am confused about SSIZE_MAX and read(2)/write(2). The POSIX > SSIZE_MAX is something like 2^15 -1. This seems to be a real > limitation when writing to a TCP/IP socket, as I learned from > experience. However, much larger reads and writes seem to be possible > to

Re: sysupgrade woes on beaglebone black

2020-01-10 Thread chohag
Jan Stary writes: > - I can't figure out how to pass the -x option that sets $UU > (and thus makes the timer reset before each set is installed). You don't. http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/dot.profile.diff?r1=1.42=1.43 Matthew

Leaving OpenBSD (with patch)

2020-01-08 Thread chohag
Some people have needs that OpenBSD doesn't meet. Of course the logical thing to do is to adapt it to meet them or to use something which does but to some -- in line with the general complexication that's progressing nowadays -- this simple solution is not enough and the need to announce one's

Re: OpenBSD's extremely poor network/disk performance?

2020-01-07 Thread chohag
Hamd writes: > It's 2020 and it's -still- sad to see OpenBSD -still- has the > ... lists full of the uninteresting type of wine and that their > twitterings -still- don't include any code. Yes. Yes it is. Can't say much for the performance of a suite of servers which have all been taken down to

Keep up the good work (was: Re: But there is Fossil...)

2020-01-05 Thread chohag
Stuart Henderson writes: > On 2020/01/05 00:33, go...@disroot.org wrote: > > January 5, 2020 2:24 AM, "Roderick" wrote: > > > > > On Sun, 5 Jan 2020, go...@disroot.org wrote: > > > > > >> so I don't understand what's wrong with FreeBSD and OpenBSD. > > > > > > I do not see a problem in CVS. >

Re: But there is Fossil...

2020-01-04 Thread chohag
go...@disroot.org writes: > Git is the most popular VCS (and most ugly), meanwhile > there are people who prefer to reimplement it because > they don't like its license... FreeBSD is working on OpenGit, > OpenBSD is working on Game of Trees, but why reimplement > the wheel instead of using a

Re: What do you use to generate invoices on OpenBSD?

2019-12-22 Thread chohag
Mikolaj Kucharski writes: > Hi, > > Do you generate invoices on OpenBSD? What do you recommend? If you have I use nmh to compose an email to my accountant saying something along the lines of "please generate the next invoice for work X at company Y" and a few hours or days later an invoice -- an

Re: Re-organising partitions without re-installation

2019-12-22 Thread chohag
Stuart Longland writes: > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a: 268416 64 4.2BSD 2048 16384 2097 # / > > b: 373010 268480swap# none > > c: 16777216

Re: [sh] Single quote in comment withing subshell buggy

2019-12-14 Thread chohag
Richard Ulmer writes: > Hi, > when there is a single ' in a comment within a subshell, I get this > error: foo[6]: no closing quote > > Here is an example script to reproduce the problem: > > foo=$( > # It's bar: > echo bar > ) > echo $foo This is certainly not the best way to do this

Re: cron output direct to mbox without smtpd?

2019-11-24 Thread chohag
Andrew Kanaber writes: > Hi, > > I'm setting up an embedded machine that won't be able to send mail to > the internet and it seems excessive to leave smtpd running just so root > can receive cron job output, but I can't see a way to cut smtpd out of > the delivery chain because mail.local doesn't

Re: sysupgrade to 6.6 failed at comp66.tgz

2019-11-23 Thread chohag
> You can't seriously be calling "-x* -game*" an unsupported configuration ?  > Seems to me > like a sensible thing to do on any box that's going to be headless for its > entire life > and only ever accessed via SSH (or text console at a push). Lines 159-160 of /usr/sbin/sysupgrade read as

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread chohag
Mathijs Hengst writes: > > You can turn off the screen via X: > > xset dpms force off > > (I found this on google in 2/3 minutes, so you might want to improve > your google-foo.) It looks to me like his google-foo is working just fine. Question asked and answered, no? Matthew

Re: sysupgrade to 6.6 failed at comp66.tgz

2019-11-22 Thread chohag
mabi writes: > Hi, > > - reason why it failed? It cannot remove /usr/include/machine because it is not empty. > - what should I do now? retry to upgrade with sysupgrade? Empty /usr/include/machine. > - re-install the whole system? If you like. It will certainly empty out /usr/include/machine.

Re: Modifying installXX.iso via script

2019-11-17 Thread chohag
Thomas Bohl writes: > Am 17.11.2019 um 19:51 schrieb cho...@jtan.com: > > Thomas Bohl writes: > >> > >> Now I want to go the extra step and automate the modification of the > >> installXX.iso. > > > > I have put an insane amount of work into exactly this, also with > > an eye to portably

Re: Modifying installXX.iso via script

2019-11-17 Thread chohag
Thomas Bohl writes: > > Now I want to go the extra step and automate the modification of the > installXX.iso. I have put an insane amount of work into exactly this, also with an eye to portably directing the process to other operating systems and hosting environments. I'd be very interested to

Re: Boot failure on XPS 13/9380 (but bsd.rd works)

2019-11-17 Thread chohag
I'd quite like to debug this problem. I'm looking through the code now to find out where I can inject some sort of printf-like statement to glean some information about what it's [not] doing and may eventually even get somewhere. I'll continue to do this regardless because I'm bored and I just

Boot failure on XPS 13/9380 (but bsd.rd works)

2019-11-17 Thread chohag
As per the subject, bsd.rd boots and the installation proceeded as usual. Another laptop saved from ever booting the mess it came preinstalled with. Yay. Subsequently rebooting results in the following (bsd.sp does the same with different addresses): probing: pc0 mem[632K 475M 255M 208M 137M

Re: vi in ramdisk?

2019-11-15 Thread chohag
U'll Be King of the Stars writes: > This has gotten me thinking about whether line-based editing is really > the best abstraction for simple editors. Yes. Yes it is. You can prise ed out of my cold dead hands. I don't get where the desire for an editor in the installer comes from. If you have

Re: Downgrade 6.6 to 6.5

2019-11-06 Thread chohag
Theo de Raadt writes: > I have some sort of X1rev6 and I don't see the problem. > > The situation is you have the hardware, and you also have the sourcecode, > and the repository to traverse investigate the problem. > > That sounds hard, until you give it a try. To be fair, it *is* hard. You have

Re: What is the relationship between fdisk and disklabel?

2019-10-29 Thread chohag
dmitry.sensei writes: > Why offset in disklabel for a partition is different from fdisk output? > 423202816 and 433358194 Something wrote the MBR and/or disklabel incorrectly. Probably a repartitioning or other data shuffling process gone wrong. > When I add label for partition 3 as in fdisk

Re: Requesting vi tips

2019-10-18 Thread chohag
adr writes: > You see, is so easy to be an asshole. You're telling me? I know I'm not particularly active on OpenBSD's mailing lists but I've certainly been around. For the record, I have a finite amount of neurons with a correspondingly finite amount of synapses. There is only so much even I

Re: On blindly running code

2019-10-18 Thread chohag
Raul Miller writes: > My mental model of computer security often approximates putting a bank > vault door on a picket fence (and maybe setting up a sniper to stop > people from climbing over the door). But in layers. One of them will work right? It's defense^Wobscurity in depth. > Doesn't mean

Re: Requesting vi tips

2019-10-18 Thread chohag
Claudio Jeker writes: > set wl=72 will limit the line lenght to around 72. Additionally you > can use !fmt with movement chars to reformat sections. I use !{fmt > or {!}fmt frequently to reformat the paragraph I'm in. I didn't know [how] ! took movement commands. Thanks. I'll have a play with

Re: Requesting vi tips

2019-10-18 Thread chohag
Raf Czlonka writes: > On Fri, Oct 18, 2019 at 03:12:37PM BST, cho...@jtan.com wrote: > Is this what you had in mind? > > set editor="EXINIT='set wraplen=72' /usr/bin/vi" I'm not sure that I'm happy with it doing it mid-insert. I'd prefer an explicit action or insert mode itself being

Requesting vi tips

2019-10-18 Thread chohag
OK this has started to get on my nerves now. I use vi to enter emails despite using evil emacs for development and other general editing. Rather than linking them together (they're on seperate machines) to enter emails in emacs I'd rather figure out something interesting about vi. At the moment

Re: On blindly running code

2019-10-18 Thread chohag
Frank Beuth writes: > On Fri, Oct 18, 2019 at 11:54:18AM +0100, cho...@jtan.com wrote: > >Virtualisation is not a panacea. I have managed to achieve data loss through > >destructi > ve actions taken within a "safe" virtualised sandbox. > > How did you manage that feat? Basically assuming "safe"

Re: xauth segfault

2019-10-18 Thread chohag
Well it seems I was wrong and this is a common-or-garden bug. Specifically, from xauth/gethost.c, starting at line 199: #ifdef HAVE_STRLCPY strlcpy(path, fulldpyname, sizeof(path)); #else strncpy(path, fulldpyname, sizeof(path)); path[sizeof(path) - 1] = '\0';

Re: On blindly running code

2019-10-18 Thread chohag
Shane Lazarus writes: > Heya > > My own experience agrees with you with regards to any system in production. > > However, it is also my experience that nothing demonstrates the > difference between what should happen and what actually occurs better > than running the code and seeing the aftermath.

On blindly running code

2019-10-18 Thread chohag
With regards to recent discussion, here is a little anecdote that came out of the 6.5 to 6.6 upgrade. On one machine I run bitlbee, an IRC:IM gateway. After upgrading all the ports it left suggestions in the form of copy pasta commands to run to complete the upgrade process, as it does. One of

Re: xauth segfault

2019-10-17 Thread chohag
Klemens Nanni writes: > On Thu, Oct 17, 2019 at 10:30:54PM +0100, cho...@jtan.com wrote: > > I don't even know where to begin with this one > Start with providing a backtrace from the core dump: build xauth with > debug symbols and reproduce, then inspect with gdb. > > Otherwise you're on your

Re: auto_upgrade.conf et al man pages or documentation?

2019-10-17 Thread chohag
Chris Bennett writes: > On Fri, Oct 18, 2019 at 10:56:07AM +1300, Shane Lazarus wrote: > > > > So, I just ran sysupgrade with no options to see what would happen. That is the dumbest thing I've ever heard. Turn your computer in. You are incapable of handling one. > > If someone would be so

xauth segfault

2019-10-17 Thread chohag
This is sort of a weird one. Background is that I have a laptop with a bunch of VMs all running OpenBSD, now 6.6 (thanks!). The host runs X and one of the VMs runs the window manager which can then log into other VMs (or the host) to do whatever. My development environment, named void, is one

Re: OpenBSD vmm

2019-10-12 Thread chohag
taylormlp writes: > Hello, > Is there plan to add graphics support to vmm/vmd? I'm sure there is. Matthew

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread chohag
Paul de Weerd writes: > On Tue, Sep 17, 2019 at 03:14:22PM +0200, Marc Espie wrote: > | On Tue, Sep 17, 2019 at 01:48:19PM +0200, Paul de Weerd wrote: > | > On Tue, Sep 17, 2019 at 01:27:23PM +0200, Marc Espie wrote: > | > | > By having each set install a specific file in a well-known location. >

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread chohag
Marc Espie writes: > On Tue, Sep 17, 2019 at 09:01:47AM +0100, cho...@jtan.com wrote: > > Marc Espie writes: > > > I'm a bit surprised nobody looked at instrumenting what sets are actually > > > installed on a machine during install/manual upgrade and cloning that > > > into sysupgrade to avoid

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread chohag
In particular, installing OpenBSD requires the following steps: 1) Partition and format the disc. 2) Untar a bunch of stuff (or in the case of /bsd*, copy). 3) Install the bootloader. That's _it_. The few other tasks performed by the installer, like installing /etc/hostname.*, KARL and

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread chohag
Marc Espie writes: > I'm a bit surprised nobody looked at instrumenting what sets are actually > installed on a machine during install/manual upgrade and cloning that > into sysupgrade to avoid this kind of surprise... I mentioned the possibility wrt. syspatch but it was rejected in favour of

Re: How can I remove sets installed by sysupgrade?

2019-09-15 Thread chohag
Judah Kocher writes: > My router is headless. I have never run into an issue where I have > needed anything from the X sets Apparently you just did. > Therefore it seems like sound logic to not have those > bits and bytes present on the system so any > mis-configurations/bugs/vulnerabilities

Re: How can I remove sets installed by sysupgrade?

2019-09-15 Thread chohag
Marcus MERIGHI writes: > please do *not* copy/paste/run this command! > something along these lines for the sets you did not want: > > $ ftp -MVo- $( tzf - | xargs rm > > you are aware that it is recommended to run with all sets? Despite previous posts requesting assistance with not doing so,

Re: KARL sometimes renderring computer unbootable

2019-09-07 Thread chohag
Sebastian Benoit writes: > You dont say, but you are probably using 6.5? I am and that's a good point that I didn't think to consider, thank-you. > In current and thus in 6.6 the relevant line reads > > newinstall: > install -F -m 700 bsd /bsd && sha256 -h /var/db/kernel.SHA256 /bsd

KARL sometimes renderring computer unbootable

2019-09-07 Thread chohag
Occasionally after a power loss some computers, especially virtual machines for obvious reasons, are no longer able to boot. The bootloader reads the kernel, one of the two spins for a bit and then the computer returns to the bootloader prompt. In the case of VMs, vmd eventually gives up and

Re: Oddity re. order of ifconfig commands

2019-07-14 Thread chohag
Roderick writes: > > On Sun, 14 Jul 2019, cho...@jtan.com wrote: > > > I also string a cable between their ethernet ports for maximum speed > > Was it a crossover cable? I have no idea how long it's been since I had to care. I *did* mention that the physical setup already worked and was

Re: Oddity re. order of ifconfig commands

2019-07-14 Thread chohag
U'll Be King of the Stars writes: > On 14/07/2019 10:35, cho...@jtan.com wrote: > > I also string a cable between their ethernet ports for maximum speed which > > I bring up > manually at each and because I'm too lazy to automate it, that's > 10.100.200.2/24 on li > nux and 10.200.200.1/24 on

Oddity re. order of ifconfig commands

2019-07-14 Thread chohag
I have two laptops, both on the same wifi network, one with linux and one with openbsd. I also string a cable between their ethernet ports for maximum speed which I bring up manually at each and because I'm too lazy to automate it, that's 10.100.200.2/24 on linux and 10.200.200.1/24 on

Re: Postscript printer recommendations

2019-07-14 Thread chohag
Jonathan Drews writes: > > I am not sure why you want to avoid CUPS. Not a terrible propsal because it is a bloated piece of crap, but on the other hand it must interface with the satanc devices we call printers so concessions must perhaps be made. > fundamentals. That begs the question as to

Re: Did I install correctly the openbsd?

2019-07-11 Thread chohag
SOUL_OF_ROOT 55 writes: > weak attempts to bait an argument Your trolling is both transparent and dull. The new system is clearly fine. Not only is your environment not in any way exceptional but it told you so at the end. Past evidence suggests that you're at least not entirely clueless so

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread chohag
Perhaps rather than whining that OpenBSD lacks some specific feature, those who want it could write it? A novel idea, I know, but it IS specifically a development platform and there are precisely zero restrictions. Or if you don't wish to start with code, at least try a tack such as "I intend

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-06 Thread chohag
ropers writes: > Okay, so since nobody else appears to be making any pertinent noise, I > guess it falls to me: > > Index: ed.1 > === > RCS file: /cvs/src/bin/ed/ed.1,v > retrieving revision 1.70 > diff -u -r1.70 ed.1 > --- ed.1

Re: OT: hardware war with manufacturers (espionage claims)

2019-07-03 Thread chohag
ropers writes: > ::I put on my robe and tinfoil hat.:: > ... Wow. The things you guys come up with ... I mean yeah, I guess, in theory maybe? Of course in order to achieve this level of evil you need highly competent governments and corporations but that's no problem right? Matthew

Bypass doas password check with chroot

2019-07-02 Thread chohag
This isn't a bug per se, more of an incongruity in how security-centric tools work wrt root, specifically doas and chroot/su/other: joe@drogo$ doas -s drogo# doas -u chohag -s doas (root@drogo) password: doas: Authorization failed drogo# chroot -u chohag / drogo$ ^D drogo# su -l

Re: Future of X.org?

2019-07-02 Thread chohag
li...@wrant.com writes: > Tue, 02 Jul 2019 08:40:35 +0300 cho...@jtan.com > > > > Also I don't need to fix your email system's inability to classify spam. > > YOUR mail server reputation is negative, fix your setup.. STOP spamming. IWFM Matthew ps. Two dots *and* two spaces? Try harder.

Re: Future of X.org?

2019-07-02 Thread chohag
li...@wrant.com writes: > You're misreading something, or talking to yourself, making corrections. > Your emails ended up in the spam twice so far, do something about that.. Two dots again? We've been over this. > Your emails came in as spam twice so far, maybe do something about that? Get it

Re: Future of X.org?

2019-07-01 Thread chohag
li...@wrant.com writes: > Mon, 01 Jul 2019 07:09:41 +0300 cho...@jtan.com > > > > I don't think I'll be relying on software from such confused individuals > > any time soo > n. > > Since when? Make a note: your long lines will never fit on a punch card. I haven't used a punch card since ...

Re: Future of X.org?

2019-07-01 Thread chohag
Ingo Schwarze writes: > the voice of reason. Listen to it. Matthew

Re: Future of X.org?

2019-07-01 Thread chohag
Juan Francisco Cantero Hurtado writes: > Can you show me what missing Wayland part is bigger than DRM+Mesa+LLVM?. Probably, but that's not my problem. > After the personal attack, I was hoping a more elaborated answer. There was no personal attack. That you feel there was reveals little more

Re: Future of X.org?

2019-07-01 Thread chohag
li...@wrant.com writes: > You can't do without YOU understanding basics of X11, do something else.. > Juan, I don't trust your lack of any qualification for even feature bait. Two dots? This thing should never have more than one dot. How about: > You can't do without YOUR understanding X11

Re: Future of X.org?

2019-06-30 Thread chohag
Roderick writes: > > > On Sun, 30 Jun 2019, Juan Francisco Cantero Hurtado wrote: > > > You can run (local or remote) X11 applications inside of a Wayland > > compositor. > > The following contradicts your above assertion: > > https://wayland.freedesktop.org/faq.html#heading_toc_j_8 Wayland. The

Re: Ansible install Re: Reboot and re-link

2019-06-23 Thread chohag
Frank Beuth writes: > You go ahead and continue to trust your VPS without taking any care to consider where your software comes from. It's choices like that which make "hardening" even be a thing. Have you considered _not_ building a system on a foundation made of cheese? Have fun with that.

Re: Ansible install Re: Reboot and re-link

2019-06-22 Thread chohag
. Nobody is paying me for this, I'm just bored. The documentation is ... poor. But it works. In my little network there are currently 6 distinct servers, all built using it with zero manual interaction. https://github.com/chohag/stash Enjoy. Happy to answer questions (I need some critical feedback). I pla

Re: Ansible install Re: Reboot and re-link

2019-06-22 Thread chohag
Frank Beuth writes: > Yes, and being able to Ansible-manage even the re-installation would make the > whole process that much nicer :) Ansible is not the correct tool for this job; it can only configure and maintain an _extant_ system. None of the recent plethora of configuration management

Re: Ansible install Re: Reboot and re-link

2019-06-22 Thread chohag
Lyndon Nerenberg writes: > We are looking forward to that. *However*, there is a lot to be > said for regularly re-installing your hosts from scratch. This > ensures your installer scripts don't rot as host system "features" > accrete over time. This is prone to happen when you Ansible- or Or

Re: Reboot and re-link (fwd) Maxim Bourmistrov: Re: Reboot and re-link

2019-06-20 Thread chohag
mathijs writes: > this makes misc@ so much more amusing I didn't join for the soap opera. Matthew

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread chohag
Nan Xiao writes: > Hi Ingo, > > Thanks for your detailed explanation! Ingo seems to be rather good at those. The last trivial question I asked got an exposé on precisely how the ports and base development processes interact with one another. I propose a motion that every answer Igno makes to a

SOLUTION (with code), WAS: Re: When will be created a great desktop experience for OpenBSD?

2019-05-23 Thread chohag
Here is a script you can all use which selects a desktop environment, installs it if necessary, and configures a (eg. your) user's X session so that it starts when he, she or you log in, facilitating further user-centric configuration. Perhaps if you ask really nicely the devs will install it

Re: single user question

2019-05-10 Thread chohag
Misc User writes: > It is theoretically possible to do that, but you'd have to do -a lot- > of work to get it to do so. It'd be much easier finding a proper > way to accomplish what you want without running single-user. I wouldn't recommend using single user mode to do anything other than repair

Re: Danish FreeBSD Developer hates jews collectively

2019-05-09 Thread chohag
Enji Cooper writes: > Please leave this discussion on Twitter instead of flooding these mailing > lists. Linux/ > OpenBSD should not be exposed to this unnecessary drama, and FreeBSD-CURRENT > is the wro > ng mailing list for this (try freebsd-chat@ if you are so inclined). So you thought, why

Re: single user question

2019-05-09 Thread chohag
James Huddle writes: > If the following questions trigger a sense of road rage, you may > safely assume they are not directed to you. > > Is anyone running in single-user mode regularly? I regularly boot things into single user mode to fix something or otherwise engage in acts which could be

Re: Upgrade procedure encrypted filesystem (6.4 -> 6.5)

2019-05-09 Thread chohag
shadrock uhuru writes: > i've got a couple of follow up queries concerning post upgrade things todo. > > --- -dbus-1.12.10p0v0 --- > Remember to update /etc/machine-id > how do i update machine_id, i didn't find any man pages to explain ? Ignore it. Nothing bad will happen. It's a

Re: When will be created a great desktop experience for OpenBSD?

2019-05-08 Thread chohag
noah pugsley writes: > Updated FVWM or a different default config? > > Sent from mobile. >   Original Message   > From: Christopher Turkel > Sent: Wednesday, May 8, 2019 04:22 > Cc: OpenBSD Misc > Subject: Re: When will be created a great desktop experience for OpenBSD? > > I'd like to see an

Re: Activating second crypted (or other raid) device

2019-05-06 Thread chohag
trondd writes: > On Sun, May 5, 2019 3:57 pm, cho...@jtan.com wrote: > > My goals are: > > > > * /etc/rc already handles fsck of plaintext devices mentioned in > > /etc/fstab. > > * /etc/rc already handles mount of plaintext devices mentioned in > > /etc/fstab. > > * I would like to activate

Re: Activating second crypted (or other raid) device

2019-05-05 Thread chohag
Thomas Frohwein writes: > On Sun, May 05, 2019 at 08:57:55PM +0300, cho...@jtan.com wrote: > [...] > > Currently after every upgrade I patch /etc/rc to run /etc/rc.blockdev > > (containing bioctl -cC -p /etc/sd0.key -l sd0a softraid0) before the > > additional filesystems are checked or mounted. >

Activating second crypted (or other raid) device

2019-05-05 Thread chohag
I have a laptop with two hard drives, a small fast ssd and a large slow hdd (since replaced with a larger fast ssd). Both drives are encrypted using bioctl. sd1 is the smaller boot device which becomes sd2, sd0 is the larger device which becomes sd3. sd2 is activated before the kernel by the

Re: [6.5] Xfce: problem with shutdown menu

2019-04-28 Thread chohag
Theo de Raadt writes: > "Stephane HUC \"PengouinBSD\"" wrote: > > > Hi, Tom. Ty for your reply. > > > > On my file /etc/doas.conf, i've only one line, as: > > > > "permit nopass setenv { ENV PS1 SSH_AUTH_SOCK } :wheel" ^ > So a javascript exploit

Re: Code of Conduct location

2019-04-28 Thread chohag
Strahil Nikolov writes: > Hello All, > > can someone point me to the link of the OpenBSD code of Conduct ? I believe OpenBSD's code of conduct can be summed up as "if you are the type of person who needs a code of conduct to teach to you how to human then you are not welcome here". At least I

Re: [website] Incorrect release date on the front page

2019-04-27 Thread chohag
Anonymous writes: > Some pointless bullshit or other Turns out time's not as simple a concept as your average developer assumed. Apparently you're going to have to learn some things. It could be a first! Welcome to the real world. Good luck. Matthew

Re: Malloc config became global sysctl in 6.5

2019-04-27 Thread chohag
Otto Moerbeek writes: > > The mechanism is in the docs as well, not only in the code. You You are of course correct, and OpenBSD has some of the best documentation I've ever seen, but I've spent so long in linux land that whenever I'm met with the question of how *exactly* something works, I just

Re: [website] Incorrect release date on the front page

2019-04-27 Thread chohag
Anonymous writes: > Otto Moerbeek: > > On Sat, Apr 27, 2019 at 03:13:00PM +, Anonymous wrote: > > > >> Here too: https://www.openbsd.org/65.html > > > > Does it matter? It is very common for publications to be dated in the > > future. > > > > -Otto > > No, it's not common, neither for

Re: Malloc config became global sysctl in 6.5

2019-04-27 Thread chohag
Igor Podlesny writes: > On Sun, 28 Apr 2019 at 00:59, wrote: > [...] > > > > > > Oh, those hypocrite wankers here and there.. > > > > If you actually read the code (I know, right? Who DOES that?) you'll see > > how omalloc_ > init perfectly embarrasses you. In 6.4 it would read the symlink, then

Re: Malloc config became global sysctl in 6.5

2019-04-27 Thread chohag
Igor Podlesny writes: > On Sat, 27 Apr 2019 at 18:09, Marc Espie wrote: > > > > On Sat, Apr 27, 2019 at 12:34:01PM +0700, Igor Podlesny wrote: > > > On Sat, 27 Apr 2019 at 12:26, Sebastien Marie wrote: > > > > On Sat, Apr 27, 2019 at 12:17:21PM +0700, Igor Podlesny wrote: > > > > > Previously

Re: Filesystem corruption with ext4 and qcow2 in vmm

2019-04-18 Thread chohag
Malte Wedel writes: > Hello OpenBSD, > > I was trying to run Linux inside vmm, by converting an existing > vmdk-image to qcow2 using qemu-img. While the configuration and setup > seems to be straightforward, I had filesystem corruption issues on the > ext4-fs inside the VM. I would be more

Re: How to make X listen tcp again?

2019-03-09 Thread chohag
Roderick writes: > On Sat, 9 Mar 2019, cho...@jtan.com wrote: > > > > Any hint? > > > > Yes: [...] > > Did you try it? No but I think you missed the part where I said "and editing /etc/X11/xenodm/Xservers" which is the where the server binary's options (and server binary) are specified. For

Re: How to make X listen tcp again?

2019-03-09 Thread chohag
Roderick writes: > > The default changed, X does not receive Tcp connections. In FreeBSD > I solved the problem with a file .xserverrc in my home directory > with > > exec /usr/X11R6/bin/Xorg -listen tcp > > But this does not work with OpenBSD 6.4 (X does not even > execute .xinitrc, I start X

Re: "bioctl -d" before shutdown

2019-02-25 Thread chohag
Roderick writes: > > I suspect, umount (that always syncs) is enough and umount > happens always at shutdown. How do people cope with "I suspect"? "I suspect" would scare the crap out of me. Did it never occur that it's possible to _know_? Not unmounting is dangerous because there are in-memory

Re: Confusion re. VMs, bridges, intergace groups and pf.

2018-12-20 Thread chohag
Additionally, under which circumstances could/should I use interface groups and under which rdomains? I cannot discern any practical difference between them except in how they're labeled (numeric vs. symbolic) although I confess that my experience with network routing has been tainted by the Other

Confusion re. VMs, bridges, intergace groups and pf.

2018-12-20 Thread chohag
Something in the documentation regarding VM network iterface groups is unclear to me. I have created a switch and VM in /etc/vm.conf: switch "private" { interface bridge0 group private } vm "test" { memory 2G disable disk /srv/vm/test.img interface { switch

Re: Automated remote install

2018-12-20 Thread chohag
Philipp Buehler writes: > Am 20.12.2018 19:24 schrieb cho...@jtan.com: > > I'm not sure what you mean by that. The script I posted the other day > > is part of a (working, tested) process to create an openbsd image > > within openbsd and then upload it to aws as an iam. I based it on, I > > think,

Re: Automated remote install

2018-12-20 Thread chohag
Philipp Buehler writes: > Am 20.12.2018 18:13 schrieb David Diggles: > > However it's possible to build for AWS. > > https://github.com/ajacoutot/aws-openbsd > > and there's more stuff "in the pipe", since the above > needs a Linux or OSX environment > > Next year ;) it'll be possible to do this

Re: Odp.: Automated remote install

2018-12-17 Thread chohag
Below is my work-in-progress code to take an openbsd cdXX.iso and inject the bare minimum necessary to autoinstall from a configuration file embedded in the image (it also reconfigures the console to run over the serial port - especially useful on a VM). There are no doubt better ways to do

Re: alix 2d13 + 6.4: should it work?

2018-11-21 Thread chohag
"Theo de Raadt" writes: > First time you need to > > stty com0 > set tty com0 > > then you can boot. > > The installer will remember this for next time, but our kernel does not > know the speed so early on. Strictly speaking the installer _asks_ you if you would like it to remember the

Re: identifying software and licenses used in base install

2018-01-18 Thread chohag
"Jake D. Parsons" writes: > You seem to be railing against some perceived notion of injustice in Injustice? No. Irrelevence. > some perceived notion utopia. What is the point and agenda here? Why do Utopia? Have you ever even *run* a computer system? My point is that I'm tired of the excessive

Re: identifying software and licenses used in base install

2018-01-17 Thread chohag
"Theo de Raadt" writes: > > Is there, by chance, such a breakdown available for these already? > > No. We did our best. To be fair, these statements are potentially contradictory. If you (plural) only "did your best" (and what more could have been done?) then it is at least in *theory*

Re: OpenBSD !HTTPS websites - why?

2018-01-15 Thread chohag
"who one" writes: > Hello, > > http://www.openbsdfoundation.org/ > http://firmware.openbsd.org/firmware/ > > When can we have HTTPS connection on these websites? > > What website remains that doesn't have HTTPS yet and related to OpenBSD? > > Security should be in layers, HTTPS is one

Re: spam (was: re: code duplication)

2017-08-27 Thread chohag
leo_...@volny.cz writes: > > Lesson: never configure a public machine to misbehave. People might be > trying to get work done and take offense if they're stopped in that rude > manner (just a huge delay, 'permission denied' and closing the connection > would've IMO certainly sufficed). Excuse me,

Trivial bug in installer's .profile

2017-06-03 Thread chohag
Job control is disabled prior to setting up the auto-install timeout. It is then re-disabled when the timer has been started. The second set +m should be set -m or be removed. # Stop monitoring background processes to avoid printing # job completion notices in

Re: Booting encrypted drive from another device

2016-06-20 Thread chohag
Bodie writes: > access then you are screwed. It is just matter of your importance to > attacker if it will be sooner or later. You briefly touch on it here > Attacks on CEO level mentioned in postthey have already laptop > made in China and there is plenty of examples how HW is screwed up >

Re: how to send email via Mail

2016-02-26 Thread chohag
Eric Furman writes: > On Fri, Feb 26, 2016, at 09:22 AM, Артур Истомин wrote: > > With this approach, we will have only one email provider. His name is > > Google. > > Spam and other black sides of today email system is price we pay for > > decentralized system. And it's worth it. > > What Nick

Re: Ntpd's confusing log messages

2016-02-07 Thread chohag
Christian Weisgerber writes: > On 2016-02-06, Lampshade wrote: > > > Feb 6 17:57:25 host ntpd[7585]: peer 150.254.183.15 now valid > > Feb 6 17:58:17 host ntpd[9279]: adjusting local clock by 9.096751s > > Feb 6 18:02:02 host ntpd[9279]: adjusting local clock by 7.971861s

Re: No more proxy on ftp(1)?

2016-02-01 Thread chohag
arrowscr...@mail.com writes: > Thank you for your help Stuart. I'll just use curl for now. Actually use torsocks seems a bad practice for any situation, I should just set a transparent proxy (but the pf.conf > from torproject.org does not work, I'll need to write is myself some day). > Thanks

  1   2   >