Re: Little update to authpf

2009-09-06 Thread frantisek holop
hmm, on Sun, Sep 06, 2009 at 11:15:36PM +0200, Rafal Bisingier said that + struct stat sb; + char *path_message; printf(\r\nHello %s. , luser); printf(You are authenticated from host \%s\\r\n, ipsrc); setproctitle(%...@%s,

adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread frantisek holop
hi there, this question was always kind of in the back of my mind: why are there 2 sets of commands for adding and removing users? looking at the man pages their functionalities quite overlap and i am not really sure which one is the preferred, if any. the ports framework uses useradd/userdel if

Re: adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread frantisek holop
one more thing, if there was such a notion of axing one of these (and probably offering patches for any functionality to cross over to the victor) would it be the C version to stay? -f -- you can give a man a fish, or you can teach him to fish.

Re: adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread frantisek holop
hmm, on Mon, Sep 14, 2009 at 12:50:23AM +0200, Robert said that adduser is something interactiv which makes is easy to do manually. useradd is what i use in my scripts with lots of options i only have to look up once to have them right in that case. Should one of them removed? No?! They

Re: adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread frantisek holop
hmm, on Mon, Sep 14, 2009 at 01:12:53AM +0200, Ingo Schwarze said that If you insist on breaking scripts for many users... the way i see it, adduser has no advantage in scripts at all. adduser/useradd is quite completely not-portable anyway... googling around a bit, it seems that historically,

Re: adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread frantisek holop
hmm, on Mon, Sep 14, 2009 at 01:42:44AM +0200, frantisek holop said that googling around a bit, it seems that historically, adduser is a vendor added convinience script to make useradd friendlier, whatever that means. but of course there are as many variations on this as there are unices

Re: Defending OpenBSD Performance

2009-09-14 Thread frantisek holop
hmm, on Mon, Sep 14, 2009 at 10:23:58PM +0200, Claudio Jeker said that like to prove. In the end many of fefe's test programs did not actually measure what he assumed they would. and he was open to get patches to remedy those problems. general dislike of any benchmark in the world is also part

Re: Defending OpenBSD Performance

2009-09-15 Thread frantisek holop
hmm, on Tue, Sep 15, 2009 at 08:41:22AM +0200, Claudio Jeker said that Hah. That's why he did not update his site since 2003. Do you realy think that OpenBSD 3.4 and 4.6 are the same? nobody is arguing 3.4 and 4.6 is the same. or that that particular benchmark has any more than historic value..

Re: Defending OpenBSD Performance

2009-09-15 Thread frantisek holop
hmm, on Tue, Sep 15, 2009 at 01:41:01PM -0500, Marco Peereboom said that the devs are sitting around smug saying nothing until someone comes up with this theme again and then they send something like: i have a bgp machine forwarding 800MBit/s of real world generic internet

Re: Defending OpenBSD Performance

2009-09-15 Thread frantisek holop
hmm, on Tue, Sep 15, 2009 at 06:46:27PM +, Jacob Meuser said that so who's benchmarking install/upgrade time? lost time due to instability? lost time due to gratuitous API changes? lost time tuning setups? lost time searching on google instead of reading manuals? i am afraid my world

Re: Defending OpenBSD Performance

2009-09-16 Thread frantisek holop
hmm, on Wed, Sep 16, 2009 at 02:14:27AM +, Jacob Meuser said that On Wed, Sep 16, 2009 at 02:09:32AM +0200, frantisek holop wrote: hmm, on Tue, Sep 15, 2009 at 06:46:27PM +, Jacob Meuser said that so who's benchmarking install/upgrade time? lost time due to instability? lost

Re: Defending OpenBSD Performance

2009-09-17 Thread frantisek holop
hmm, on Thu, Sep 17, 2009 at 11:43:07AM +0200, Stephan A. Rickauer said that Our Institute moved away from Linux servers always everwhere, just *because* of updates are unreliable. Very often we did an apt-get update or an yum bla, reboot, machine dead or fucked up otherwise. everyone is

Re: OpenBSD on first gen Asus eeePCs

2009-09-17 Thread frantisek holop
hmm, on Thu, Sep 17, 2009 at 04:20:09PM -0400, Brad Tilley said that drives so I lay them out manually, but other than that, everything works OK (except the built-in wireless). I'm considering an Acer does the built in usb emulated sd card reader works? i can read anything from it, but writing

Re: OpenBSD on first gen Asus eeePCs

2009-09-19 Thread frantisek holop
hmm, on Sat, Sep 19, 2009 at 03:38:06PM +0400, Alexander Polakov said that Try setting OS Installation in BIOS Setup to Finished. has been like that all the time. -f -- nothing is fool-proof to a sufficiently talented fool.

tmux neww syntax

2009-09-21 Thread frantisek holop
hi there, i am having difficulties understanding the syntax tmux new-windows command. if i read it correctly, this is the equivalent of screen's screen command. i am trying to do the screen equivalent of this: # - screen 0 vmstat 5

Re: tmux neww syntax

2009-09-21 Thread frantisek holop
hmm, on Mon, Sep 21, 2009 at 06:36:17PM -0700, Aaron Stellman said that take a look at ./examples/n-marriott.conf in http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz thanks for the pointer. it seems that i am missing new-session before creating new-window's. .tmux.conf:

Re: eurobsdcon

2009-09-22 Thread frantisek holop
hmm, on Tue, Sep 22, 2009 at 04:05:01PM +0200, Henning Brauer said that http://bulabula.org/papers/2009/eurobsdcon-faster_packets/ please, please, i'll order 2 cd's, just stop using comic sans ms. -f -- microsoft is suing apple 'cause they have employees too.

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
hmm, on Tue, Sep 22, 2009 at 10:26:48PM -0400, Ted Unangst said that 2009/9/22 Sergio Andris Gsmez del Real sergio.g.delr...@gmail.com: maybe a little reference would be great, cause very little or non literature is found about OpenBSD implementation... (or maybe I'm struggling searching).

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
hmm, on Fri, Sep 25, 2009 at 03:01:18PM +, Matthew Szudzik said that On Fri, Sep 25, 2009 at 04:34:20PM +0200, frantisek holop wrote: to remove unused bit rotting stuff. what's the deal with procfs? if it's use is far from recommended, indeed rather forbidden, why is it left to rot

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
hmm, on Fri, Sep 25, 2009 at 02:44:07PM -0600, Theo de Raadt said that The major reason for moving away from procfs is that there are numerous TOCTOU problems. out of curiousity, in principle, what is the difference between accessing a through /procfs and the same value through sysctl, and/or

funny (svn bug)

2009-09-25 Thread frantisek holop
http://www.smashingmagazine.com/2009/09/25/svn-strikes-back-a-serious-vulnerability-found/ -f -- forecast for tonight: dark all night.

apachectl and/or /etc/rc

2009-09-26 Thread frantisek holop
hi there, given that apache is often re-started using apachectl and that apache/mod_php leaks environment variables and that mostly sudo is used in this process as well, i thought it would make good security sense to start httpd with env -i so that the admin's environment doing the restart is not

Re: Shutdown problem.

2009-09-26 Thread frantisek holop
hmm, on Sat, Sep 26, 2009 at 03:11:32PM -0700, Buzzer said that /etc/rc.shutdown in progress... /etc/rc.shutdown complete. syncing disks... if you don't get the done part of syncing disks... than it's not the problem of shutdown and halt -p. the syncing is not finished. i get this

Re: apachectl and/or /etc/rc

2009-09-27 Thread frantisek holop
hmm, on Sun, Sep 27, 2009 at 01:58:49PM +1000, Damien Miller said that why not just fix mod_php? (or avoid it altogether) if you read about this on other lists where people brought it up, some argue that this is a feature, and so there is nothing to fix. perhaps this is something suhosin could

Re: automating 'fsck -y' after a power failure

2009-10-02 Thread frantisek holop
hmm, on Fri, Oct 02, 2009 at 07:31:39PM +0200, Otto Moerbeek said that fsck -y after a power or other type of failure, in cases the automatic file system check fails? If that was a wisething to do, we would have already done so. In other words, it is not wise. It's foolish. as

Re: automating 'fsck -y' after a power failure

2009-10-04 Thread frantisek holop
hmm, on Fri, Oct 02, 2009 at 10:49:56PM +0200, Otto Moerbeek said that here's the thing: even though every single diagnostic message fsck may produce is documented in /usr/share/doc/smm/03.fsck_ffs i dont see how these questions help at all. what i mean is, there is nothing to compare the

Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that If a given package name cannot be found, the directories named by ^^^ PKG_PATH are searched. It should contain a series of entries separated by colons. Each entry consists of a

Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
hmm, on Tue, Oct 27, 2009 at 01:05:26AM +, Jacob Meuser said that On Mon, Oct 26, 2009 at 08:41:44PM +0100, frantisek holop wrote: hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that If a given package name cannot be found, the directories named

Re: can't load library 'libXdmcp.so.10.0

2009-11-04 Thread frantisek holop
hmm, on Wed, Nov 04, 2009 at 07:43:33PM +0100, TomC!E! BodEC!r said that Hi all, I have full installation of i386 snapshot from 1.11.2009 (latest on mirrors) and I can't use X. When I try startx either as root or normal user I get : $ startx xauth: can't load library 'libXdmcp.so.10.0'

Re: tmux as an educational facilitator

2009-11-05 Thread frantisek holop
thanks everyone on/off-list for pointing out that screen can do this as well. it was not the point of my mail though. it was not a pissing contest what screen and tmux can/can't do. everyone can now stop sending screen -x, thank you. $ screen -x ksh: screen: not found -f -- if they can send a

make acpi ignore closing the lid

2009-12-01 Thread frantisek holop
hello there, what is the proper way of telling openbsd i want no suspend action when i close the lid? -f -- small world, but i wouldn't want to paint it.

power button suspends netbook instead of shutdown

2009-12-09 Thread frantisek holop
hi there, a couple of days ago, after seeing the cvs commit for initiating suspend upon closing the lid, i have asked to question how to revert this, as i fairly often close the lid but prefer no action taken. as my netbook dies a horrible death on wakeup (and possibly at suspend itself) the

Re: power button suspends netbook instead of shutdown

2009-12-09 Thread frantisek holop
hmm, on Thu, Dec 10, 2009 at 01:30:07AM +0100, Robert said that dmesg of whatever openbsd version you are running atm might help. yes, sorry, i did not send it because i thought this might have been a more generic kind of a change not dependent on hw. OpenBSD 4.6-current (GENERIC) #447: Fri Dec

Re: power button suspends netbook instead of shutdown

2009-12-10 Thread frantisek holop
hmm, on Thu, Dec 10, 2009 at 04:23:20AM +0100, Robert said that Closing the lid on a running notebook is a bad idea, because a lot of heat will be capture under the closed screen that would be otherwise transfered through the keyboard. yes, that is true. but, 1) my notebook so far didn't

Re: power button suspends netbook instead of shutdown

2009-12-10 Thread frantisek holop
hmm, on Thu, Dec 10, 2009 at 04:23:20AM +0100, Robert said that Btw, to shutdown just type: 'sudo halt -p' that will even work with generic. i wish i could agree with this, but my netbook's proper shutdown and reboot ratio is more like 50%. (and that includes -stable as well) ctrl+alt+esc boot

splassert: vwakeup: and friends

2009-12-14 Thread frantisek holop
hi there, i am having difficulties copying from one external usb device to the other. the copying stops at certain point and the target device stops responding. /var/log/messages: Dec 14 23:14:07 amaaq /bsd: umass0 at uhub0 Dec 14 23:14:07 amaaq /bsd: port 2 configuration 1 interface 0 Seagate

Re: splassert: vwakeup: and friends

2009-12-22 Thread frantisek holop
hi there, i was having difficulties reproducing this (as expected probably) but i managed to get one trace: splassert: biodone: want 80 have 0 Starting stack trace... splassert_check(50,0,d074ff87,0) at splassert_check+0x46 splassert_check(50,d074ff87,d9655d2c,d340fe00) at splassert_check+0x46

Re: splassert: vwakeup: and friends

2009-12-23 Thread frantisek holop
hmm, on Wed, Dec 23, 2009 at 08:50:01PM +1000, David Gwynne said that can you tell me what version of src/sys/scsi/sd.c you are running? the snapshot being used is from Dec 4, so i'd guess it is Revision 1.169 background: i am trying to run an e2fsck on an 120G ext2 partition on that usb

help to keep disk spinning

2009-12-24 Thread frantisek holop
hi there, i have a usb external disk that spins down grotesquely soon, 10s of inactivity sends it sleeping. hearing the disk spin up every time makes me think how soon it will die if i keep this up for long. as atactl is not working for external ata disks used through the scsi layer, i was

Re: splassert: vwakeup: and friends

2009-12-24 Thread frantisek holop
hmm, on Wed, Dec 23, 2009 at 02:05:57PM +0100, frantisek holop said that background: i am trying to run an e2fsck on an 120G ext2 partition on that usb external disk and it just stops reading from the disk at random positions. for example it gets up to 30% of pass 1, then it just stops

Re: disklabel - cylinder rounding

2009-12-24 Thread frantisek holop
hmm, on Mon, Dec 21, 2009 at 01:50:24PM +0100, Robert said that Let me rephrase and remove disklabel from the question: What would break if slices don't start on a cylinder boundary? probably nothing if you will use the slices only exclusively with openbsd. other systems might make different

Re: help to keep disk spinning

2009-12-24 Thread frantisek holop
hmm, on Fri, Dec 25, 2009 at 10:16:28AM +1300, Paul M said that I wouldn't think that spinning up frequently would shorten it's life any more than if it stayed spinning. It may be very irritating from a performance point of view though. i am no hard disk expert, but i was taught at school that

Re: splassert: vwakeup: and friends

2009-12-25 Thread frantisek holop
hmm, on Fri, Dec 25, 2009 at 07:44:45PM +0100, Jan Stary said that make sure the disk itself is OK before blaming anything higher up. (e.g., read the entire disk with dd) openbsd's fsck goes through with no problems. eventually i managed to get e2fsck through as well: i made a script to touch

Re: splassert: vwakeup: and friends

2009-12-25 Thread frantisek holop
hmm, on Thu, Dec 24, 2009 at 08:02:51PM +0100, frantisek holop said that hmm, on Wed, Dec 23, 2009 at 02:05:57PM +0100, frantisek holop said that background: i am trying to run an e2fsck on an 120G ext2 partition on that usb external disk and it just stops reading from the disk at random

issues with audio on Apr13 snapshot

2010-04-15 Thread frantisek holop
hi there, with the april 13 snapshot i get fluctuations in the volume level and audible cracks and glitches when have e.g. a browser (opera) and mplayer open. i dont see a patern yet, but for example during watching the movie the volume level keeps changing accompanied by an audible pop. it

Re: issues with audio on Apr13 snapshot

2010-04-15 Thread frantisek holop
hmm, on Thu, Apr 15, 2010 at 02:20:02PM -0600, Ted Roby said that You should paste a dmesg, and point out what audio drivers i knew i forgot something :] i even copied it to the mail server. shame on me. i never had audio problems before btw, also forgot to add. this static is just a hiss,

