Re: Can I undo OpenBSD GPT partition table and recover my data? was: Triple booting Windows/Debian/OpenBSD?

2022-11-04 Thread Ottavio Caruso
On Thu, 3 Nov 2022 at 20:50, Manuel Giraud wrote: [For some reasons your message got into spam and is not even displayed on the mail archive] > > Ottavio Caruso writes: > > [...] > > > So I officially joined the club of idiots who don't back up their > > partition ta

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-31 Thread Ottavio Caruso
On 31/03/2021 04:46, Marc Espie wrote: On Tue, Mar 23, 2021 at 09:41:06AM +, Ottavio Caruso wrote: On 23/03/2021 05:53, misopolemiac wrote: I'd appreciate some pointers to documentation or minimal examples of the 3-process privilege separation model for OpenBSD's daemons. Internet searches

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-23 Thread Ottavio Caruso
://www.openbsd.org/events.html -- Ottavio Caruso

Re: How to set ThinkPad battery charge thresholds?

2021-03-09 Thread Ottavio Caruso
On 09/03/2021 05:25, Subhaditya Nath wrote: And the actual work is done by something called the 'natacpi framework', which is implemented by the linux kernel itself. Which is what I said in my previous post. -- Ottavio Caruso A: Because it messes up the order in which people normally read

Re: How to set ThinkPad battery charge thresholds?

2021-03-09 Thread Ottavio Caruso
On 09/03/2021 04:53, s...@skolma.com wrote: perhaps as your name suguests you may be located in the Indian sub continent, and Mains Power may be intermittent.. God, how patronizing is that? -- Ottavio Caruso A: Because it messes up the order in which people normally read text. Q: Why

Re: How to set ThinkPad battery charge thresholds?

2021-03-08 Thread Ottavio Caruso
f somebody can please tell me where I can set it, I would be very very thankful. (Pardon my bad english, it's not my first language) acpibat, as it stands, doesn't and cannot set/manipulate battery charge threshold levels. -- Ottavio Caruso A: Because it messes up the order in wh

Re: How to set ThinkPad battery charge thresholds?

2021-03-08 Thread Ottavio Caruso
. (Pardon my bad english, it's not my first language) As far as I know, you can't achieve that in the BSD ecosystem. TLP uses a Linux kernel model (acpi-call-dkms). https://github.com/mkottman/acpi_call -- Ottavio Caruso A: Because it messes up the order in which people normally read text. Q: Why

Deleting sysupgrade, was: sysupgrade failure logs

2021-02-15 Thread Ottavio Caruso
ever liked unattended, automatic, Debian-style system upgrades. A lot of things can go wrong. -- Ottavio Caruso

www.openbsd.org unreachable for a few days

2020-12-15 Thread Ottavio Caruso
* * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * -- Ottavio Caruso

Re: OpenBSD 6.8 (release) guest (qemu/kvm) on Linux 5.9 host (amd64) fails with protection fault trap

2020-11-15 Thread Ottavio Caruso
wise it will crash into a ddb debug shell) -- Ottavio Caruso

Re: OpenBSD UEFI on QEMU emulator

2020-10-24 Thread Ottavio Caruso
On 24/10/2020 11:33, Kevin Shell wrote: On Sat, Oct 24, 2020 at 08:55:34AM +0100, Ottavio Caruso wrote: On 24/10/2020 02:27, Kevin Shell wrote: Why I keep received 2 copies email again? Please don't To or Cc me.:-) Because this is how old school mailing lists work. To: the OP and cc

Re: OpenBSD UEFI on QEMU emulator

2020-10-24 Thread Ottavio Caruso
be configured to remove or hide duplicates. -- Ottavio Caruso

Re: man tar

2020-10-04 Thread Ottavio Caruso
standard input or standard output. The default varies by system; on FreeBSD, the default is /dev/sa0; on Linux, the default is /dev/st0. I assume it's stdin when compressing and stdout when expanding. Or maybe vice versa? -- Ottavio Caruso A: Because it messes up the order in which people nor

Re: support new

2020-10-01 Thread Ottavio Caruso
)/vmd(8) servers. Committed, thanks. Ingo BTW, for the non-initiated, what is this? -- Ottavio Caruso

Re: Web based document / spredsheet editor

