Re: Migrate to different FS layout of OpenBSD

2024-04-06 Thread chohag
Kirill A. Korinsky writes: > Folks, > > I'm looking for a way to migrate to different layout some OpenBSD systems. > > So, questions: > 1. Has anyone done something like this before? > 2. Do you have any instruction or that to expect? Yes. What to expect? There is a very good chance data will be

Re: Security questions: Login spoofing, X11 keylogging, and sandboxed apps

2024-03-29 Thread chohag
Luke A. Call writes: > > On 2024-03-29 09:01:07-0400, James Huddle wrote: > > Exfiltrator. There's an 11-letter word that starts with "ex". X11. > > After a quick web search, I'm not sure I follow. Is that a reference to > a program that exfiltrates data after a computer is compromised? Can

Re: files are going missing

2024-03-12 Thread chohag
Files don't randomly disappear. Downloaders can set the date of downloaded files to the time the server reports. OpenBSD then deletes them because they are old. Don't use /tmp for long term storage. It's temporary. The clue is in the name. Matthew ps. as a general rule if something has been

xpdf

2023-12-17 Thread chohag
To those who agreed to include xpdf3 alongside the New! Improved! Slower! Gaudier! version 4, thank you! That was a horrible 30 seconds. Matthew

Re: Firefox problem

2023-12-16 Thread chohag
Prasad MN writes: > Does not work for me either -- I am on the latest snapshot and > Firefox fails with the same error as reported on the thread. > Same error for Tor Browser. It just takes patience. Or make. Surely you have a backup computer? The problem was noticed and the patch pushed to CVS

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-18 Thread chohag
Mark writes: > "> That will never happen." > > And some serious reason? /usr/sbin/sysupgrade is 218 lines short _with_ comments and I for one like it that way. It's difficult to screw up by using it and easy to figure out what it did if you do. > It was a great idea indeed. :/ So was dividing

Re: heck of a long time

2023-08-23 Thread chohag
Peter N. M. Hansteen writes: > On Wed, Aug 23, 2023 at 01:41:31PM +0200, Peter J. Philipp wrote: > > > > If this is a sensitive topic I apologize ahead of time. > > > > I'm wondering... can we have a change in the OpenBSD front page (to say): > > > > "Only two remote holes in the default

Re: volatility or something like that in the future ?

2023-08-19 Thread chohag
Nick Holland writes: > Linux has become Windows Reinvented Badly. You seem to think > OpenBSD should become Linux Reinvented Badly. That's offensive. We prefer Unix Reimplemented... Matthew (Just kidding; it's great)

Re: Ryzen 9 (7x000) users: do you experience hangs?

2023-07-18 Thread chohag
Is it something in the water? Mike Larkin writes: > On Tue, Jul 18, 2023 at 08:09:11PM +0100, cho...@jtan.com wrote: > > This is completely unrelated to the question we asked. Please I mentioned that. Twice. Beginning with the very first words: > > Not really. But. Then summarising with: > >

Re: Ryzen 9 (7x000) users: do you experience hangs?

2023-07-18 Thread chohag
Not really. But. I have an APU2 which runs two VMs that do practically nothing, although the box itself is used actively. The VMs consistently, and without warning, hang in a way which matches the description "nothing new can be execed" although I recall being able to log in on the console. I

Re: ntpd and ppm

2023-07-04 Thread chohag
Theo de Raadt writes: > J Doe wrote: > > > On 2023-07-04 17:27, Martin Schröder wrote: > > > > > Am Di., 4. Juli 2023 um 23:20 Uhr schrieb J Doe > > > : > > >> I checked: man ntpd and: man 2 adjfreq, and while: man 2 adjfreq > > >> mentions the same unit - "ppm" - it doesn't explain what that

Re: Minimum install size

2023-04-30 Thread chohag
Theo de Raadt writes: > Yoshihiro Kawamata wrote: > > > From: Janne Johansson > > Subject: Re: Minimum install size > > Date: Fri, 28 Apr 2023 09:09:49 +0200 > > > > > Do not assume "desireable" and "possible" are always the same. > > > > My point was whether the wording "installable on 512MB