LG android phone mass storage mount problem

2010-04-16 Thread frantisek holop
hi there, i am trying to mount the mass storage on my LG GW620 android phone. ugen0 at uhub0 port 3 LG Electronics Inc. LG Mobile USB Modem rev 2.00/1.00 addr 2 ugen0 detached umass0 at uhub0 port 3 configuration 1 interface 0 LG Electronics Inc. LG Mobile USB Modem rev 2.00/1.00 addr 2

can't mount msdos sd card (was: LG android phone mass storage mount problem)

2010-04-17 Thread frantisek holop
hmm, on Sat, Apr 17, 2010 at 01:43:01AM +0100, Pedro la Peu said that i am trying to mount the mass storage on my LG GW620 android phone. ugen0 at uhub0 port 3 LG Electronics Inc. LG Mobile USB Modem rev 2.00/1.00 addr 2 Your phone is not configured as OpenBSD needs. for now, i am

Re: i7-720QM PSS lacking: my hack and dmesg.boot included

2010-06-03 Thread frantisek holop
hmm, on Thu, Jun 03, 2010 at 04:32:10PM -0400, Kyle Smith said that :r misc.openbsd.org.letter :r re best vim answer ever. -f -- oxymoron: mobil station.

tmux and rogue window titles in the status line

2010-07-25 Thread frantisek holop
hi there, i am sure it happens to everyone once in a while that a rogue program sets the window title in tmux's status line to something unexpected, like 1:z!KB$+,*kB4EB4q*uEEQCaKKEB-ot7B(Fu`E%B D0XD* and stays there no matter what... as running subsequent programs never changes the

mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hi there, i have just managed to mount an ffs partition as msdos. the the system promptly dies. $ sudo fdisk sd0 Disk: sd0 geometry: 120/255/63 [1935360 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 12:02:25PM -0500, Chris Bennett said that If I plug my 110volt computer into a 220volt socket, it will promptly die too! Why on earth would you even try to do this? actually, gasp! it was a typo... nothing dramatic, no fuzzy testing of mount, a simple typo. and

Re: tmux and rogue window titles in the status line

2010-07-25 Thread frantisek holop
i think we are not entirely on the same page here. i did not meant the xterm, mrxvt, whatever terminal windows title (or rather, only indirectly), but the titles down in tmux's status line: 0: ksh 1:z!KB$+,*kB4EB4q*uEEQCaKKEB-ot7B(Fu`E%B D0XD* 2:ksh 3:ksh running this: echo

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 01:08:45PM -0600, Theo de Raadt said that That's no excuse. The point here is that any unprivileged user can hang the system at will. I don't see an unprivleged user. I see root performing the mount, since only root can perform mounts (unless a

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 02:29:25PM -0600, Theo de Raadt said that i think it doesnt matter what the user is, this shouldnt be happening. We make the source code available, and yet noone here has even sat down for 30 seconds and gone and checked the kernel msdos mount code and realized

Re: tmux and rogue window titles in the status line

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 10:01:18PM +0100, Nicholas Marriott said that that is not the window title, it is the window name you need to unset the automatic-rename option for that window, which will have been set to off by the rename window escape sequence ok, it is automatic-rename. but

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 03:17:53PM -0600, Theo de Raadt said that ffs does not use the first 8K of a partition. You used to have MSDOS on there. yes, that is the correct answer. it's a pitty the kernel is ignoring the partition type id. it's also a pitty that ffs apparently leaves the

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Mon, Jul 26, 2010 at 12:12:32AM +0200, David Vasek said that It is not what happened. The -t msdos was forced by you. But you ah shit. you are right :] and it worked because ffs does not overwrite the beginning of the partition. i misinterpreted what happened, but this is still a

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 04:33:27PM -0700, Philip Guenther said that What does that get us? They can still fuck up ld.so or libc, and poof, most the programs on the system will crash when started! Overwrite /etc/passwd with /dev/random and rename /bin and your system will stop being

Re: mount ffs as msdos, system hangs

2010-07-25 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 08:10:32PM -0400, Tony Abernethy said that Foreign file systems NEVER get prime attention. that's the kind of thinking that comes from redmond. When you do stupid things the results are rather predictable and you compound your error by trying to blame everybody

Re: mount ffs as msdos, system hangs

2010-07-26 Thread frantisek holop
hmm, on Sun, Jul 25, 2010 at 09:41:15PM -0500, J Sisson said that On Sun, Jul 25, 2010 at 8:01 PM, frantisek holop min...@obiit.org wrote: well done misc@, living up to your name. the bootcamp of the internet. It's better to create a crappy diff that gets rejected than whine

Re: mount ffs as msdos, system hangs

2010-07-26 Thread frantisek holop
since my first email, i see what i did wrong... that was the point of writing to the mail list in the first place, to see if i was doing something silly. turns out i was. does that warrant abuse? of course it does, i am not new here. i also see, that now this problem became simply a should we

hw.sensors jumping up and down

2010-01-03 Thread frantisek holop
hi there, i have noticed that my hw sensors ouput is changing in a disturbing way (notice temp0): day 1: hw.sensors.it0.temp0=255.00 degC hw.sensors.it0.temp1=26.00 degC hw.sensors.it0.temp2=36.00 degC hw.sensors.it0.fan0=5625 RPM hw.sensors.it0.fan1=0 RPM hw.sensors.it0.fan2=0 RPM

Re: hw.sensors jumping up and down

2010-01-04 Thread frantisek holop
ok, i have solved this mystery of mine. i had good sensor readings from before, but that was another motherboard: 2009 jan 1: hw.sensors.viaenv0.temp0=31.40 degC hw.sensors.viaenv0.temp1=29.65 degC hw.sensors.viaenv0.temp2=21.60 degC hw.sensors.viaenv0.fan0=4821 RPM hw.sensors.viaenv0.fan1=0 RPM

inconsistent fsck behaviour

2010-01-20 Thread frantisek holop
hi there, 2 scenarios on the same notebook: 1. booting bsd.rd (jan 15 snapshot), fsck /dev/wd0a, no errors/warnings. 2. normal boot, then: $ sudo fsck -n /dev/wd0a ** /dev/rwd0a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames

Re: pfctl table cleared time is jumping around

2010-01-20 Thread frantisek holop
hmm, on Wed, Jan 20, 2010 at 04:58:32PM +0100, Michael Lechtermann said that it seems there is a bug in pfctl regarding the cleared time of a table entry. The attack actually happend this year, but the date shown is constantly changing: been like this forever... -pa-r-- bad-ssh

Re: inconsistent fsck behaviour

2010-01-20 Thread frantisek holop
hmm, on Wed, Jan 20, 2010 at 05:17:40PM -0500, Ted Unangst said that On Wed, Jan 20, 2010 at 5:06 PM, frantisek holop min...@obiit.org wrote: $ sudo fsck -n /dev/wd0a but still... what's going on? You ran fsck on a mounted filesystem. Don't do that. yes, true. i thought i am losing

Re: rename(2) man page (was: Re: OpenSMTPd actual development and integration)

2010-01-25 Thread frantisek holop
hmm, on Mon, Jan 25, 2010 at 12:32:10PM -0800, Ben Calvert said that the unnamed individual (with such great faith in his mail system that he uses gmail to correspond with us) is actually performing the valuable function of helping me compose interview questions to weed out undesirable job

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread frantisek holop
hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is that the kernel will kill random processes to free swap. That might be

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread frantisek holop
hmm, on Wed, Jan 27, 2010 at 04:35:19PM +0100, Robert said that If the OS runs out of (any) memory then there is already a serious there's plenty of discussion about the virtues/stupidity of the OOM killer approach, including various pardon policies. google for out of fuel linux for amusement.

/etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hi there, $ ls -l /etc/localtime lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ - /usr/share/zoneinfo/Europe/Amsterdam $ date Thu Jan 28 16:37:33 CET 2010 but all the other programs, including thunderbird, gkrellm, the window manager show 15:37.. i have no idea what's going on,

Re: /etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hmm, on Thu, Jan 28, 2010 at 04:58:41PM +0100, Daniele Pilenga said that On Thu, Jan 28, 2010 at 4:39 PM, frantisek holop min...@obiit.org wrote: hi there, $ ls -l /etc/localtime lrwxr-xr-x 1 root wheel 36 Jan 28 16:34 /etc/localtime@ - /usr/share/zoneinfo/Europe/Amsterdam

Re: /etc/localtime, date and other programs

2010-01-28 Thread frantisek holop
hmm, on Thu, Jan 28, 2010 at 05:21:07PM +0100, Peter Hessler said that Did you create the link before or after the programs started? Most won't check that file after they start, so they stay in UTC. i am finding out that this is a curious situation. the said issue happens on a virtual openbsd

Re: AMD power reduction

2010-02-07 Thread frantisek holop
hmm, on Sun, Feb 07, 2010 at 07:10:29PM +0100, Robert said that On Sun, 7 Feb 2010 18:44:13 +0100 Jean-Francois jfsimon1...@gmail.com wrote: Is there something one can do to make the system fall into sleep in OpenBSD ? Suspending has worked for some time on OpenBSD. Have a look at: zzz

4k sector disks in the press

2010-02-14 Thread frantisek holop
http://www.osnews.com/story/22872/Linux_Not_Fully_Prepared_for_4096-Byte_Sector_Hard_Drives -f -- a kick in the ass is a step forward.

xterm + tmux 256 colors

2010-02-17 Thread frantisek holop
hi there, i am trying to make tmux use 256 colors. i have found this: http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html i have done step 2: $ xterm $ echo TERM $ TERM=xterm-256color $ tput colors 256 but it is not clear to me how can i do step 1. what is the proper

Re: xterm + tmux 256 colors

2010-02-17 Thread frantisek holop
hmm, on Wed, Feb 17, 2010 at 05:58:12PM -0500, Ted Unangst said that On Wed, Feb 17, 2010 at 5:38 PM, frantisek holop min...@obiit.org wrote: i am trying to make tmux use 256 colors. i have found this: http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html i have

Re: more OT than you think Re: OT, .. but has anyone seen a crontab editor

2010-02-20 Thread frantisek holop
hi there, have a look at webmin, that might have a crontab module. -f -- so easy, a child can do it. child sold seperately.

Re: Shutdown fails intermittently with OpenBSD running off SD MMC card

2010-03-14 Thread frantisek holop
hmm, on Fri, Mar 05, 2010 at 04:46:26PM -0500, nixlists said that On 3/5/10, J.C. Roberts list-...@designtools.org wrote: look for the `-p` flag. Know all about it. The problem is the kernel won't even get to that point - it hangs on syncing disks... stage. this is an issue on my

Re: Caution on Jacek Artymiak books.

2010-03-18 Thread frantisek holop
hmm, on Fri, Mar 12, 2010 at 03:18:30PM -0800, J.C. Roberts said that Also, please do not confuse Jacek Artymiak the book author in question, with the OpenBSD developer, Jacek Masiulaniec (jacekm@) who is giving us all the OpenSMTPd goodness. also, please do not confuse J.C. Roberts with J.C.

crontab last day of the month

2010-04-06 Thread frantisek holop
hi there, what happens if i specify a cronjob like this? 23 59 31 * * $HOME/bin/whatever does cron handle months that dont have 31 days? i am looking for an alternative @monthly, not 0 0 1 * * but the last minutes of the last day of the month. -f -- i have an exceptionally high q.i.

Re: crontab last day of the month

2010-04-06 Thread frantisek holop
hmm, on Tue, Apr 06, 2010 at 11:26:28AM +0200, Jan Stary said that On Apr 06 11:15:26, frantisek holop wrote: hi there, what happens if i specify a cronjob like this? 23 59 31 * * $HOME/bin/whatever Cron will just do what it's told: run whatever at 31.*. 23:59 so i could basically

Re: crontab last day of the month

2010-04-06 Thread frantisek holop
hmm, on Tue, Apr 06, 2010 at 12:20:03PM +0200, Bret S. Lambert said that Not to be a dick, but what does one second buy you, really? it's not really about that second. actually, i dont mind losing some 5 minutes even from the current month. my goal is to have log files that end at a certain

Re: crontab last day of the month

2010-04-06 Thread frantisek holop
hmm, on Tue, Apr 06, 2010 at 02:40:03PM +0200, Paul de Weerd said that What, really ?! The approach with a simple lookup table: PREVMONTH[1]=dec; PREVMONTH[2]=jan; PREVMONTH[3]=feb PREVMONTH[4]=mar; PREVMONTH[5]=apr; PREVMONTH[6]=may PREVMONTH[7]=jun; PREVMONTH[8]=jul; PREVMONTH[9]=aug

Re: crontab last day of the month

2010-04-06 Thread frantisek holop
hmm, on Tue, Apr 06, 2010 at 09:51:29PM +0200, Paul de Weerd said that So you think it's my problem ? I showed two possible options, both very workable (and easily extensible to add something simple as a year). Yet... ...you choose to complain about the options I provided. i am humbled by

Re: crontab last day of the month

2010-04-06 Thread frantisek holop
hmm, on Tue, Apr 06, 2010 at 03:01:17PM +0200, Bret S. Lambert said that I'm still not seeing what you're really getting, here; you're just pushing that spillover from one end to another, which are just as easily rationalized as the casualties of log rotation. i get the correct name/number of

mandoc issue?

2010-04-07 Thread frantisek holop
hi there, $ perldoc perllol (or man perllol) ... An array of an array is just a regular old array c...@aoa that you can get at with two subscripts, like CW$AoA[3][2]. Here's a declaration of the array: ... expected: An array of an array is just a regular old array

can donate a eeepc 701 battery

2010-08-19 Thread frantisek holop
hi there, i have an extra battery for the eeepc701, the original one that came with it. contact me offlist if interested. developers go to the top of the list :] -f -- dos tip: don't use dos.

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Mon, Oct 11, 2010 at 07:12:57AM -0500, Jacob Yocom-Piatt said that use linux, you are clearly a moron, it will suit you better. your civility on this mailing list is decreasing by the day. it was much better when you started. perhaps now you feel you earned some right to call people

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Tue, Oct 12, 2010 at 08:33:55AM -0500, Jacob Yocom-Piatt said that trolls abound on this list, you can count yourself amongst their numbers. why not harass any of the other people who, like me, were rightly critical of dmitry? you do it because you are a troll. i know, asking for a bit