2020-09-22 Thread Ottavio Caruso
d probably will work 100% fine only on Windows/ChromeOS. Libreoffice is not web based but can work on remote repositories: https://help.libreoffice.org/6.3/en-US/text/shared/guide/cmis-remote-files-setup.html -- Ottavio Caruso

Re: How do you get different $PS1 for /bin/sh and /bin/ksh?

2020-09-18 Thread Ottavio Caruso
On 18/09/2020 09:01, Tom H wrote: On Thu, Sep 17, 2020 at 3:16 PM Ottavio Caruso wrote: On 17/09/2020 10:40, Tom H wrote: You've said that you're now sourcing "$HOME/.kshrc" if "SKSH_VERSION" exists. You could add the sourcing of "$HOME/.shrc" if "$SH_VE

Re: How do you get different $PS1 for /bin/sh and /bin/ksh?

2020-09-17 Thread Ottavio Caruso
On 17/09/2020 10:40, Tom H wrote: On Thu, Sep 17, 2020 at 9:33 AM Ottavio Caruso wrote: On 17/09/2020 00:58, Ashlen wrote: On 20/09/15 05:49PM, Ottavio Caruso wrote: Maybe it's just because OpenBSD sh is just ksh in disguise or there might be other reasons that I obviously don't know. Yep

Re: How do you get different $PS1 for /bin/sh and /bin/ksh?

2020-09-17 Thread Ottavio Caruso
On 17/09/2020 00:58, Ashlen wrote: On 20/09/15 05:49PM, Ottavio Caruso wrote: Maybe it's just because OpenBSD sh is just ksh in disguise or there might be other reasons that I obviously don't know. Yep, you're right. They share the same inode. ls -li /bin/{,k}sh 77862 -r-xr-xr-x 3 root

Re: How do you get different $PS1 for /bin/sh and /bin/ksh?

2020-09-15 Thread Ottavio Caruso
On 15/09/2020 14:44, Vincenzo Nicosia wrote: On Tue, Sep 15, 2020 at 02:08:16PM +0100, Ottavio Caruso wrote: Hi, I have this in ~/.kshrc : PS1="\u@\h:\w\$ " which works fine in ksh: oc@OpenBSD:~$ However, if I open a sh subshell, I get: \u@OpenBSD:\w$ which is not very nice

How do you get different $PS1 for /bin/sh and /bin/ksh?

2020-09-15 Thread Ottavio Caruso
f [ -f "$HOME/.kshrc" ]; then . "$HOME/.kshrc" fi fi I wonder if there is a more elegant solution. -- Ottavio Caruso

Re: Can I boot without GPU ("headless")?

2020-08-29 Thread Ottavio Caruso
this in boot.conf $ cat /etc/boot.conf stty com0 9600 set tty com0 and ttys: $ grep tty00 /etc/ttys tty00 "/usr/libexec/getty std.9600" vt220on secure I can then access the VM via either telnet (to the virtualized serial console) or ssh. -- Ottavio Caruso

Re: TLS stall ftp or pkg_add

2020-07-18 Thread Ottavio Caruso
https://cdn.openbsd.org/pub/OpenBSD oc@OpenBSD:~$ doas pkg_add bzip2 quirks-3.187 signed on 2020-05-19T14:41:48Z bzip2-1.0.8: ok No stalls here. -- Ottavio Caruso

Re: Shell account service providers

2020-07-16 Thread Ottavio Caruso
quot;, you > will find a lot results. I struggle to see how this is relevant to the OP's question. -- Ottavio Caruso

Re: Cleaning system's old ibraries/files after update to next -release or -current

2020-07-14 Thread Ottavio Caruso
? If OpenBSD is anything similar to NetBSD, on the latter having multiple libs might cause build breakages. -- Ottavio Caruso

Re: ls -R bug?

2020-07-04 Thread Ottavio Caruso
D:~$ touch .hidden/test-file oc@OpenBSD:~$ ls -R It looks like "ls -R" is showing some hidden directories but not all. -- Ottavio Caruso

Re: ssh X forwarding and google-chrome

2020-07-02 Thread Ottavio Caruso
e" just shows an empty and blank window, > no menu, no address bar. > May be there is some command line flags I am not aware of? Can you not just "ssh -Y" into your machine and then launch Chrome from the command line? At least, you'd get some debug info. -- Ottavio Caruso

Re: armv7 on Asus Chromebook C100P