Re: Help for another wiped out disklabel

2023-04-13 Thread chohag
Greg Thomas writes: > I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and I > have no idea what happened to the disklabel on sd1 (during the install I > only did an automatic disklabel on sd0). This is just a backup of my > current laptop so not the end of the world (unless

Re: Mail Etiquette: Reply above or below

2023-03-09 Thread chohag
It makes it easier to know what part of the original message a response is in reply to. As a general rule you should reply in-line, quoting only the specific parts of a message your response is in reference to. Matthew Eric Johnson writes: > --- Original Message --- > On Tuesday, March

Using scan_ffs to recover a disklabel

2023-02-21 Thread chohag
I broke my TV. My TV is a monitor powered by a laptop running OpenBSD and in trying to diagnose a problem which turned out to be in the NAS I managed to fry the disklabel. How? Well, being unimportant the machine is also the guinea pig for snapshot builds and other experiments so I thought I

Re: Live stick / cd from official sources

2023-02-01 Thread chohag
Daniele B. writes: > Thanks for this one, Bodie. > > In my little, simple prospective from year 2023 there is the hope that we are > going to overcome soon > all these sayings we are telling us about *nix. The way such shortcomings might be overcome is to produce the code which replaces or

Re: 回复: 回复: 回复: 回复: Softraid crypto metadata backup

2023-01-07 Thread chohag
Nathan Carruth writes: > permanently and irrevocably destroy all data on your entire disk”. This is a feature. More so, it's the very point in an encrypted filesystem. If you haven't planned for this failure scenario then what are you doing using a device which *by design* can irrevocably trash

Re: equivalent to linux/serial.h?

2022-12-31 Thread chohag
Justin Muir writes: > Hello, > > Just attempting to compile SDRAngel from source and I'm getting some errors > in the process. > > The latest is: "linux/serial.h" missing. Is there an equivalent I can > point to on OpenBSD? > > I'm also having difficulties with the dab-cmdline library. The

Getting to know malloc

2022-12-17 Thread chohag
improve the text!) The files are too big to send out on the mailing list at 85 and 442 KB each so I pushed them to the interweb. http://zeus.jtan.com/~chohag/malloc.w http://zeus.jtan.com/~chohag/malloc.pdf Although not the main goal, the malloc.w source file can be used to generate

Re: Possible typo in fw_update

2022-12-11 Thread chohag
ion expects a variable name and modifiers. The name is scanned for by get_brace_var below and then modification by ``#'' or ``%'' is detected. ``:#'' and ``:%'' are also accepted for compatibility with ksh88. This seems like a good opportunity for shameless self-promotion of the

Re: redirection puzzle

2022-12-02 Thread chohag
rsyk...@disroot.org writes: > Dear list, > > ... > > but this does not work: > > odin:~$ echo 1 | tee $(tty) | sed 's/1/2/' > 2 > odin:~$ > > I do not understand why... The position of the tty command in the pipeline means that its standard input is not the terminal: $ echo $(tty)

Re: Locking network card configuration

