Re: Unable to upgrade packages on FreeBSD
On Tue, Jan 31, 2012 at 01:52:19AM +0100, Polytropon wrote: On Mon, 30 Jan 2012 18:40:50 -0500, David Jackson wrote: On Mon, Jan 30, 2012 at 5:49 PM, Polytropon wrote: Other things to keep in mind are language settings. One example is OpenOffice which needs to have the language setting at compile time, especially if you're not using the english language. You could compile a version of that for each language and I think thats what Ubuntu does, or, just compile maybe top 1 or 2 most commonly used language version and then other versions could be user compiled. There are, I think... at least 10 languages available, and combine this with Gnome, KDE and CUPS support OFF or ON, and you have 10*2*2*2 = 80 packages, and still no scheme to name them. :-) Don't forget compiling for multiple architectures. That adds more options -- and, unlike some of those other options, compiling for different architectures is often actually a mutually-exclusive option set. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] ___ 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: make release custom kernel conf not found
On Mon, Jan 30, 2012 at 10:39 AM, Rick Miller vmil...@hostileadmin.com wrote: Thanks Rob... I put the kernel conf file in the source tree as opposed to linking to it and it certainly did compile the custom kernel. What confuses me (not that I expect you to have the answer) is that Chapter 9 of the handbook has a tip that recommends keeping the kernel config in /root/kernels and symlinking to it from the source tree. If it doesn't work, why is there a tip recommending this practice? I think the idea is to avoid accidentally deleting it - sometimes people who get weird build errors are told to delete /usr/src and /usr/obj, to make sure everything is in a consistent state. The symlink will work fine for normal builds, which is what the handbook covers, but the release building process installs a new copy of the base system and then runs within it, to try and ensure a completely stock environment. Any changes you made to the main system (make.conf, custom kernels, etc.) are intentionally ignored. As Lowell points out, the right way to do this is make either a patch or a script to add your changes and have the release framework apply it. Copying it in is the quick and dirty fix. -- Rob Farmer ___ 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: Unable to upgrade packages on FreeBSD
At 00:45 31/01/2012, RW wrote: Making it work like Ubuntu would need a lot more hardware and a lot more work from port maintainers to support branching the ports tree. At the moment there aren't really enough to maintain one tree. Making a resume/summary of the thread; more hardware, time and people are needed to maintain a package system up-to-date. I have a free server (amd64 freebsd8.2p6), if i built all packages with their standard options, that's without make config, Can i upload them to the official package ftp? Should i make my own un-official ftp package server to allow others download them? Perhaps it's not clear, this answer has ironic mode off, joking mode off and i want to collaborate making the standard packages. When i needed the package system? When i don't want a downtime if a server must be reinstalled. Compiling everything takes too much time for non critical ports (bash, gcc4.6, ...), even at first i pkg_add important apps, when everything is working, i update them by ports. L ___ 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: Unable to upgrade packages on FreeBSD
On 31/01/2012 09:56, Eduardo Morras wrote: Making a resume/summary of the thread; more hardware, time and people are needed to maintain a package system up-to-date. I have a free server (amd64 freebsd8.2p6), if i built all packages with their standard options, that's without make config, Can i upload them to the official package ftp? Should i make my own un-official ftp package server to allow others download them? Perhaps it's not clear, this answer has ironic mode off, joking mode off and i want to collaborate making the standard packages. While your offer is made with the best of intentions, I doubt the project would feel able take you up on it. The problem is simply one of security -- while crowd-sourcing package compilation would be a pretty sweet technical solution to much of the scaling and resource cost problems, it offers far too much opportunity for people up-to-no-good to be able to introduce trojans, spyware and so forth. Setting up your own package build system and ftp site -- well, there's nothing preventing you from doing that, but again, it's a trust thing. Unless people can believe in the provenance of the packages you provide, it's not going to be sensible for them to download from you. So it's only people that know you personally, friends, relations, workmates and people that know and trust people willing to trust you; they would be the initial audience for your new package building and distribution thing. Even if you had an enormous social circle all of whom happened to be avid FreeBSD users, I doubt that would actually provide enough demand to make the whole venture worthwhile. The best ways to contribute are (a) to make a donation via the FreeBSD Foundation and (b) take up maintainership on some ports. As ever in any project of this type, most of the work goes through smoothly and it's that minority of problem ports that eat up so much of the time. Maintained ports have fewer problems. Some of the more paranoid amongst you may be asking yourselves if, in the light of what I say above, you really can trust packages from anywhere other than the official ftp.freebsd.org server. Locations like (for example) ftp.uk.freebsd.org (which, although blessed as an official mirror site, is run by a completely different set of people.) The answer is somewhere on the 'probably -- maybe' continuum. Can you actually trust the people running the mirror site? (In the case of ftp.uk.freebsd.org, as of a day or so ago that's the UK mirror service run by the University of Kent who are clearly of unimpeachable reputation.) Implementing digital signatures on packages would go a long way to removing that uncertainty. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Port upgrade change ownership of port installation directory and files
On 1/30/12 8:31 PM, Lubomir Matousek wrote: On 1/30/12 2:24 PM, Lubomir Matousek wrote: I changed apache default user from www to wbserv. I changed also file ownership from www to wbserv. Is there any way for portupgrade, that the ownership of installed port files remains the same? It means wbserv? On 30.1.2012 14:52, Damien Fleuriot wrote: You'll want to be more specific, what files do you refer to ? If you're talking about the binaries and modules, they're owned by root so this is a non issue. If you're talking about the configuration files, they're also owned by root. If you're talking about SSL certificates you've installed them yourself and a portupgrade will not change their perms. If you're talking about logfiles, these are your responsibility and, again, the port won't change them. Last, if you're talking about your HTML/php/whatever files, these are also your responsiblity and untouched by the port. Sorry for not being more specific. After port upgrade portupgrade -rR squirrealmail I have to chown -R wbserv:wbserv /var/spool/sqirrelmail Or after upgrade of postfixadmin: portupfrade -rR postfixadmin I have to change perms again: chown -R wbserv:wbserv /usr/local/www/postfixadmin What is the best aprroach? To specify correct file ownership at make.conf? How can I do that? Lubomir As pointed out by RW, make use of the WWWOWN and WWWGRP environment variables in your /etc/make.conf , that should solve the problem for you. ___ 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
[Fwd: [HEADSUP][CFT] pkgng beta1 is out]
having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? -- Michel Talon ta...@lpthe.jussieu.fr ___ 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
Serial Console activation causes system freeze (8.2-Stable)
Greetings, Ι have followed the guide about setting up the serial console: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html Ι have done this many times with no problems to other servers. For the first time I have a very strange problem in this particular server: After seeing some kernel messages, Ι see garbage characters, the machine hangs completely and only a hard reset can be done. The garbage characters appear just before the uart initilization. The last messages that I can see in the serial console: atapci2: Intel 6300ESB SATA150 controller port 0xa800-0xa807,0xa480-0xa483,0xa400-0xa407,0xa080-0xa083,0xa000-0xa00f irq 18 at device 31.2 on pci0 atapci2: [ITHREAD] ata5: ATA channel 0 on atapci2 ata5: [ITHREAD] ata6: ATA channel 1 on atapci2 ata6: [ITHREAD] pci0: serial bus, SMBus at device 31.3 (no driver attached) acpi_button0: Power Button on acpi0 atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] �� ��?� ��?� ��?� ��?M/���~/�~���M/�~���M�{�{�?'�'?���?u��u~^D == at this point the whole machine freezes! (notice that in the previous case the kernel hangs before any getty is initialized) If I disable the serial console in loader.conf and boot.config then I have normal boot: atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] uart0: 16550 or compatible port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: 16550 or compatible port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] Details: FreeBSD unix3.icte.uowm.gr 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jan 16 15:54:50 EET 2012 root@unix_2:/usr/obj/usr/src/sys/unix amd64 CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3391.51-MHz K8-class CPU) Origin = GenuineIntel Id = 0xf4a Family = f Model = 4 Stepping = 10 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x649dSSE3,DTES64,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8243875840 (7861 MB) ACPI APIC Table: A M I OEMAPIC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads Please help me... Regards, BB ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
On Tue, Jan 31, 2012 at 11:52:05AM +0100, Michel Talon wrote: having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? I mean something more sophisticated, the simple thing having things in the right order is hopefuly already done in pkgng :) I mean more something that is able to go further like resolving some conflicts by changing the ordering automatically, like offerting the ability to depends on provides e.g. depends on http_server instead of depending on apache/lighttpd/nginx/thehttpyouprefer or begin able to depends on feature. An even more. What we have now is really enough to be able to go into a full binary world (and it does really work nicely) but having a real complex sat solver, can help us go forward and imagine an even better package tool. regards, Bapt pgpNNE48ZGyDu.pgp Description: PGP signature
Re: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
On Tue, Jan 31, 2012 at 5:59 AM, Baptiste Daroussin b...@freebsd.orgwrote: On Tue, Jan 31, 2012 at 11:52:05AM +0100, Michel Talon wrote: having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? I mean something more sophisticated, the simple thing having things in the right order is hopefuly already done in pkgng :) I mean more something that is able to go further like resolving some conflicts by changing the ordering automatically, like offerting the ability to depends on provides e.g. depends on http_server instead of depending on apache/lighttpd/nginx/thehttpyouprefer or begin able to depends on feature. An even more. What we have now is really enough to be able to go into a full binary world (and it does really work nicely) but having a real complex sat solver, can help us go forward and imagine an even better package tool. regards, Bapt sat solver : http://en.wikipedia.org/wiki/ZYpp#SAT_solver_integration http://en.wikipedia.org/wiki/Boolean_satisfiability_problem http://en.wikipedia.org/wiki/Computational_complexity_theory Thank you very much . Mehmet Erol Sanliturk ___ 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
release 9.0 and fvwm
I recently installed fvwm (i.e. /usr/ports/x11-wm/fvwm) under FreeBSD release 9.0 and noticed some problems. Fvwm consumes all available cpu time. The GoodStuff and FvwmWinList modules don't work. Otherwise it seems to work ok. Has anyone noticed similar behavior? (Is there a fix?) The fvwm port does not seem to have changed since FreeBSD release 8.1 when it was still working correctly. Dan Strick mla_str...@att.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
Re: make release custom kernel conf not found
Thanks Rob and Lowell, I will keep this information handy. It was helpful. On Tue, Jan 31, 2012 at 4:22 AM, Rob Farmer rfar...@predatorlabs.net wrote: On Mon, Jan 30, 2012 at 10:39 AM, Rick Miller vmil...@hostileadmin.com wrote: Thanks Rob... I put the kernel conf file in the source tree as opposed to linking to it and it certainly did compile the custom kernel. What confuses me (not that I expect you to have the answer) is that Chapter 9 of the handbook has a tip that recommends keeping the kernel config in /root/kernels and symlinking to it from the source tree. If it doesn't work, why is there a tip recommending this practice? I think the idea is to avoid accidentally deleting it - sometimes people who get weird build errors are told to delete /usr/src and /usr/obj, to make sure everything is in a consistent state. The symlink will work fine for normal builds, which is what the handbook covers, but the release building process installs a new copy of the base system and then runs within it, to try and ensure a completely stock environment. Any changes you made to the main system (make.conf, custom kernels, etc.) are intentionally ignored. As Lowell points out, the right way to do this is make either a patch or a script to add your changes and have the release framework apply it. Copying it in is the quick and dirty fix. -- Rob Farmer -- Take care Rick Miller ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
On Tue, Jan 31, 2012 at 06:06:33AM -0500, Mehmet Erol Sanliturk wrote: On Tue, Jan 31, 2012 at 5:59 AM, Baptiste Daroussin b...@freebsd.orgwrote: On Tue, Jan 31, 2012 at 11:52:05AM +0100, Michel Talon wrote: having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? I mean something more sophisticated, the simple thing having things in the right order is hopefuly already done in pkgng :) I mean more something that is able to go further like resolving some conflicts by changing the ordering automatically, like offerting the ability to depends on provides e.g. depends on http_server instead of depending on apache/lighttpd/nginx/thehttpyouprefer or begin able to depends on feature. An even more. What we have now is really enough to be able to go into a full binary world (and it does really work nicely) but having a real complex sat solver, can help us go forward and imagine an even better package tool. regards, Bapt sat solver : http://en.wikipedia.org/wiki/ZYpp#SAT_solver_integration http://en.wikipedia.org/wiki/Boolean_satisfiability_problem http://en.wikipedia.org/wiki/Computational_complexity_theory wow.. that's hardcore computer science. You mean something like this: http://minisat.se/ http://www.st.ewi.tudelft.nl/sat/march_dl.php but BSD licensed? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. Am I leaving something out? ___ 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
Problem with auditd into jail
Hello! I try to start service auditd into jail. I permit the device audit from the parent OS, everything else is limited. When I start auditd, I see the message: Error setting audit stat. What steps do I need to do and what permission (perhaps via sysctl) I must to give, In order to start the service auditd inside jail? Maybe I can to log developments into jail through auditd started in the parent system? Please help me. Thanks in advance. Operation System: 7.2-RELEASE FreeBSD ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
On Tue, Jan 31, 2012 at 6:37 AM, Anton Shterenlikht me...@bristol.ac.ukwrote: On Tue, Jan 31, 2012 at 06:06:33AM -0500, Mehmet Erol Sanliturk wrote: On Tue, Jan 31, 2012 at 5:59 AM, Baptiste Daroussin b...@freebsd.org wrote: On Tue, Jan 31, 2012 at 11:52:05AM +0100, Michel Talon wrote: having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? I mean something more sophisticated, the simple thing having things in the right order is hopefuly already done in pkgng :) I mean more something that is able to go further like resolving some conflicts by changing the ordering automatically, like offerting the ability to depends on provides e.g. depends on http_server instead of depending on apache/lighttpd/nginx/thehttpyouprefer or begin able to depends on feature. An even more. What we have now is really enough to be able to go into a full binary world (and it does really work nicely) but having a real complex sat solver, can help us go forward and imagine an even better package tool. regards, Bapt sat solver : http://en.wikipedia.org/wiki/ZYpp#SAT_solver_integration http://en.wikipedia.org/wiki/Boolean_satisfiability_problem http://en.wikipedia.org/wiki/Computational_complexity_theory wow.. that's hardcore computer science. You mean something like this: http://minisat.se/ http://www.st.ewi.tudelft.nl/sat/march_dl.php but BSD licensed? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 Yes . Thank you very much . Mehmet Erol Sanliturk ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
On Tue, Jan 31, 2012 at 07:18:59AM -0500, Mehmet Erol Sanliturk wrote: On Tue, Jan 31, 2012 at 6:37 AM, Anton Shterenlikht me...@bristol.ac.ukwrote: On Tue, Jan 31, 2012 at 06:06:33AM -0500, Mehmet Erol Sanliturk wrote: On Tue, Jan 31, 2012 at 5:59 AM, Baptiste Daroussin b...@freebsd.org wrote: On Tue, Jan 31, 2012 at 11:52:05AM +0100, Michel Talon wrote: having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? I mean something more sophisticated, the simple thing having things in the right order is hopefuly already done in pkgng :) I mean more something that is able to go further like resolving some conflicts by changing the ordering automatically, like offerting the ability to depends on provides e.g. depends on http_server instead of depending on apache/lighttpd/nginx/thehttpyouprefer or begin able to depends on feature. An even more. What we have now is really enough to be able to go into a full binary world (and it does really work nicely) but having a real complex sat solver, can help us go forward and imagine an even better package tool. regards, Bapt sat solver : http://en.wikipedia.org/wiki/ZYpp#SAT_solver_integration http://en.wikipedia.org/wiki/Boolean_satisfiability_problem http://en.wikipedia.org/wiki/Computational_complexity_theory wow.. that's hardcore computer science. You mean something like this: http://minisat.se/ http://www.st.ewi.tudelft.nl/sat/march_dl.php but BSD licensed? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 Yes . Thank you very much . Mehmet Erol Sanliturk Thanks To more examples which are BSD LIcense: https://github.com/openSUSE/sat-solver https://github.com/openSUSE/libsolv regards, Bapt pgpldbKfQqndA.pgp Description: PGP signature
FreeBSD license vs /usr/bin/true license
FreeBSD, as specified here [1] uses 2-clause BSD license, but /usr/bin/true [2] (as empty as it is) uses something like 3-clause BSD license, is that desired? [1] http://www.freebsd.org/copyright/freebsd-license.html [2] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/true/true.c Regards, vermaden -- ... ___ 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: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
From owner-freebsd-questi...@freebsd.org Tue Jan 31 05:45:47 2012 Date: Tue, 31 Jan 2012 04:45:36 -0800 From: Edward Martinez eam1edw...@gmail.com To: FreeBSD Questions freebsd-questions@freebsd.org Subject: bash LC_COLLATE or LC_ALL set =?windows-1252?q?=93C=94_not__sort?= =?windows-1252?q?_in_dictionary_order=2E?= Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. *OF*COURSE* it doesn't. Unix is _case_sensitive_. You specified a lower- case only (in the C locale) pattern. Naturally, it doesn't match a file with an upper-case character in it. Note: in the 'C' locale, characters are sorted on the underlying byte value. Thus you will get all the upper-case matches before any lower-case match. To get upper-and-lower case files in the C locale, you will have to use: ls [A-CX-Ya-cx-y]* IF you speciy a different charset for collating, you _may_ get upper/lower case characters sorted adjacently. See the specifications for the charset in question. ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
Le 31 janv. 2012 à 13:22, Baptiste Daroussin a écrit : To more examples which are BSD LIcense: https://github.com/openSUSE/sat-solver https://github.com/openSUSE/libsolv OK, i am seeing what you have in mind looking at the SUSE program. For example the following comment in solver_run_sat /* * here's the main loop: * 1) propagate new decisions (only needed once) * 2) fulfill jobs * 3) try to keep installed packages * 4) fulfill all unresolved rules * 5) install recommended packages * 6) minimalize solution if we had choices * if we encounter a problem, we rewind to a safe level and restart * with step 1 */ gives an idea of the aim of this analysis. -- Michel Talon ta...@lpthe.jussieu.fr ___ 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
freebsd-update; What did I do?
I started to run freebsd-update to upgrade a 8.x system to 9.0-RELEASE # freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/dict world/doc world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/catpages world/games world/lib32 Does this look reasonable (y/n)? yes Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. # What is the next step, here? Thank you. ___ 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: FreeBSD license vs /usr/bin/true license
On 01/31/12 12:55, vermaden wrote: FreeBSD, as specified here [1] uses 2-clause BSD license, but /usr/bin/true [2] (as empty as it is) uses something like 3-clause BSD license, is that desired? [1] http://www.freebsd.org/copyright/freebsd-license.html [2] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/true/true.c By coincidence, this link turned up on Hacker News Daily this morning. It's about the copyright on the true command. http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html ___ 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: freebsd-update; What did I do?
On 31/01/2012 13:55, Martin McCormick wrote: I started to run freebsd-update to upgrade a 8.x system to 9.0-RELEASE # freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/dict world/doc world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/catpages world/games world/lib32 Does this look reasonable (y/n)? yes Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. # What is the next step, here? That's a known problem and fixable by first updating your 8.2-RELEASE machine to the latest patch level before trying the update to 9.0 http://security.freebsd.org/advisories/FreeBSD-EN-12:01.freebsd-update.asc Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
zip to exe utility
Hi All I have spent a good while looking for a utility that needs to perform a very specific task, I need to take a zip file and convert it in to self-extracting archive that can be distributed to Windows client machines. There are some specific requirements that it has to fulfil:- Specify the extraction location when the file is created e.g. e:\foldername The extraction process needs to be able to operate silently with no end user interaction. I have had a trawl through the archiver ports and nothing obvious stood out to me as fitting the bill. Regards Graeme ___ 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: zip to exe utility
On 31/01/2012 15:02, Graeme Dargie wrote: Hi All I have spent a good while looking for a utility that needs to perform a very specific task, I need to take a zip file and convert it in to self-extracting archive that can be distributed to Windows client machines. There are some specific requirements that it has to fulfil:- Specify the extraction location when the file is created e.g. e:\foldername The extraction process needs to be able to operate silently with no end user interaction. I have had a trawl through the archiver ports and nothing obvious stood out to me as fitting the bill. winrar can do this i think so might be worth a look at /usr/ports/archivers/rar (or use winrar on windows) Paul. Regards Graeme ___ 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 -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07970339546PLEASE NOTE NEW MOBILE e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ 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: zip to exe utility
Hi All I have spent a good while looking for a utility that needs to perform a very specific task, I need to take a zip file and convert it in to self-extracting archive that can be distributed to Windows client machines. There are some specific requirements that it has to fulfil:- Specify the extraction location when the file is created e.g. e:\foldername The extraction process needs to be able to operate silently with no end user interaction. I have had a trawl through the archiver ports and nothing obvious stood out to me as fitting the bill. Not from the ports tree, but seems to work: http://stackoverflow.com/questions/818482/creating-a-self-extracting-zip-archive-on-a-linux-box ___ 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: zip to exe utility
Hi All I have spent a good while looking for a utility that needs to perform a very specific task, I need to take a zip file and convert it in to self-extracting archive that can be distributed to Windows client machines. There are some specific requirements that it has to fulfil:- Specify the extraction location when the file is created e.g. e:\foldername The extraction process needs to be able to operate silently with no end user interaction. I have had a trawl through the archiver ports and nothing obvious stood out to me as fitting the bill. Not from the ports tree, but seems to work: http://stackoverflow.com/questions/818482/creating-a-self-extracting-zip-archive-on-a-linux-box Posted to soon: http://www.freshports.org/archivers/unzip/ ___ 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: FreeBSD license vs /usr/bin/true license
You might have to re-write it from scratch. It's still copyrighted by the university. I'd say write it in c++ to dispel all doubt that you didn't copy. Then true and groff will be c++. There's still software in the tree that uses the four clause license. But because of the advertising clause, you can't really talk about it or else you have to list it. On 1/31/2012 8:29 AM, Arthur Chance wrote: On 01/31/12 12:55, vermaden wrote: FreeBSD, as specified here [1] uses 2-clause BSD license, but /usr/bin/true [2] (as empty as it is) uses something like 3-clause BSD license, is that desired? [1] http://www.freebsd.org/copyright/freebsd-license.html [2] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/true/true.c By coincidence, this link turned up on Hacker News Daily this morning. It's about the copyright on the true command. http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html ___ 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 ___ 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: freebsd-update; What did I do?
Matthew Seaman writes: That's a known problem and fixable by first updating your 8.2-RELEASE machine to the latest patch level before trying the update to 9.0 It appears to be working now. Thank you. ___ 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: release 9.0 and fvwm
On Tue, Jan 31, 2012 at 03:12:50AM -0800, Dan Strick wrote: I recently installed fvwm (i.e. /usr/ports/x11-wm/fvwm) under FreeBSD release 9.0 and noticed some problems. Fvwm consumes all available cpu time. The GoodStuff and FvwmWinList modules don't work. Otherwise it seems to work ok. Has anyone noticed similar behavior? (Is there a fix?) Fvwm1 is ancient and no longer supported upstream (see http://www.fvwm.org/download/). Try fvwm2 [/usr/ports/x11-wm/fvwm2] instead. I've got that working fine here on 9.0-RELEASE amd64. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpJ68m3Sr0Lf.pgp Description: PGP signature
Re: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
On 01/31/12 06:31, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Jan 31 05:45:47 2012 Date: Tue, 31 Jan 2012 04:45:36 -0800 From: Edward Martinezeam1edw...@gmail.com To: FreeBSD Questionsfreebsd-questions@freebsd.org Subject: bash LC_COLLATE or LC_ALL set =?windows-1252?q?=93C=94_not__sort?= =?windows-1252?q?_in_dictionary_order=2E?= Hi, Been trying to get BASH to sort set characters in dictionary order. I typed locale and it shows LC_COLLATE and LC_ALL are set to C thought that was enough to work, however when i type metacharacters: set character; any character, something like this: ls [a-cx-y]* bash does not sort in dictionary order; file Binarc does not list. *OF*COURSE* it doesn't. Unix is _case_sensitive_. You specified a lower- case only (in the C locale) pattern. Naturally, it doesn't match a file with an upper-case character in it. Note: in the 'C' locale, characters are sorted on the underlying byte value. Thus you will get all the upper-case matches before any lower-case match. To get upper-and-lower case files in the C locale, you will have to use: ls [A-CX-Ya-cx-y]* IF you speciy a different charset for collating, you _may_ get upper/lower case characters sorted adjacently. See the specifications for the charset in question. Thanks for reply! I meant LC_COLLATE being set to en_US.UTF-8 not C. linux and solaris shows both upper and lowercase when set characters like [a-cx-y] and others are used. when LC_COLLATE is set to en_US.UTF-8. I thought it could be also done in FreeBSD's bash when LC_COLLATE is set to en_US.UTF-8 in linux LC_COLLATE is set to en_US,UTF-8 eam@localhost ~/testdir $ locale LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX *LC_COLLATE=en_US.UTF-8* LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= And when i type the following it shows both: eam@localhost ~/testdir $ ls [a-cx-y]* bincar Bincar eam@localhost ~/testdir $ ls [a-z]* bincar Bincar file File zcar ___ 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: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.
On Tue, 31 Jan 2012 12:05:57 -0800 Edward Martinez articulated: I meant LC_COLLATE being set to en_US.UTF-8 not C. linux and solaris shows both upper and lowercase when set characters like [a-cx-y] and others are used. when LC_COLLATE is set to en_US.UTF-8. I thought it could be also done in FreeBSD's bash when LC_COLLATE is set to en_US.UTF-8 What version of Bash? -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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
Support Issue 164620
To whom it may concern: My question is? So is this problem in the process of being looked at? Or am I being directed to a different group in the BSD support staff? Morris Allen (Moe) ___ E-mail is a privilege. Not a right. Stop Spam now!!! Thank you very much for your problem report. It has the internal identification `i386/164620'. The individual assigned to look at your report is: freebsd-i386. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=164620 Category: i386 Responsible:freebsd-i386 Synopsis: Raid 1 issues Arrival-Date: Mon Jan 30 06:00:18 UTC 2012 ___ 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: Support Issue 164620
On Tue, Jan 31, 2012 at 06:28:25PM -0600, Morris Allen wrote: To whom it may concern: My question is? So is this problem in the process of being looked at? Or am I being directed to a different group in the BSD support staff? It's an automatic notice to let you know the issue tracker has received the problem report. So hopefully, someone will look at it. http://www.freebsd.org/cgi/query-pr.cgi?pr=164620 It seems you just pasted the text from the docs (Handbook probably) on GEOM RAID 1, without any info as to what is the problem you're having. Not to mention the wrong Environment entry etc. I think you would benefit from reading this: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html -- I am ready to meet my Maker. Whether my Maker is prepared for the great ordeal of meeting me is another matter. -- Winston Churchill ___ 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: Support Issue 164620
On Wed, Feb 01, 2012 at 02:18:46AM +0100, Nikola Pavlović wrote: On Tue, Jan 31, 2012 at 06:28:25PM -0600, Morris Allen wrote: To whom it may concern: My question is? So is this problem in the process of being looked at? Or am I being directed to a different group in the BSD support staff? It's an automatic notice to let you know the issue tracker has received the problem report. So hopefully, someone will look at it. http://www.freebsd.org/cgi/query-pr.cgi?pr=164620 It seems you just pasted the text from the docs (Handbook probably) on GEOM RAID 1, without any info as to what is the problem you're having. Not to mention the wrong Environment entry etc. I think you would benefit from reading this: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html And there are no support issues, PRs are for reporting real problems. If you need to ask something, just use this list instead. Yuri pgpVw7C86a7CD.pgp Description: PGP signature
no borders with firefox, terminal (xfce on FreeBSD 9.0 amd64 STABLE)
Dear folks, I am having some difficultites when starting up the desktop. The desktop starts up automagically and when I start firefox or terminal there is no border :(. Upon logging out and unchecking Save Settings, and relogging back in the borders appear. I have had this happen once on one of my FreeBSD 8.2 amd64 boxes, but I fixed it somehow with the settings. Now I can't find the settings that cause this. All I know is that if I log out and un check save settings, the border appear again and all is well. But if I reselect the save settings box, and log out and back in, the borderless windows appear :( How can I troubleshoot this? Any ideas, suggestions, comments are greatly appreciated. Regards, Antonio ___ 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: no borders with firefox, terminal (xfce on FreeBSD 9.0 amd64 STABLE)
Hi, I did not see which window manager or desktop you are using. Erich On Wednesday 01 February 2012 10:45:26 Antonio Olivares wrote: Dear folks, I am having some difficultites when starting up the desktop. The desktop starts up automagically and when I start firefox or terminal there is no border :(. Upon logging out and unchecking Save Settings, and relogging back in the borders appear. I have had this happen once on one of my FreeBSD 8.2 amd64 boxes, but I fixed it somehow with the settings. Now I can't find the settings that cause this. All I know is that if I log out and un check save settings, the border appear again and all is well. But if I reselect the save settings box, and log out and back in, the borderless windows appear :( How can I troubleshoot this? Any ideas, suggestions, comments are greatly appreciated. Regards, Antonio ___ 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 ___ 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
Securely sharing directories between jails
L.S., I want to set up my system in a way where applications are clustered over jails, e.g. a httpd, smbd and dbmsd jail. However, in most cases I need to share data over the jails, which is stored on the host. Often, nullfs and mounting ro is suitable, but I need write access in some cases. As nullfs rw over multiple jails can be considered insecure, I was wondering what would be a secure way. The only thing I could come up with was having both a NFS server and client running on the host and mounting such that all access is mapped to an account with less privileges. However, it seems like a waste to NFS with yourself. Thus, are there any better ways to achieve this? (I also thought of using nosuid flags, but I'm not sure if this is enough.) Kind regards, Stas Verberkt pgpweVZFL6b60.pgp Description: PGP signature