2020-06-28 Thread Ottavio Caruso
serspace will have to be compatible with the kernel. Back in 2012, I struggled to install Slackware ARM on a similar Chromebook and then I gave up (there might be traces of it on the Slackware-arm mailing list archives). -- Ottavio Caruso

What does the "#n" after "GENERIC.MP" stand for?

2020-06-28 Thread Ottavio Caruso
not so. Looking on: https://dmesgd.nycbug.org/index.cgi?do=index=OpenBSD it appears machines running -current have a higher #number. -- Ottavio Caruso

How do I get the man page for a package I haven't installed yet?

2020-06-23 Thread Ottavio Caruso
Thanks -- Ottavio Caruso A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Re: Disabling OpenBSD Login Prompt

2020-06-10 Thread Ottavio Caruso
gt; What do you mean by "login prompt"? Maybe the MOTD? You need to login in your system, right? Unless your program is a shell (and registered in /etc/shells), you won't be able to log in. https://man.openbsd.org/shells.5 https://man.openbsd.org/login.1 -- Ottavio Caruso

Re: OpenBSD Readonly File System

2020-06-09 Thread Ottavio Caruso
y problem. Isn't it just easier to buy a UPS? -- Ottavio Caruso

Re: How do I get a list of the files of only installed packages?

2020-06-08 Thread Ottavio Caruso
On Mon, 8 Jun 2020 at 11:31, Stuart Henderson wrote: > > On 2020-06-08, Ottavio Caruso wrote: > > I probably didn't make myself clear and I apologize. I'd like to have > > a list of files for just one package, and only if that package has > > been installed. If not inst

Re: How do I get a list of the files of only installed packages?

2020-06-08 Thread Ottavio Caruso
On Sun, 7 Jun 2020 at 22:26, Udo Zorn wrote: > > On Sun, Jun 07, 2020 at 10:04:53PM +0100, Ottavio Caruso wrote: > > On Sun, 7 Jun 2020 at 21:37, Daniel Jakots wrote: > > > > > > On Sun, 7 Jun 2020 21:11:57 +0100, Ottavio Caruso > > > wrote: > &g

Re: How do I get a list of the files of only installed packages?

2020-06-07 Thread Ottavio Caruso
On Sun, 7 Jun 2020 at 21:37, Daniel Jakots wrote: > > On Sun, 7 Jun 2020 21:11:57 +0100, Ottavio Caruso > wrote: > > > Hi, > > > > "pkg_info -L PACKAGE-NAME" > > > > will give me a list of all the files within each package, regardless > &g

Re: How do I get a list of the files of only installed packages?

2020-06-07 Thread Ottavio Caruso
On Sun, 7 Jun 2020 at 21:11, Ottavio Caruso wrote: > > Hi, > > "pkg_info -L PACKAGE-NAME" > > will give me a list of all the files within each package, regardless > of whether the package is installed or not. > > How can I restrict the output to only

How do I get a list of the files of only installed packages?

2020-06-07 Thread Ottavio Caruso
-f PACKAGE-NAME " but that would not give me full pathnames. I've looked at the pkg_info man page but I couldn't find a clue. Thanks. -- Ottavio Caruso

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Ottavio Caruso
h eyeballs, all bugs are shallow". -- Ottavio Caruso

Re: OPenBSD 6.7 as a Q35 KVM guest

2020-05-20 Thread Ottavio Caruso
proc) \ -nic user,model=virtio-net-pci -- Ottavio Caruso

Re: upgrade 6.6 -> 6.7

2020-05-19 Thread Ottavio Caruso
share how you did it. bsd.rd, sysupgrade, manual upgrade? -- Ottavio Caruso

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-19 Thread Ottavio Caruso
On Tue, 19 May 2020 at 13:31, Marc Espie wrote: > > On Mon, May 18, 2020 at 08:43:19PM +0100, Ottavio Caruso wrote: > > Some of these documents have a proprietary licence attached to it and > > I believe it's due to the 1994 AT settlement. There are third party > > colle

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-18 Thread Ottavio Caruso
have a proprietary licence attached to it and I believe it's due to the 1994 AT settlement. There are third party collections (like this: https://github.com/sergev/4.4BSD-Lite2) but I'm not sure if one could import them all in the source tree or in the ports tree without violating some copyright here and there. -- Ottavio Caruso