Re: MPlayer man page

2010-10-12 Thread frantisek holop
hmm, on Tue, Oct 12, 2010 at 11:28:19PM +, Jacob Meuser said that On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is

high Ierrs in netstat -ni

2010-10-16 Thread frantisek holop
hi there, i am runing -current with iwn and i notice a high number of Ierr's in netstat -ni. 0 would be ideal, right? i am using the latest firmware from iwn(4) $ netstat -ni NameMtu Network Address Ipkts IerrsOpkts Oerrs Colls lo0 33200 Link

ACPI memory leak?

2010-10-16 Thread frantisek holop
i have been watching systat malloc for a while, and the ACPI line keeps growing, steadily. is this normal operation, or a sign of memory leak? TYPE INUSEMEMUSE HIGHUSELIMIT REQUESTS TYPE LI KERN LI BUCKETS ACPI 11614731632 736880 40265318

Re: i386 and amd64 snapshots - kernel SHA256 mismatch

2010-10-16 Thread frantisek holop
hmm, on Sat, Oct 16, 2010 at 07:09:03AM +0200, roberth said that On Fri, 15 Oct 2010 21:46:41 -0700 patrick keshishian pkesh...@gmail.com wrote: as this, where -- the mortal is accused to be a whiner. (...) the key words were every time this happens ... if you find an error or

