Re: mtree: line 21: unknown user auditdistd

2013-10-02 Thread Trond Endrestøl
On Tue, 1 Oct 2013 12:19-0400, alexus wrote:

 I've re-run pwd_mkdb now auditdistd user is there, yet back to mergemaster
 issues:
 
 [root@f9 ~]# pwd_mkdb -p /etc/master.passwd
 [root@f9 ~]# id auditdistd
 uid=78(auditdistd) gid=77(audit) groups=77(audit)
 [root@f9 ~]# mergemaster
 
 *** Creating the temporary root environment in /var/tmp/temproot
  *** /var/tmp/temproot ready for use
  *** Creating and populating directory structure in /var/tmp/temproot
 
 install: illegal option -- l
 usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 
   *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
   the temproot environment
 
 [root@f9 ~]#

You need to semi-manually install a new version of mergemaster:

cd /usr/src/usr.sbin/mergemaster  make install

See the 20130430 entry in /usr/src/UPDATING.

 On Tue, Oct 1, 2013 at 11:52 AM, alexus ale...@gmail.com wrote:
 
  I even sort of have that user...
 
  f9# grep auditdistd /etc/*passwd
  /etc/master.passwd:auditdistd:*:78:77::0:0:Auditdistd unprivileged
  user:/var/empty:/usr/sbin/nologin
  /etc/passwd:auditdistd:*:78:77:Auditdistd unprivileged
  user:/var/empty:/usr/sbin/nologin
  f9#
 
  On Tue, Oct 1, 2013 at 11:32 AM, alexus ale...@gmail.com wrote:
 
  I've tried upgrading my FreeBSD 9.1 to 9.2 via freebsd-update and I guess
  I did something wrong and now I'm trying to run mergemaster and I'm unable
  to do so, although I do remember merging passwd file w/ new user auditdistd
 
  how can I re-run mergemaster?
 
  f9# mergemaster
 
  *** The directory specified for the temporary root environment,
  /var/tmp/temproot, exists.  This can be a security risk if untrusted
  users have access to the system.
 
Use 'd' to delete the old /var/tmp/temproot and continue
Use 't' to select a new temporary root directory
Use 'e' to exit mergemaster
 
Default is to use /var/tmp/temproot as is
 
  How should I deal with this? [Use the existing /var/tmp/temproot]
 
 *** Leaving /var/tmp/temproot intact
 
  *** Creating the temporary root environment in /var/tmp/temproot
   *** /var/tmp/temproot ready for use
   *** Creating and populating directory structure in /var/tmp/temproot
 
  mtree: line 21: unknown user auditdistd
 
*** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
the temproot environment
 
  f9#
 
  --
  http://alexus.org/

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: mtree: line 21: unknown user auditdistd

2013-10-02 Thread Alexandre
On Wed, Oct 2, 2013 at 8:01 AM, Trond Endrestøl 
trond.endres...@fagskolen.gjovik.no wrote:

 On Tue, 1 Oct 2013 12:19-0400, alexus wrote:

  I've re-run pwd_mkdb now auditdistd user is there, yet back to
 mergemaster
  issues:
 
  [root@f9 ~]# pwd_mkdb -p /etc/master.passwd
  [root@f9 ~]# id auditdistd
  uid=78(auditdistd) gid=77(audit) groups=77(audit)
  [root@f9 ~]# mergemaster
 
  *** Creating the temporary root environment in /var/tmp/temproot
   *** /var/tmp/temproot ready for use
   *** Creating and populating directory structure in /var/tmp/temproot
 
  install: illegal option -- l
  usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 [-o owner] file1 file2
 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 [-o owner] file1 ... fileN directory
 install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 
*** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
the temproot environment
 
  [root@f9 ~]#

 You need to semi-manually install a new version of mergemaster:

 cd /usr/src/usr.sbin/mergemaster  make install

 See the 20130430 entry in /usr/src/UPDATING.

  On Tue, Oct 1, 2013 at 11:52 AM, alexus ale...@gmail.com wrote:
 
   I even sort of have that user...
  
   f9# grep auditdistd /etc/*passwd
   /etc/master.passwd:auditdistd:*:78:77::0:0:Auditdistd unprivileged
   user:/var/empty:/usr/sbin/nologin
   /etc/passwd:auditdistd:*:78:77:Auditdistd unprivileged
   user:/var/empty:/usr/sbin/nologin
   f9#
  
   On Tue, Oct 1, 2013 at 11:32 AM, alexus ale...@gmail.com wrote:
  
   I've tried upgrading my FreeBSD 9.1 to 9.2 via freebsd-update and I
 guess
   I did something wrong and now I'm trying to run mergemaster and I'm
 unable
   to do so, although I do remember merging passwd file w/ new user
 auditdistd
  
   how can I re-run mergemaster?
  
   f9# mergemaster
  
   *** The directory specified for the temporary root environment,
   /var/tmp/temproot, exists.  This can be a security risk if
 untrusted
   users have access to the system.
  
 Use 'd' to delete the old /var/tmp/temproot and continue
 Use 't' to select a new temporary root directory
 Use 'e' to exit mergemaster
  
 Default is to use /var/tmp/temproot as is
  
   How should I deal with this? [Use the existing /var/tmp/temproot]
  
  *** Leaving /var/tmp/temproot intact
  
   *** Creating the temporary root environment in /var/tmp/temproot
*** /var/tmp/temproot ready for use
*** Creating and populating directory structure in /var/tmp/temproot
  
   mtree: line 21: unknown user auditdistd
  
 *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
 the temproot environment
  
   f9#
  
   --
   http://alexus.org/

 --
 +---++
 | Vennlig hilsen,   | Best regards,  |
 | Trond Endrestøl,  | Trond Endrestøl,   |
 | IT-ansvarlig, | System administrator,  |
 | Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
 | tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
 | sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
 +---++
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