Re: OpenBSD insecurity rumors from isopenbsdsecu.re

2020-05-12 Thread Ottavio Caruso
ue. It's ok to ask, but don't make sweeping statements if you don't have a clue 4) Learn how to quote a message. -- Ottavio Caruso

Re: OpenBSD insecurity rumors from isopenbsdsecu.re

2020-05-12 Thread Ottavio Caruso
On Tue, 12 May 2020 at 02:13, wrote: > > Linux GNU software has hardly visible NSA backdoors If you have the technical skills to back this argument up, please look in the "Linux GNU software" source, find the backdoors and report back. -- Ottavio Caruso

Re: one-character expansion in shell

2020-05-06 Thread Ottavio Caruso
n_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= -- Ottavio Caruso

GNU+Linux corporate takeover, was: Wine for OpenBSD?

2020-04-14 Thread Ottavio Caruso
only distros that has been taken over by "corporate" are Red Hat (but it was annoyingly corporate-friendly even before it was bought by IBM) and SuSE. The remaining have not been taken over by "corporate" if they wanted to. Cheap digs don't usually get the facts right. -- Ottavio Caruso

Re: Wine for OpenBSD?

2020-04-12 Thread Ottavio Caruso
question trainer written circa 2006. Not to mention countless old electrical/electronic software that nobody is bothered porting to 64-bit *nix. -- Ottavio Caruso

Re: problems setting up PORTS_PRIVSEP

2020-03-26 Thread Ottavio Caruso
touch > permit nopass setenv { TRUSTED_PKG_PATH TERM } msv cmd pkg_add > permit nopass setenv { TERM } msv cmd pkg_delete > > permit keepenv nopass msv as _pbuild > permit keepenv nopass msv as _pfetch > > permit msv as root > Hi, have you given a look at this tutorial: https://dataswamp.org/~solene/2020-01-11-privsep.html -- Ottavio Caruso

Re: Hardening browser

2020-03-04 Thread Ottavio Caruso
sb installations of Linux distros (DSL was one of them that I remember). I ignore if OpenBSD comes with such a solution out the box, but I'm sure it wouldn't be difficult to make your own read-only install. Then, you could either reboot from it or run it through an emulator. -- Ottavio Caruso

Re: Web documentation available offline by default?

2020-03-02 Thread Ottavio Caruso
nd the skills to actually contribute code to upstream (incidentally, I have submitted bug reports and small patches to NetBSD and that was it). For the sake of clarity: I won't propose or submit any changes on this issue, as this is clearly not welcome. Amen to that and let's move on. -- Ottavio Caruso

Re: Web documentation available offline by default?

2020-02-29 Thread Ottavio Caruso
makes it easier to search for a specific command. There's a one-page text file on the ftp server but this is quite old (it doesn't even mention doas). -- Ottavio Caruso

Re: Web documentation available offline by default?

2020-02-28 Thread Ottavio Caruso
sd-faq.txt> mirrored in base system? Or maybe it's there but I could't find it: oc@OpenBSD:~$ find /usr/share/ -iname *faq.txt* oc@OpenBSD:~$ -- Ottavio Caruso

Re: strange dmesg

2020-02-08 Thread Ottavio Caruso
On 08/02/2020 10:28, whistlez...@riseup.net wrote: Hi, I have some strange output from dmesg, what could be ? At the follwoing link I've posted some screenshots: https://postimg.cc/gallery/1o4wsaw74/ Thank you All I can think of is filesystem corruption. -- Ottavio Caruso

Re: Catastrophic

2020-01-27 Thread Ottavio Caruso
es* /var/log/messages /var/log/messages.1.gz /var/log/messages.0.gz /var/log/messages.2.gz -- Ottavio Caruso

Re: ksh complete_command for commands with "-" in name

2020-01-17 Thread Ottavio Caruso
r the array is invalid. I'm not sure if I'm getting what you're saying. I have a barebone plain-vanilla OpenBSD 6.6 installation and I have ksh as my login shell. I can do command and file completion with [TAB] on any commands with a hyphen (pkg-config, ssh-add, ssh-agent, ssh-keygen, ssh-keyscan and so on). -- Ottavio Caruso

"no _STA method" 128 times in dmesg?

2020-01-07 Thread Ottavio Caruso
nion about it. Thanks -- Ottavio Caruso