Cody Chamberlain | 3 Feb 05:15 2015

system updates question

freebsd friends,

im a relatively new convert from debian linux and am starting to love freebsd more and more. the one thing i am
in need of some advice is: what is the difference / best usage of freebsd-update and pkg to stay up to date?

from my debian world i am coming from, after running apt-get update i had categories of updates grouped by
“security” and “upgrades” - there was also a distribution upgrade that was available….

is running pkg update and pkg upgrade equivalent to debian’s apt-get update / install?

what does freebsd-update update? is there a delineation between just security updates and upgrades?

thanks for the advice to a newbie.
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"
Dewayne Geraghty | 2 Feb 08:44 2015
Picon

Requested to rebuild /usr/lib/crt1.o with fPIC during vsftpd build

While trying to build ftp/vsftpd with different values of -march and
gcc48, I receive this message  (on 10.1Stable r277875M, amd64)
/usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against
`_DYNAMIC' can not be used when making a shared object; recompile with -fPIC

Should I "just" add -fPIC to /usr/src/lib/csu/amd64/Makefile
CFLAGS+=        -fno-omit-frame-pointer -fPIC

What are the likely ramifications?

Detail
cd /usr/ports/ftp/vsftpd && make clean deinstall package
...
/usr/local/bin/gcc48 -o vsftpd main.o utility.o prelogin.o ftpcmdio.o
postlogin.o privsock.o  tunables.o ftpdataio.o secbuf.o ls.o 
postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o  banner.o
filestr.o parseconf.o secutil.o  ascii.o oneprocess.o twoprocess.o
privops.o standalone.o hash.o  tcpwrap.o ipaddrparse.o access.o
features.o readwrite.o opts.o  ssl.o sslslave.o ptracesandbox.o
ftppolicy.o sysutil.o sysdeputil.o  seccompsandbox.o -lssp_nonshared
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -fPIE -pie -Wl,-z,relro
-Wl,-z,now `./vsf_findlibs.sh`

/usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against
`_DYNAMIC' can not be used when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
*** [vsftpd] Error code 1

In this case, I'm using CFLAGS of
(Continue reading)

jenkins-admin | 1 Feb 16:28 2015
Picon

Build failed in Jenkins: FreeBSD_stable_10 #1159

See <https://jenkins.freebsd.org/job/FreeBSD_stable_10/1159/changes>

Changes:

[smh] MFC r276123:
Always sync the global ZFS config cache to reflect the new mosconfig

MFC r277351:
Clean ZFS spa config before syncing

Sponsored by:	Multiplay

[smh] MFC r276027:
Switch zfsboot installer force 4K option to use vfs.zfs.min_auto_ashift=12

MFC r277333:
Fix bsdinstall when working with geli boot disks

Sponsored by:	Multiplay

------------------------------------------
[...truncated 71165 lines...]
printf '#include "SYS.h"\nRSYSCALL(thr_kill2)\n' >> thr_kill2.S
printf  '\t.section .note.GNU-stack,"",%%progbits\n' >>thr_kill2.S
--- shm_open.S ---
printf '#include "compat.h"\n' > shm_open.S
printf '#include "SYS.h"\nRSYSCALL(shm_open)\n' >> shm_open.S
printf  '\t.section .note.GNU-stack,"",%%progbits\n' >>shm_open.S
--- fchmodat.S ---
--- cpuset_setaffinity.S ---
(Continue reading)

John | 1 Feb 15:16 2015

target email marketing

Hi,

You are receiving this email because we wish you to use our target email
marketing service.
We specialize in providing target email marketing services to a number of
businesses all over the world!
Email marketing is one of the best marketing strategies of all time and has
helped many businesses globally achieve their goals, double their profits
and increase their client base.

We have worked on a number of projects and campaigns, all our packages are
tailor made and designed according to your requirements. Increase your
client base and market your product to millions or let us bring the buying
leads for you!

We would love to be your marketing partners, would you be interested in
email marketing services for your product or service? We can always help
your business reach the next level! Our goal is to increase your business
sales 2-5 times than now.

If you would require more information please send us an email and we would
be glad to discuss the project requirements with you! Looking forward to
your positive response.
Remember! It won't sell if nobody knows you have it.

Kind Regards
Email Marketing Specialist
Email: alexliucontact <at> sina.com

-------------------------------------------------
(Continue reading)

Erich Dollansky | 1 Feb 10:51 2015

top, fixed buffer length in utils.c

Hi,

I came across this here in utils.c which is part of top:

/*
 * How do we know that 16 will suffice?
 * Because the biggest number that we
  will
 * ever convert will be 2^32-1, which
 is 10
 * digits.
*/

char *itoa(val)

register int val;

int can be 64 bits on a amd64 machine. Why is the author of this code
so sure that we will never cross the 32 bit boundary?

Erich
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

jenkins-admin | 1 Feb 02:04 2015
Picon

Build failed in Jenkins: FreeBSD_stable_10 #1157

See <https://jenkins.freebsd.org/job/FreeBSD_stable_10/1157/changes>

Changes:

[dim] MFC r273381 (by bapt):

Add support for __cxa_throw_bad_array_new_length in libcxxrt

It is required for use with newer g++49

Differential Revision:	https://reviews.freebsd.org/D982
Reviewed by:	theraven
Approved by:	theraven

MFC r276417:

Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604.

Interesting fixes:
76584a0  Reorganize code to use only 32bit atomic ops for 32bit platforms
30d2ae5  Implement __cxa_throw_bad_array_new_length

Reviewed by:	bapt
Differential Revision: https://reviews.freebsd.org/D1390