Hi Trond and Alexus,
The tool used by freebsd-update to merge system files is merge(1), not
mergemaster(8).
See manpage merge(1)
http://www.freebsd.org/cgi/man.cgi?query=mergeapropos=0sektion=0manpath=FreeBSD+9.2-RELEASEarch=defaultformat=html
for
more information.
I use mergemaster(8) tool if I deal with sources system upgrade process.

Kind regards,
Alexandre
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 19:09, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able to
work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from my
environment, that's causing this.  Or is the port install not doing
something that it should be doing?


Never faced this, itweb-javaws works for me without library shuffling 
but with one tiny fix to startup script: `exec ${COMMAND[@]}`.


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not doing
something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source and
ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all I
get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread dweimer

On 10/02/2013 6:35 am, Volodymyr Kostyrko wrote:

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able 
to
determine that its looking for the library under 
/usr/local/lib/amd64,

the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the 
amd64

sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not 
doing

something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source 
and

ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all 
I

get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...


Thank you, this fixed that part, silly me, I was searching the help for 
things like -nosplash, and disable splash screen.


Didn't realize that this was the same thing:
  -headless Disables download window, other UIs.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


DS-Lite

2013-10-02 Thread Pietro Paolini
I am struggling in finding some documentation which can help me to 
understand how to configure an DS-Lite ip tunnel ipv4-ipv6 |netowrk| 
ipv6-ipv4, my topology is composed by a Linux and a FreeBSD machine.


Linux (( TUNNEL )) FreeBSD

I know how to configure it in Linux but I have problem in retrieving 
those informations for FreeBSD, someone can point me on that ?


Thanks a lot.



Pietro Paolini
pulsarpie...@aol.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


zfs flag denoting unclean shutdown?

2013-10-02 Thread Nikos Vassiliadis

Hi,

Is there a way to know if a zfs pool had an unclean shutdown?
An attribute or maybe something during mount time similar to what ufs
does (WARNING: / was not properly dismounted)?

Thanks, Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: zfs flag denoting unclean shutdown?

2013-10-02 Thread Matthew Seaman
On 02/10/2013 16:34, Nikos Vassiliadis wrote:
 Is there a way to know if a zfs pool had an unclean shutdown?
 An attribute or maybe something during mount time similar to what ufs
 does (WARNING: / was not properly dismounted)?

Other than looking at the system logs for evidence of an abnormal
shutdown, no.  (Absence of anything in the logs is pretty good evidence
for the system falling over pretty hard... Usually something to do with
the power being turned off.)

However, due to the design of ZFS unclean shutdowns like this are
nowhere near as problematic as on UFS.  Basically, you're guaranteed
that what is written on disk is always consistent.  You might lose a few
transactions -- essentially the last few seconds of file system activity
-- but that doesn't usually make a great deal of difference after the
system reboots again.  Oh, yeah -- absolutely no time will be needed to
be spent cleaning and repairing filesystems: with ZFS, reboot after
crash is as fast as a normal reboot.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-02 Thread Winston
Summary:

Where is the (U.S.) pkg(ng) repository for amd64 9.2-RELEASE (i.e.,
what's the right URI for PACKAGESITE in pkg.conf)?


Things I tried that didn't work:

* pkg_add -r pkg  didn't create /usr/local/etc/pkg.conf

* pkg.conf.sample suggests http://pkg.freebsd.org/${ABI}/latest;,
  but the host name pkg.freebsd.org does not DNS resolve for me.

* URLs using pkgbeta.FreeBSD.org didn't work, and
  http://pkgbeta.FreeBSD.org/  itself says
  Currently this site only contains pkg bootstrap files!

Thanks!
 -WBE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


firefox: getting back several URL's as tabs?

2013-10-02 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.


guys,

well, it just happened again.  when I closed an unwanted URL, the
other two instances of firefox vanished.  I know the Hard way of
getting them all back, but does is there an easy way of refilling 
both browsers?  oh, and if there is somewhere I can click to save 
my bookmarks by-hand, please let me know   before my shoulder
falls off!

thanks in advance,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is pkg repository for 9.2-RELEASE (amd64)?

2013-10-02 Thread Matthew Seaman
On 02/10/2013 21:07, Winston wrote:
 Summary:
 
 Where is the (U.S.) pkg(ng) repository for amd64 9.2-RELEASE (i.e.,
 what's the right URI for PACKAGESITE in pkg.conf)?
 
 
 Things I tried that didn't work:
 
 * pkg_add -r pkg  didn't create /usr/local/etc/pkg.conf
 
 * pkg.conf.sample suggests http://pkg.freebsd.org/${ABI}/latest;,
   but the host name pkg.freebsd.org does not DNS resolve for me.
 
 * URLs using pkgbeta.FreeBSD.org didn't work, and
   http://pkgbeta.FreeBSD.org/  itself says
   Currently this site only contains pkg bootstrap files!

Yeah -- and the bootstrap pkg on pkgbeta is severely out of date and has
some problems with the up to date DB schema.

Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest

That's the kit that will form the official FreeBSD package repository;
it just lacks the crypto bits for signing the packages, which is why
it's calling itself 'pkg-test'

Oh -- there isn't an A record in the DNS for pkg-test.freebsd.org --
look up a SRV record for _http._tcp.pkg-test.freebsd.org instead.

(Yes, this is counter to RFC 2616.
https://github.com/freebsd/pkg/issues/550  There are moves afoot to
change to a new set of URL schemes: pkg+http://, pkg+https://,
pkg+ssh:// etc. but these are still under development)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature