File ownership being changed to root:wheel ownership after copying to samba server
A very strange problem just started happening with Samba after I upgraded to version samba34-3.4.9 on FreeBSD 8.0-STABLE. Let's say my username is foobar. I copy a file named To Fix.txt from a windows desktop machine to a samba share. In the log it shows the following: [2010/10/28 00:53:16, 2] lib/access.c:406(check_access) Allowed connection from 172.16.0.5 (172.16.0.5) [2010/10/28 00:53:24, 2] smbd/open.c:580(open_file) foobar opened file Working/To Fix.txt read=Yes write=Yes (numopen=2) [2010/10/28 00:53:24, 2] smbd/close.c:612(close_normal_file) foobar closed file Working/To Fix.txt (numopen=1) NT_STATUS_OK Then when I look at the owner:group of the file that was just copied it shows: -rwxr-xr-x 1 root wheel1422 Oct 27 16:07 To Fix.txt* I cannot figure out why the file is owned by root:wheel when it should be foobar:foobar. Anyone have any ideas? -Troy ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
apr vulnerability
On one of the servers I manage, portaudit claims: portaudit Affected package: apr-0.9.19.0.9.19 Type of problem: apr -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/eb9212f7-526b-11de-bbf2-001b77d09812.html Following the above links, I find that apr1.3.5.1.3.7 is involved. I see on Freshports that apr was updated on 2010/10/20 to address a security risk: the link is: http://www.vuxml.org/freebsd/dd943fbb-d0fe-11df-95a8-00219b0fc4d8.html There, however, it says apr00.9.19.0.9.19 is involved. So, I'm confused: is apr-0.9.19.0.9.19 (which is the one I have) vulnerable or not? bye Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: apr vulnerability
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/10 07:29, Andrea Venturoli wrote: On one of the servers I manage, portaudit claims: portaudit Affected package: apr-0.9.19.0.9.19 Type of problem: apr -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/eb9212f7-526b-11de-bbf2-001b77d09812.html Following the above links, I find that apr1.3.5.1.3.7 is involved. I see on Freshports that apr was updated on 2010/10/20 to address a security risk: the link is: http://www.vuxml.org/freebsd/dd943fbb-d0fe-11df-95a8-00219b0fc4d8.html There, however, it says apr00.9.19.0.9.19 is involved. So, I'm confused: is apr-0.9.19.0.9.19 (which is the one I have) vulnerable or not? apr has 3 tracks: devel/apr0 - apr0: legacy: apr/0.9.19, apr-util/0.9.19 devel/apr1 - apr1: ga: apr/1.3.5, apr-util/1.3.7 devel/apr2 - apr2: devel not released yet neither devel/apr0 or devel/apr1 are vunerable. devel/apr2 needs to be updated to a newer snapshot. To fix your error, the PKGNAME for devel/apr0 needs to be updated to match the security/vuxml entry. I should able to get to that Friday during $work time. - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFMySy2dbiP+9ubjBwRArPPAJ9qVkmlzYSy0oCetYFao8vfSKHTswCePFiK jCyftRKJ6ki9NcQbmAohVzs= =+Eqs -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
leaking of memory in samba4wins
Hello. We are using port of samba4wins, but it is continuously suffering of memory leak. Output of top is sorting by size: last pid: 11959; load averages: 0.00, 0.02, 0.00 up 63+03:16:15 10:29:10 34 processes: 1 running, 33 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 45M Active, 14M Inact, 50M Wired, 8356K Cache, 22M Buf, 3500K Free Swap: 111M Total, 6160K Used, 105M Free, 5% Inuse PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 11958 root 1 40 34796K 32188K kqread 0:00 0.00% smbd4wins 11959 root 1 40 34796K 32188K kqread 0:00 0.00% smbd4wins 11957 root 1 40 34796K 32172K kqread 0:00 0.00% smbd4wins 11956 root 1 40 34760K 32056K kqread 0:00 0.00% smbd4wins 8184 root 1 960 34732K 32116K select 1:44 0.00% smbd4wins %uname -a FreeBSD fb-vm.entnet.local 6.4-STABLE FreeBSD 6.4-STABLE #8 %pkg_info -x samba4wins Information for samba4wins-1.0.7_2: We usually restart samba4wins in two or three weeks. May be need to update port to version 1.0.8 http://ftp.sernet.com/pub/samba4wins/samba4wins-1.0.8-NEWS.txt Thanks for your time and help for debuging memory leak. Rodion. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: exception bash(and few plugins) of munin
On Wednesday, 2010-10-27 at 19:51:37 +0200, Dag-Erling Smørgrav wrote: Ilya A. Arhipov mi...@heavennet.ru writes: Maybe exclude these plugins of Munin and bash:${PORTSDIR}/shells/bash of Makefiles. install bash, for these 5 plugins i think not correct, old version don't have these plugins There are five plugins that use #!@@BASH@@ and one that uses #!/bin/bash. That one is only used to test multigraphs, so it is not really important. But I believe it should be fixed in Munin 1.4.6. I don't see the problem. The munin-node port has no DEPENDS for ports that are required for plugins, e.g. Python, because that would pull in a lot of software the user does not need because he will not use those plugins. Generally, plugins tell you if they are missing something. This will of course not work for interpreters needed to execute the plugin itself. I don't know why revision 1.30 of the port Makefile added bash, but presumably not for scripts that have a shebang of #!/bin/bash... This leaves only munin-check apart from some plugins. Last time I looked, munin-check did not work. Also, munin-check is part of the master, not the node. So there does not seem to be a need to DEPEND on bash for munin-node. I will ask the Munin maintainers to do something about the #!/bin/bash. Lupe Christoph -- | It is a well-known fact in any organisation that, if you want a job| | done, you should give it to someone who is already very busy. | | Terry Pratchett, Unseen Academicals | ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: File ownership being changed to root:wheel ownership after copying to samba server
On Thu, Oct 28, 2010 at 7:57 AM, Troy t...@twisted.net wrote: A very strange problem just started happening with Samba after I upgraded to version samba34-3.4.9 on FreeBSD 8.0-STABLE. Let's say my username is foobar. I copy a file named To Fix.txt from a windows desktop machine to a samba share. In the log it shows the following: [2010/10/28 00:53:16, 2] lib/access.c:406(check_access) Allowed connection from 172.16.0.5 (172.16.0.5) [2010/10/28 00:53:24, 2] smbd/open.c:580(open_file) foobar opened file Working/To Fix.txt read=Yes write=Yes (numopen=2) [2010/10/28 00:53:24, 2] smbd/close.c:612(close_normal_file) foobar closed file Working/To Fix.txt (numopen=1) NT_STATUS_OK Then when I look at the owner:group of the file that was just copied it shows: -rwxr-xr-x 1 root wheel1422 Oct 27 16:07 To Fix.txt* I cannot figure out why the file is owned by root:wheel when it should be foobar:foobar. Anyone have any ideas? Likely a permissions / umask problem. Have you checked for sticky bits on the directory? -Troy ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- mvh Torfinn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: tomcat-6.0.24
On Wed, 2010-10-27 at 20:42 +0200, Alex Dupre wrote: Mike Jakubik ha scritto: Does anyone have a working solution for this? The status command still does not work in tomcat 6.0.29. The above suggestion does not work either. The status command works on tomcat 6/7 ports. Indeed it does, i reinstalled the port and it's working fine now, my startup script wasn't updated previously for some reason it seems. Thanks! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: ports/151747: request to enable emulators/wine on amd64
Synopsis: request to enable emulators/wine on amd64 Responsible-Changed-From-To: ports-freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Thu Oct 28 19:13:54 UTC 2010 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=151747 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
pkg_add -r could be better?
Hi, I've recently started building custom packages and had hoped to consume them locally with 'pkg_add -r'. In short, pkg_add breaks with many of the custom built packages with messages such as: pkg_add: could not find package sqlite3-3.7.2 ! pkg_add: pkg_add of dependency 'nss-3.12.6_3' failed! Upon investigation it looks like 'pkg_add -r' is highly dependent on @pkgdep entries being listed in an order such that dependencies without recursive dependencies come first and satisfy all recursive dependencies lower down. No attempt is made to recursively fetch dependencies remotely so failure to list dependencies in the correct order results in pkg_add failing to find the package file to install. For some reason my custom builds have @pkgdep entries added in an incorrect order. They're all built using 'make package' in a standard ports infrastructure so I can't imagine why the difference, but let me not digress. Anyone else aware of and annoyed with this behaviour of 'pkg_add -r'? Surely it should recursively fetch dependencies instead of relying on the ports infrastructure specially crafting packages? I believe this answers another issue that was annoying me: http://lists.freebsd.org/pipermail/freebsd-ports/2010-October/064047.html Are patches to fix pkg_add welcome, or is there a bigger picture I'm missing? Thanks, Aragon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: pkg_add -r could be better?
On 10/28/10 15:16, Aragon Gouveia wrote: Hi, I've recently started building custom packages and had hoped to consume them locally with 'pkg_add -r'. In short, pkg_add breaks with many of the custom built packages with messages such as: Why are you using -r (which fetches the default packages from freebsd.org/mirrors) in conjunction with custom packages? (I'm not being critical, I just think I'm missing something about what you're doing and trying to achieve.) -- Sean McAfee Senior Systems Engineer ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: snort-2.8.6.1
Hello J, I've done a make clean, and remove all options, it builds OK now. Though I must say that I didn't change any thing in my make.conf or any other make configuration file. So I'm dazzled and confused, not being sure how this is entry got in the Makefiles. Regards, ignace On 10/28/2010 7:25 AM, jhell wrote: On 10/27/2010 17:59, ignace peeters wrote: Hello, I'm trying to build and install snort,running into the following recuring error: /bin/sh /usr/local/bin/libtool --tag=CC--mode=link cc -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -fno-strict-aliasing -Wall -module -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre -L -L/usr/local/lib -L/usr/local/lib -ldnet The error seems to happen in here '-L' as stated by the error below leads me to believe that something in your make.conf, make.conf.local and possibly ports-mgmt/portconf and whatever config files it might use if you use that might be causing it. Can you double check those files and verify that there is no lines that would affect the flags passed to the linker or configure to cause that to appear ? -o libsf_smtp_preproc.la -rpath /usr/local/lib/snort/dynamicpreprocessor smtp_config.lo smtp_log.lo smtp_normalize.lo smtp_util.lo smtp_xlink2state.lo snort_smtp.lo spp_smtp.lo ssl.lo sf_dynamic_preproc_lib.lo sfPolicyUserData.lo -ldnet -lpq -lc -lpcre -lpcap -lm -lm -lpq libtool: link: require no space between `-L' and `-L/usr/local/lib' The error occurs in multiple Makefiles. Can this be corrected in the ports collection. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: pkg_add -r could be better?
Hi, On 10/28/10 22:07, Sean McAfee wrote: Why are you using -r (which fetches the default packages from freebsd.org/mirrors) in conjunction with custom packages? My intention is to serve them to multiple systems from a single FTP/HTTP server. I set PACKAGEROOT/PACKAGESITE to override the default mirror selection. Thanks, Aragon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Exchange ActiveSync account
I realize I'm sort of reviving a dead thread here. I have created a davmail port and am trying it out before I submit the PR. Davmail comes highly recommended by some of my peers as a solution for syncing imap/pop3 clients to MS Exchange's Outlook Web Access (OWA), so will work without needing ActiveSync to be running on the server. Exchange itself offers IMAP support, if your admins have it enabled, but I've seen implementations where HTML emails are converted to text/plain by the server before being served to the IMAP client, which is not very desirable for enterprise email. -john On Thu, Mar 25, 2010 at 9:46 AM, Chuck Swiger cswi...@mac.com wrote: Hi-- On Mar 25, 2010, at 6:16 AM, Jack Raats wrote: I have an Exchange ActiveSync account and I would like to get this mail on my freebsd 7.3-stable server. I donn't haven an imap or pop account, only the information of the activesync account. Can anyone give me a clue how to achieve this? Yes, abandon this proprietary account in favor of something using published Internet RFC standards. As far as I can tell from 30 seconds with the wikipedia entry, there are no freely available implementations which would run on FreeBSD. You can pay for the Outlook connector to Zimbra, which runs on Linux and MacOSX Regards, -- -Chuck ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: pkg_add -r could be better?
On Fri, Oct 29, 2010 at 1:57 AM, Aragon Gouveia ara...@phat.za.net wrote: Hi, On 10/28/10 22:07, Sean McAfee wrote: Why are you using -r (which fetches the default packages from freebsd.org/mirrors) in conjunction with custom packages? My intention is to serve them to multiple systems from a single FTP/HTTP server. I set PACKAGEROOT/PACKAGESITE to override the default mirror selection. It is a known bug that has not been addressed yet. In our own similar setup we run pkg_add twice, if needed, or use portinstall which brings also all those build dependencies that are not really needed. Regards, Panagiotis ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Use of license in ports Makefile
On Wed, 2010-10-27 at 18:52:42 -0400, Carmel wrote: I have a application that I want to port to FreeBSD. It is licensed under the BSD license from what I can understand. In the new port's Makefile, would I just put something like this: license: BSD No; instead: LICENSE=BSD Finally, do I have to use anything other than: .include bsd.port.mk bsd.port.mk pulls in bsd.licenses.mk. -- Sahil Tandon sa...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
MD5 for distinfo has been deprecated
Greetings list erwin@ committed http://www.freebsd.org/cgi/query-pr.cgi?pr=149657, based on work by dougb@ and r...@. It deprecates the use of md5 checksums in distinfo. So here on in, when you run make makesum, the md5 will no longer be generated, only the sha256 checksum. Existing distinfo containing md5 info will silently be ignored. So at this time there is no need re-create distinfo for the sake of removing it, just allow the regular flow of ports updates take care of it. Thomas with portmgr-secretary@ hat on -- Thomas Abthorpe | FreeBSD Committer tabtho...@freebsd.org | http://people.freebsd.org/~tabthorpe pgpZOcXZnEgUY.pgp Description: PGP signature