[autofs] problems with "dirty" UFS2 partitions

2017-08-07 Thread O. Hartmann
Hello, we're running a NanoBSD based appliance which resides on a small SoC and utilises a mSATA SSD for logging, database storage and mail folder. The operating system is recent CURRENT as it is still under development. The problem ist, that from time to time, without knowing or seeing the

Re: [tzsetup] can't set up local timezone if CMOS is set to UTC

2017-08-07 Thread Marius Strobl
On Mon, Aug 07, 2017 at 09:51:15AM +0300, Boris Samorodov wrote: > 07.08.2017 09:44, Boris Samorodov ?: > > Hi Marius, All, > > > > Subj at today's amd64-HEAD. If I use command "sudo tzsetup" and > > choose YES (CMOS clock is set to UTC), the program just quits. > > Yea, my clocks are at UTC

Would O_APPEND for /dev/null be possible?

2017-08-07 Thread Steffen Nurpmeso
I can open a file with "a+", which, for this software, means "O_RDWR | O_APPEND | O_CREAT | n_O_NOFOLLOW" on Linux, Solaris and OpenBSD, but FreeBSD complains, i think because O_APPEND. (I think only because the VM does not survive resumes and other pauses here, which frustrated me over time. It

Re: [tzsetup] can't set up local timezone if CMOS is set to UTC

2017-08-07 Thread Boris Samorodov
07.08.2017 10:54, Trond Endrestøl пишет: On Mon, 7 Aug 2017 09:51+0300, Boris Samorodov wrote: So my question is: how to set up local time zone if CMOS is set to UTC? My timezone is Europe/Oslo, adjust to fit your timezone: rm -f /etc/wall_cmos_clock cp -p /usr/share/zoneinfo/Europe/Oslo

Re: [tzsetup] can't set up local timezone if CMOS is set to UTC

2017-08-07 Thread Trond Endrestøl
On Mon, 7 Aug 2017 09:51+0300, Boris Samorodov wrote: > So my question is: how to set up local time zone if CMOS is set to UTC? My timezone is Europe/Oslo, adjust to fit your timezone: rm -f /etc/wall_cmos_clock cp -p /usr/share/zoneinfo/Europe/Oslo /etc/localtime echo Europe/Oslo >

Re: [tzsetup] can't set up local timezone if CMOS is set to UTC

2017-08-07 Thread Boris Samorodov
07.08.2017 09:44, Boris Samorodov пишет: Hi Marius, All, Subj at today's amd64-HEAD. If I use command "sudo tzsetup" and choose YES (CMOS clock is set to UTC), the program just quits. Yea, my clocks are at UTC but I want to get time at local timezone. :-) I've found a recent commit to tzsetup,

[tzsetup] can't set up local timezone if CMOS is set to UTC

2017-08-07 Thread Boris Samorodov
Hi Marius, All, Subj at today's amd64-HEAD. If I use command "sudo tzsetup" and choose YES (CMOS clock is set to UTC), the program just quits. Yea, my clocks are at UTC but I want to get time at local timezone. :-) I've found a recent commit to tzsetup, is it the cause? -- WBR, Boris Samorodov