2022-11-22 Thread chohag
Theo de Raadt writes: > > > + for _hn in /etc/hostname.??:??:??:??:??:??; do > > > + _mac=`echo $_hn | cut -c 15-31` _mac=${_hn#/etc/hostname.} > > > + _if=`ifconfig | grep -B 1 $_mac | head -n 1 | awk -F ": " > > > '{print $1}'` mac2dev() { # This got long

Re: sysupdate and space check

2022-10-27 Thread chohag
Luke A. Call writes: > On 2022-10-26 11:57:23-, Stuart Henderson > wrote: > > On 2022-10-24, Peter Fraser wrote: > > > I make a stupid mistake; I didn't check partition sizes before doing a > > > sysupgrade. > > > sysupgrade ran out of space or /usr in the middle of the upgrade. > > > I

Re: ksh: documented substitution behavior contradicts actual behavior

2022-10-17 Thread chohag
Kastus Shchuka writes: > On Sun, Oct 16, 2022 at 11:48:35AM +0100, cho...@jtan.com wrote: > > So given $X: > > > > $ X=' A : B::D' > > > > Parameter substitution: > > > > $ ( IFS=' :'; dump $X ) > > $VAR1 = 'A'; > > $VAR2 = 'B'; > > $VAR3 = ''; > > $VAR4 = 'D'; > > > >

Re: ksh: documented substitution behavior contradicts actual behavior

2022-10-16 Thread chohag
Kastus Shchuka writes: > On Sat, Oct 15, 2022 at 11:42:17PM -0300, Lucas de Sena wrote: > > Hi, > > > > After trying to split a string into fields delimited with colons and > > spaces, I found this bug in how ksh(1) does substitution. The actual > > behavior contradicts what other shells like

Re: proper way to grow softraid partition

2021-10-27 Thread chohag
It's easier by far not to muck about trying to resize partitions. If you can mount each drive (old and new) in an operating system that isn't using them then that's your best bet and that's not so hard to arrange. Mount the old partition structure in /old, create new larger partitions on the new

Re: Re: Re: What’s new in OpenNSD 7.0 NYC*Bug meeting

2021-10-26 Thread chohag
harrywea...@tutanota.com writes: > > > A few among the myriad: > > https://www.tomsguide.com/news/zoom-security-privacy-woes > > https://jonathanhays.me/2020/04/04/zoom-insecurity/ > > https://www.reddit.com/r/technology/comments/ftkb69/zooms_security_and_privacy_problems_are/ > > But, perhaps

Re: Re: What’s new in OpenNSD 7.0 NYC*Bug meeting

2021-10-26 Thread chohag
harrywea...@tutanota.com writes: > > > > I wouldn't trust Zoom any further than I'd trust Skype. > Cheers! Wouldn't trust it to do what? It already doesn't work on OpenBSD (does the browser version work though? Never tried) so it's being kept away from your crown jewels in the sort of tightly

Re: pkg_add -u failure; WAS: OpenBSD 7.0 released, Oct 14

2021-10-15 Thread chohag
Oh and it's also worth noting that despite that massive cock-up, the box is still (now) running just fine on this frankenhybrid and serving its git repositories and running its crons, all entirely hands-off and automated: # uname -a && uptime OpenBSD smoke.datum 7.0 GENERIC#224 amd64 4:29AM up

Re: pkg_add -u failure; WAS: OpenBSD 7.0 released, Oct 14

2021-10-15 Thread chohag
Stuart Henderson writes: > On 2021-10-14, cho...@jtan.com wrote: > > Turns out, one of my less important boxes was still on 6.8. Whoops. > > > > After two sysupgrades, this is the result of pkg_add -u: > > > > quirks-4.53 signed on 2021-10-12T20:12:39Z > > Can't install cairo-1.16.0 because of

pkg_add -u failure; WAS: OpenBSD 7.0 released, Oct 14

2021-10-14 Thread chohag
Turns out, one of my less important boxes was still on 6.8. Whoops. After two sysupgrades, this is the result of pkg_add -u: quirks-4.53 signed on 2021-10-12T20:12:39Z Can't install cairo-1.16.0 because of libraries |library pixman-1.40.0 not found | /usr/X11R6/lib/libpixman-1.so.38.4 (system):

Re: 4K display, teeny-tiny things

2021-08-22 Thread chohag
Joe Gidi writes: > > Picked up a 4K display (LG 27UPS650) and it's gorgeous. Bright colors, > > crisp, lovely. The console fonts and some application fonts are now > > dialed in WRT size. > > > > But application menu bars have tiny icons and tiny titles, and their > > man pages don't address that.

Re: dhcp issues

2021-07-17 Thread chohag
Theo de Raadt writes: > Sonic wrote: > > > Having some issues after a sysupgrade to the latest snapshot (of this > > writing) - OpenBSD 6.9-current (GENERIC.MP) #131. > > > > Seems the base change to dhcpleased/resolvd has presented some issues. > > This is intentional. > > We are moving from a

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

  1   2   >