Re: ACPI memory leak?

2010-10-21 Thread frantisek holop
hmm, on Sun, Oct 17, 2010 at 02:46:51AM +0200, frantisek holop said that ACPI 17407 1102384 1107632 402653182673108 0 0 |.|. ... ACPI 18321 1160880 1166128 402653182842846 0 0 |.|. and counting... ... TYPE

Re: high Ierrs in netstat -ni

2010-10-26 Thread frantisek holop
handshake to xx:xx:xx:xx:xx:xx nfo |grep iwn iwn-firmware-5.5Firmware binary images for iwn driver sorry about the late answer, hope it helps. -f On 10/17/10, frantisek holop min...@obiit.org wrote: hi there, i am runing -current with iwn and i notice a high number of Ierr's in netstat

ifconfig debug in the man page

2010-10-26 Thread frantisek holop
hello, ifconfig(9) says about debug: debug Enable driver-dependent debugging code; usually, this turns on extra console error logging. -debug Disable driver-dependent debugging code. but it seems like debug actually takes a debug mask

Re: Linux-2.6.36-libre: turning Linux's Free Bait into Free Software

2010-11-09 Thread frantisek holop
hmm, on Tue, Nov 09, 2010 at 03:53:59PM -0500, Brynet said that Why are you sending this crap here? the inclusion of binary firmware/microcode in OpenBSD is considered acceptable so long as the license allows for redistribution. maybe you could read first what's it about... perhaps it would

Re: An OpenBSD smartphone

2010-11-19 Thread frantisek holop
hmm, on Wed, Nov 17, 2010 at 04:51:00PM -0600, Marko Kraljevic said that The most open phone I'm aware of is Nokia N900. It runs Maemo, and can http://wiki.geeksphone.com/en/index.php?title=Main_Page -f -- go and catch a falling star...

the new rc.d subsystem

2010-12-10 Thread frantisek holop
hi there, i am making the transition to the new rc.d thingie and of course am happy to see the system becoming a bit more admin friendly. is there an official way to start a service as someone else? most of my daemons for example use the service login class. for example, in the old rc.local:

<    1   2   3   4   5   6   >