------------------------------------------
[...truncated 153701 lines...]
ld -dc -r -o mv.lo mv_stub.o /usr/obj<https://jenkins.freebsd.org/job/FreeBSD_stable_10/ws/rescue/rescue//builds/FreeBSD_stable_10/bin/mv/mv.o>
--- lib.all__D ---
--- libbsdxml_p.a ---
(Continue reading)

Charles Sprickman | 31 Jan 00:22 2015
Picon
Picon

8.4-p23 zfs panic

Howdy,

I have a box that had been running 8.4-p1 for about a year and a half with no issues.  Pretty standard 2U
Supermicro box, ZFS-based setup with a few jails.  Mainly used to store backups and other utility tasks. 
Most backups happen with rsync, but two vmware boxes nfs mount this host and dump snapshots to it.  It also
runs poudriere builds when that time rolls around.

Two days ago I updated to 8.4-p23.  I ran a few large poudriere builds the night before last, and then queued a
few more last night.  Overnight the box paniced (and in the annoying way where it does not automatically
reboot nor generate a dump).

Any known issues that I’ve missed?  What sorts of zfs changes have gone on between p1 and p23?

Wish I had more info, but without a dump, I don’t know what else I can share.  I think it’s safe to assume a
poudriere build was in-progress, finishing, or starting when the panic occurred.

Image of monitor as remote hands found it here:

http://i.imgur.com/hwOVFyu.jpg

OCR of same:

FreeBSD/amd64 (trunk.bway.net) (ttyv0) 
login: panic: solaris assert: dsl_prop_unregister(ds, "xattr", xattr_changed_cb, zfsvfs) == 0, file:
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c,
line: 1218 
cpuid = 1 
Uptime: 2d18h38041s 
Cannot dump. Device not defined or unavailable. 
Automatic reboot in 15 seconds - press a key on the console to abort
(Continue reading)

Novaluz | 30 Jan 18:52 2015

Velas Votivas

Velas Votivas
* 
* 
* 

 [http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7625,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="86" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7626,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/religiosas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="89" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7627,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="92" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7628,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/liturgicas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="105" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7629,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/decorativas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzmso-table-rspace:
0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"
valign="top">

Vela de 7 dias que DURA 7 DIAS,
A NOVALUZ TEM!

 [http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7630,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
567px;margin: 0px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="550" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,194181,7631,bd546ac46117648f045c36d15fecc1b8,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/religiosas/protecao.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
424px;margin: 0px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="550" />
(Continue reading)

Novaluz | 30 Jan 18:41 2015

Velas Votivas

Velas Votivas
* 
* 
* 

 [http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7625,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="86" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7626,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/religiosas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="89" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7627,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="92" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7628,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/liturgicas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
99px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="105" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7629,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/decorativas.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzmso-table-rspace:
0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"
valign="top">

Vela de 7 dias que DURA 7 DIAS,
A NOVALUZ TEM!

 [http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7630,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
567px;margin: 0px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="550" />
[http://trk.promocat.expvtinboxonline.com/index.dma/DmaClick?20214,428,240922,7631,197fa655e2cfd09376dc0c8f59bdb118,[DMA6_ENCODE_URL]http://velasnovaluz.com/velas/religiosas/protecao.html?utm_source=Virtual_Target&utm_medium=Email&utm_content=&utm_campaign=novaLuzheight:
424px;margin: 0px;border: 0;outline: none;text-decoration:
none;-ms-interpolation-mode: bicubic;" width="550" />
(Continue reading)

Marko Cupać | 30 Jan 14:50 2015

freebsd-update and lib32

Hi,

for years I've been leaving default 'lib32' option during initial
install of FreeBSD selected, but now I am experimenting with a server
which will be 64-bit only.

I have noticed that, after initial install of FreeBSD 10.1-RELEASE
without lib32 selected, /usr/lib32 folder is created nevertheless,
containing 3 empty dirs: dtrace, i18n and private. However, running
freebsd-update on such system pulls a bunch of files into /usr/lib32
and its subdirs while updating to FreeBSD 10.1-RELEASE-p5.

Are those files really necessary on 64-bit only system?

Thank you in advance.
--

-- 
Marko Cupać
https://www.mimar.rs
_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"
Shane Ambler | 30 Jan 03:50 2015

Odd USB failure

I have an odd USB failure happening at the moment. This is only failing
today so may not repeat after the next restart. I restarted 16 hours
ago after a power failure, this would be first usage after power out.

I have some USB memsticks that I have been using regularly, one is a
memorex 8GB and one is a no-name 8GB (I have two of these sticks that
fail the same).

Earlier I inserted the no-name stick and it failed to work showing
errors in the console. I can insert the memorex into the same port and
it works. I can also insert the failing stick into an empty USB3 port
at the back and it worked fine, but still fails back in the front port
(this is a port on the front of the case to an internal connector)

I also have an Alesis QX49 midi keyboard physically connected to a usb
port but is currently switched off at the device, turning it on didn't
alter the stick showing up.

I stopped hald and tried the stick without any change. I run hald only
to get the wacom bamboo working.

Any other data can be provided on request.

Motherboard is an ASUS P8H61-M LE/USB3 - dmesg at
http://shaneware.biz/freebsddebugdata/boot.dmesg

FreeBSD leader.local 10.1-STABLE FreeBSD 10.1-STABLE #1 r277318: Tue Jan 
20 01:57:21 ACDT 2015     root <at> leader.local:/usr/obj/usr/src/sys/GENERIC 
  amd64

(Continue reading)


Gmane