Re: Do I really have to install 80 packages?
On Sun, 2013-10-13 at 04:48 +0200, Polytropon wrote: > Let's hope people are going to get smarter than I assume. :-) It's new, not even 100 years old. Within our lifetimes people likely become more stupid, but yes, it will take some generations and people will get smarter. ___ 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: what kind of freeBSD to download for my pc?
On Sat, 2013-10-12 at 16:50 -0700, cikitaluzza wrote: > can i run exe files on freeBSD? The raw answer is, no, you can't. > it spoils fast or not?this question comes from fastest ever spoil OS > windows which always spoil in a week seven times i think with things > like errors or dll and many things from blue screen. This doesn't sound like a Windows only error. > do you have any problems within freeBSD or no problems?i dont like > blue screen error or driver things and no matter what . Regarding to driver issues you better stay with Microsoft or switch to Apple. Hardware and free/libre and open source software requires the user to learn and take care if hardware is supported. > how much total ram and bit is my pc of amd athlon(tm) 64 x2 dual core > processor 4000+ 2.11 GHz 960 MB RAM? Around 1 GiB could be ok, but also be not enough RAM, but it seems not to be an issue. > im always in internet watching live camers,what do you suggest me to > use os type?i like to save pictures and videos Free/libre and open source software does less good support proprietary codecs and software. At the moment there is a thread about Adobe Flash on this list. The best choice could be Windows, perhaps installed as guest to a virtual machine, so that you always can restore it by using snapshots. > and never lost them,if you think your os is gonna spoil and lost my > all files then i dont need it.i want stable os and never to reinstall > or update For multimedia Linux might be better than FreeBSD. Neither Linux, nor FreeBSD tend to lose data, you even shouldn't lose data when using one of Microsoft's less good Windows versions. It's more likely that users have less good backup and archiving strategies. If you want to consume multimedia by the Internet, you likely need to install security updates and software to use stuff based on proprietary software. You could set up a text editor and never need to update or to reinstall something, but the Internet and consuming multimedia likely need updates from time to time. Start an adventure ;), nobody will give you a guarantee, "self-responsibility" is a catchword for free/libre and open source software. FreeBSD and Linux are similar operating systems, on both kernels more or less the same multimedia applications do run, but the more recent versions are provided by Linux and multimedia is better supported for Linux. I'm an Arch Linux user, it's similar to FreeBSD regarding to a port like system, however, for your needs IMO Debian Linux stable release might be the less risky choice. OTOH, why not simply testing 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: Adoble Flash troubles on 9.2-RELEASE
On Sat, 2013-10-12 at 11:52 +0200, David Demelier wrote: > I don't like much chrome but I'll give a try to see. +1 It's not a browser I like. Since I'm using my computer for audio production my FreeBSD isn't maintained, I need to use Linux, so I don't know if Chrome is available for FreeBSD. When I google (resp. startpage.com search) for FreeBSD and Chrome, it seems to be that the hits aren't about Chrome, but Chromium instead. Chromium doesn't include Adobe Flash, https://code.google.com/p/chromium/wiki/ChromiumBrowserVsGoogleChrome . Sorry for the noise. At least we could use Adobe Flash by Chrome with FreeBSD in a virtual machine running a Linux instead of a Windows guest. Or is Chrome available for FreeBSD too? Perhaps you should post the links that don't work with the latest Linux version of Adobe Flash, so others could test if the issue is really caused by Flash Player and not by something else. Regards, Ralf ___ 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: Adoble Flash troubles on 9.2-RELEASE
If you really need to visit sites that need Adobe Flash, you perhaps should use the google-chrome browser. For some websites with flash content, we don't need flash anymore, just modern HTML5 capable web browsers. For *nix there never will be a current version for flashplayer again. ___ 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: Q: Updating a port (math:asymptote)
On Fri, 2013-10-11 at 19:14 +0300, Jarmo Hurri wrote: > I would like to switch from Linux to FreeBSD, but am puzzled by the > timeliness of the ports. In particular, I use a drawing program called > asymptote quite heavily in my work. From the ports page I noticed that > the ports version is approximately 14 months old: I guess that if software should depend on many other software, you can't get latest software versions working on FreeBSD that easy, if at all. Have you tested Debian's FreeBSD port? Debian GNU/kFreeBSD perhaps does provide a more current user space. https://wiki.debian.org/Debian_GNU/kFreeBSD ___ 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-Announce] vBSDcon Registrations Only Open For 30 More Days!
On Mon, 2013-09-23 at 20:00 -0400, Robert Simmons wrote: > Any contribution from a company like Verisign needs to be carefully > scrutinized. No it has to be turned down flat. Huge companies from the USA at all events are untrustworthy. The only trustworthy companies are such companies: "I have been forced to make a difficult decision: to become complicit in crimes against the American people or walk away from nearly ten years of hard work by shutting down Lavabit." - http://lavabit.com/ "Levison said that he could be arrested for closing the site instead of releasing the information, and it was reported that the federal prosecutor's office had sent Levinson's lawyer an e-mail to that effect." - https://en.wikipedia.org/wiki/Lavabit There can't be any doubts about it, Verisign will do what they can do to make FreeBSD insecure. Nothing good will contributed by them. Not a single big company from the USA does not cooperate with the NSA, they all cooperate with the NSA. Regards, Ralf ___ 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: List Spam Filtering
On Fri, 2013-05-17 at 10:53 -0700, Robison, Dave wrote: > All this bike shedding and crosstalk has produced far more pointless > email than all the spam I've gotten from this list in the last month. I don't know if those mails where pointless, but there were much mails and I only read two or three mails including this, IOW there was at least much traffic caused by this discussion, that has less to do with questions about FreeBSD, IMO this is ok, I like OT talk myself, even if I wasn't interested in this discussion. I'm subscribed to trillions of mailing lists, perhaps a few less than trillions and several open mailing lists, including this one. I don't get much spam and it's easy to filter the few junk mails I receive. The few spam I get can't be eliminated by any method. The internet is the Wilde West, it makes me wonder that I get that less spam. It's said, that for all long discussions in the Internet, soon or later somebody will mention the Nazis and if somebody mentions the Nazis, an Internet discussion has reached it's end. The Nazis where some kind of serial killers, so perhaps this is the reason to stop this discussion. I hope there wasn't a flame war, I really didn't read this thread. Please stay peacefully folks ;). We can't get rid of all junk mail and seriously, we can't get rid of all evil on this planet. Some people really do very bad crimes, so we shouldn't waste much time in thinking about spam. Polemical comparison does hurt some people, but I guess it should be ok, if somebody makes an inappropriate comparison. We should be allowed to write without keeping political correctness 24/7 in mind. ___ 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: detecting keyboard layout during boot
On Wed, 2013-05-15 at 09:35 +0200, Matthias Apitz wrote: > is there some way to detect the actual keyboard layout > automagically? I suspect it's impossible to request what keyboard is used, since some Linux installers ask the user to type some keys, after that auto-detection does work. Perhaps you only can start a session with a script, that does ask the user to type and then set up the needed keyboard map. ___ 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: X breaks sound
On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote: > Briefly, the sound works fine until X starts. > As soon as X starts, sound doesn't work until a reboot. Assumed pulseaudio should be installed, this likely is the culprit, if so, remove it. Hth, Ralf ___ 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: Bootloader/Replace GRUB
This one is tricky, but it does work. I've got two SATA HDDs, Linux names are sda and sdb. /dev/sda1 is ufs including my FreeBSD and /dev/sdb1 is ntfs including the Windows XP install, there are many other installs, all of them are Linux distros. To install XP on /dev/sdb1 I had to disconnect /dev/sda1. "With Windows This assumes that your Windows partition is sda3. Remember you need to point set root and chainloader to the system reserve partition that windows made when it installed, not the actual partition windows is on. This example works if your system reserve partition is sda3. # (2) Windows XP menuentry "Windows XP" { set root=(hd0,3) chainloader (hd0,3)+1 } If the Windows bootloader is on an entirely different hard drive than GRUB, it may be necessary to trick Windows into believing that it is the first hard drive. This was possible with drivemap. Assuming GRUB is on hd0 and Windows is on hd2, you need to add the following after set root: drivemap -s hd0 hd2" - https://wiki.archlinux.org/index.php/Grub#Dual-booting So for my grub.cfg on a Linux on /dev/sdb9, resp. inside the MBR of sda, I need to add a chainloader. [rocketmouse@archlinux ~]$ cat /mnt/q/boot/grub/grub.cfg set timeout=8 set default='0'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi set color_normal='light-blue/black'; set color_highlight='light-cyan/blue' menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } menuentry "XP"{ set root=(hd1,1) drivemap -s hd0 hd1 chainloader +1 } menuentry 'Ubuntu Quantal,kernel 3.6.5-rt14' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb9' 'ro' 'quiet' '' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } [snip] ___ 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: Bootloader/Replace GRUB
On Mon, 2013-05-13 at 12:41 -0400, Louis Ciotti wrote: > Hello, > > I replaced a Linux partition on my laptop with FreeBSD. Now it will not > but giving me an GRUB error. I assume I have to remove/replace GRUB, as I > will want to dual boot this with a windows partition. > > So being the FreeBSD newbie that I am I am stumped on what to do to correct > this. Unfortunately I need to install Windows to test hardware that is less good supported by Linux and FreeBSD, I guess it should be able to boot Windows by a chainloader. I'm using GRUB2 from Linux to boot between FreeBSD and Linux installs. I converted a GRUB legacy menu.lst to a GRUB 2 grub.cfg using an application doing the work for me, that's why there are strange commands in my grub.cfg [1]. I planned to install Windows first and after that to edit the grub.cfg, but because you need help, I'll google now to help myself too ;). I found this: menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" { insmod fat set root='(hd0,1)' search --no-floppy --fs-uuid --set 2629-16f0 drivemap -s (hd0) ${root} chainloader +1 } But I guess, it can be written as it's done for my FreeBSD [1], the above entry perhaps is done by this GRUB-auto-thingy, something I don't use. Backup your MBRs (or what ever you're using ;), before you continue ;)! [1] set timeout=8 set default='0'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi set color_normal='light-blue/black'; set color_highlight='light-cyan/blue' menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } menuentry 'Ubuntu Quantal,kernel 3.6.5-rt14' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb9' 'ro' 'quiet' '' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency (recovery mode)' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'single' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Quantal, Kernel 3.6.5-rt14' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb13' 'ro' 'quiet' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Studio Quantal, Kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb13' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Precise, Kernel 3.0.30 threadirqs' { #set root='(hd1,1)'; set legacy_hdbias='0' #legacy_kernel '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30' 'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet' 'threadirqs' set root='(hd2,1)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30' 'root=UUID=948e9fa0-1bb5-4fd4-847c-a7cfbc816a40' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.0.30' '/boot/initrd.img-3.0.30' } menuentry 'Ubuntu Studio Precise, Kernel 3.2.0-23-lowlatency threadirqs' { #set root='(hd1,1)'; set legacy_hdbias='0' #legacy_kernel '/boot/vmlinuz-3.2.0-23-lowlatency' '/boot/vmlinuz-3.2.0-23-lowlatency' 'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet' 'threadirqs' set root='(hd2,1)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.2.0-23-lowlatency' '/boot/vmlinuz-3.2.0-23-lowlatency' 'root=UUID=948e9fa0-1bb5-4fd4-847c-a7cfbc816a40' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.2.0-23-lowlatency' '/boot/initrd.img-3.2.0-23-lowlatency' } menuentry 'AVlinux 5.0.3, Kernel 3.0.23-rt40' { set root='(hd1,11)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.23-rt40' '/boot/vmlinuz-3.0.23-rt40' 'root=/dev/sdb11' 'ro' 'quiet' legacy_initrd '/boot/initrd.img-3.0.23-rt40' '/boot/initrd.img-3.0.23-rt40' } menuentry 'AVlinux 5.0.3, Kernel 3.0.23-avl-7-pae threadirqs' { set root='(hd1,11)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.23-avl-7-pae' '/boot/vmlinuz-3.0.23-avl-7-pae' 'root=/dev/sdb11' 'ro' 'threadirqs' 'quiet' legacy_initrd '/boot/initrd.img-3.0.23-avl-7-pae' '/boot/initrd.img-3.0.23-avl-7-pae' } menuentry 'Edubuntu 10.10,Kernel 2.6.33.9-rt31'
Re: Diskless question
On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote: > su does not "work" it sayes sorry. Is the user in a group that does fulfil special permissions? Regarding to Google results, the group for FreeBSD is "wheel". ___ 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: Diskless question
On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote: > su does not "work" it sayes sorry. polkit:*:562:root,$USER ___ 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: Diskless question
On Wed, 2013-04-24 at 10:18 +0200, Bernt Hansson wrote: > I have set up a diskless machine with 8.3-stable and i as a user can log > in, but when I try to log in as root it won't work. How to resolv that > issue. I have tried with and without password but the computer said no. Do you want to start a X session as root? ~/.xinitrc? Or are you missing a root account and you even can't log in without X? ___ 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: Flash?
On Tue, 2013-04-23 at 21:37 +0200, Fernando Apesteguía wrote: > That's an issue with Firefox. Search the list. There is a setting you have > to change in Firefox in order to avoid that problem. Perhaps the answer is somewhere in the thread "[Solved] Youtube & Flash Videos broken?", but OTOH, Flash is outdated and that could be the issue too. I don't have Flash or Gnash installed, but Firefox (20.0.1 here) anyway plays many YouTube videos. ___ 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: Flash?
On Tue, 2013-04-23 at 19:24 +, Walter Hurry wrote: > What is wrong? It's wrong to consume crap that needs proprietary software, that isn't available for *nix, resp. it's smarter to use an OS that fit to the individual needs of the user. FreeBSD and Linux aren't a good choice, if you want to consume such stuff. Current version is 11.7, http://www.adobe.com/support/flashplayer/downloads.html . But for *nix the last version is 11.2. "Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux." - http://get.adobe.com/flashplayer/ Regards, Ralf ___ 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"
[slightly OT] Hi BSD -
On Sun, 2013-04-07 at 18:13 -0400, Rod Person wrote: > On 04/07/13 15:34, Lynn Steven Killingsworth wrote: > > Hi BSD - > > > > I know on my websites that more worrisome than someone caught reading > > my poetry as their own is that they have told something is mine that > > is not. > > > > I was thinking about putting the ports tar on my BSD 10 when I was > > actually successful. I notice that apparently the talking point xorg > > refresh and the touchstone kde4 artwork seem to be not on your servers. > > > > I was wondering whether even after my service that Lord Jesus has not > > granted me access to a specially fortified server in the basement of a > > Quebec Church Shrine? > > > > Since A.W.O.L bill is against that sort of thing I wonder why Lord > > Jesus is not working with all his might to do so. > > > > Is this emailing tongues? Or simply drug abuse? Not that I read this crap myself, but it might be a help to change the faith. This perhaps is alternative hocus-pocus for those who run into issues when being on drugs http://www.churchofsatan.com/Pages/DrugAbuse.html Still a little bit on topic, since Beastie might be an acquaintance of Lord Jesus and Mephistopheles. Hail Beastie ___ 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: seeking mailing list manager(s)
On Sun, 2013-04-07 at 07:53 -0400, Robert Huff wrote: > (Yes - I know there's a list owner's address. > I send mail there. > Nothing happens. I am chosing to believe this is a technical > problem, perhaps part of the same problem about which I wish to > complain.) > > Hello: > Would someone repsonsible for the mamagement of this mailing > list please contact me privately? > > Respectfully, > > > Robert Huff You mail was redirected to my junk folder and when I marked it as not being junk, it was sorted by the mails' date and I had to sort by the receive date, to see it within the new received mails. I'm not from mailing list management, so I can't help you, but perhaps your mails don't came through regarding to spam filters. Some ISPs from time to time are blackhole listed. ___ 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: Youtube & Flash Videos broken?
On Sun, 2013-04-07 at 07:44 -0400, Jerry wrote: > You hear FreeBSD users who claim > that they never use Flash, which in itself is an interesting > statement. > If it doesn't work, then obviously you cannot take advantage of it. I > suspect at least 50% of them are liars. The rest are more than likely > expressing their "sour-grapes" wrath. No, I guess at least for media players you're mistaken. I was born in 1966 and a lot of people from my generation still own a television set, turntables etc.. Not seldom I watch several hours television at one day. I guess after watching 4 hours television, it's not hard to spare flash on the computer ;). Yes, you can miss interesting stuff without flash, but you also will miss interesting things, if you watch too much videos. In the past I used flash, I tested gnash first, but I preferred the proprietary thingy. It started as an experiment when I installed Arch Linux some weeks ago and I noticed that I can live without flash. However, I only need to run one command to get flash and on Linux AFAIK it doesn't cause issues until now. $ yaourt flashplayer 1 extra/flashplugin 11.2.202.275-1 Adobe Flash Player 2 aur/bin32-flashplayer-standalone 11.2.202.275-1 (5) Macromedia standalone flash player (nonfree) 3 aur/flashplayer-standalone 11.2.202.275-1 (134) Macromedia standalone flash player (nonfree) 4 aur/flashplayer-standalone-debug 11.2.202.275-1 (7) Standalone, debug version of Adobe Flash Player 5 aur/gnash-git 20120122-1 (Out of Date) (3) An open source flashplayer - git version ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3) ==> --- ==> ^C I even don't know if I have flash on FreeBSD installed, since I more often use Linux. ___ 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: Youtube & Flash Videos broken?
On Sun, 2013-04-07 at 06:21 -0400, Jerry wrote: > On Sat, 06 Apr 2013 23:57:47 +0200 > Ralf Mardorf articulated: > > > On Sat, 2013-04-06 at 23:53 +0200, Ralf Mardorf wrote: > > > On Sat, 2013-04-06 at 23:39 +0200, Jens Schweikhardt wrote: > > > > http://www.youtube.com/watch?v=Ywn2Lz5zmYg > > > > > > Firefox 20.0 Arch Linux x86_64 can't play this video too. Neither > > > flash, nor gnash installed. Perhaps it's a video with a commercial, > > > before the video can be watched? Wicked! > > > > > > > http://www.youtube.com/watch?v=oUPtiYiMCbQ > > > > > > Video and audio are ok for this video, still without flash or gnash. > > > > Perhaps we should switch to Windows :D. SICR > > I have pretty much given up on using Firefox with FreeBSD on sites that > utilize Flash. It usually just sucks. Sites like "comedy Central" are > just not view-able utilizing that combination. I use my Windows PC or > Laptop for those times. Plus, I can keep Flash and or Java "up-to-date" > far easier. I never needed to use Windows, I could switch from the Atari ST to *nix around ten years ago, but since around 1½ years I need to run Windows in VBox. I planed to start making music on Friday, now it's Sunday noon and I still couldn't start, because I still need to fix issues. However, I experienced less issues with *nix software, usually I run into issues regarding to hardware. Fortunately I don't care about the flash issue, if tube videos don't work, I don't watch tube videos and if flash should be needed for something else on a homepage, it for sure isn't a homepage I want to visit. Usually web pages for *nix are programmed like http://www.freebsd.org/ and very seldom like http://linux-audio.com/ but even this site doesn't expect flash. Serious homepages, e.g. from departments, usually are good programmed and commercial homepages, e.g. from the porn industry, are usually bad programmed. If users would stop visiting bad programmed sites, we would get better programmed websites, so IMO we shouldn't fix the issues others cause, it's their task to fix their websites. 2 Cents, Ralf ___ 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: Youtube & Flash Videos broken?
On Sat, 2013-04-06 at 23:53 +0200, Ralf Mardorf wrote: > On Sat, 2013-04-06 at 23:39 +0200, Jens Schweikhardt wrote: > > http://www.youtube.com/watch?v=Ywn2Lz5zmYg > > Firefox 20.0 Arch Linux x86_64 can't play this video too. Neither flash, > nor gnash installed. Perhaps it's a video with a commercial, before the > video can be watched? Wicked! > > > http://www.youtube.com/watch?v=oUPtiYiMCbQ > > Video and audio are ok for this video, still without flash or gnash. Perhaps we should switch to Windows :D. SICR ___ 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: Youtube & Flash Videos broken?
On Sat, 2013-04-06 at 23:39 +0200, Jens Schweikhardt wrote: > http://www.youtube.com/watch?v=Ywn2Lz5zmYg Firefox 20.0 Arch Linux x86_64 can't play this video too. Neither flash, nor gnash installed. Perhaps it's a video with a commercial, before the video can be watched? Wicked! > http://www.youtube.com/watch?v=oUPtiYiMCbQ Video and audio are ok for this video, still without flash or gnash. ___ 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"
Don't replay to spam
The original "trying freeBSD 9.1 [...]" mail is spam, since the original message had a "signature" about face lifting or something like that. Take a look at http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249992.html Once you visited the page from the link in the signature, you even can't leave this page. It's hard to train spam filters, if people reply to spam. Regards, Ralf ___ 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: w and who don't list users in FreeBSD 9.0 and 9.1
On Tue, 2013-03-19 at 16:59 +0100, Istvan Gabor wrote: > I tried google search but w and who are not good search terms. Indeed, it for sure isn't easy, but did you try with quotes and other options? http://lmgtfy.com/?q=freebsd+%22who+command%22 I don't know if there is a solution, but you're at least not the first who experienced this issue. ___ 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"
EU Regulation and gvfs
Hi, there's an issue with gvfs. Regarding to an EU Regulation external drives must spin down after a while, but gvfs make external drives spin up and down again and again so they don't stay asleep. I own a new WD Elements and within one week it aged by years. I marked a thread about this issue as solved, but it isn't, it's just a workaround. For some drives it's possible to disable it, but for drives where you can't open the case it can be impossible to do it. One way to safe lifetime then is to touch the drive in short intervals, to avoid a spin down and the other way is to remove gvfs and to mount block devices, not only USB devices, by a workaround. Other USB gear, but block devices, don't need gvfs, such as WiFi adapters. Since I'm short in time at the moment, I only tested Arch Linux and Ubuntu Linux intensively [1]. I'm cross-posting this information, hopefully you understand why I'm doing this. Regards, Ralf [1] From: Ralf Mardorf To: linux-audio-user Subject: [solved] External USB 2 HD for real-time recording Date: Tue, 19 Mar 2013 08:43:57 +0100 On Mon, 2013-03-18 at 18:12 +0100, Ralf Mardorf wrote: > The issue that the drive will spin up and down again and again can be > avoided. > > I removed > > - thunar-volman > - tumbler > - gvfs > > on Arch Linux. No packages depend on those packages for my Arch Linux. > The drive keeps asleep, even with still one partition mounted. > Later I'll add one package after the other, to find out what does cause > the access and I also will take a look at Ubuntu. Arch Linux: Only gvfs needs to be removed, no need to remove thunar-volman and tumbler. However, thunar-volman without gvfs seems to be useless. Tumbler doesn't cause issues, but I don't know what it's good for. To see thumbnails with Thunar it isn't needed. I keep thunar-volman and tumbler on Arch and only removed gvfs. For my Arch nothing depends on gvfs, so it was the only package I had to remove. Ubuntu Quantal: root@q:~# apt-get purge gvfs The following packages will be REMOVED: brasero* gvfs* gvfs-backends* gvfs-fuse* nautilus* nautilus-sendto* nautilus-share* Who cares about the packages that depend on it? I anyway use Thunar instead of Nautilus and K3b instead of Brasero. Résumé: So who is to blame? By EU Regulation external drives must spin down. I even didn't completely read the German blah blah blah, http://www.heise.de/newsticker/meldung/Ab-2010-Maximal-2-Watt-im-Standby-Betrieb-von-Haushaltsgeraeten-PCs-und-Unterhaltungselektronik-Update-193947.html and I won't search for links in English. Xfce doesn't depend on gvfs, neither the Arch, nor the Ubuntu packages. Until now it seems to be, that without gvfs, partitions can't be mounted with a file browser, they have to be mounted by CLI. It's not only an issue for the USB drive, but also for USB sticks. It takes 30 minutes, then the WD Elements spins down and stays asleep. If you don't like this,than blame the EU. If you like it, then blame gvfs. Does VirtualBox still see my iPad 2 connected by USB when gvfs is removed? No problem, even an USB stick and even the external USB hard disk are available by VirtualBox. Is my KORG nanoKONTROL still accessible after removing gvfs? It still does show up in QjackCtl's ALSA tab. ___ 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: About freebsd
On Mon, 2013-03-18 at 21:44 -0400, Bujinkan Ninpo wrote: > Hello I was thinking about buying a new laptop I was looking at the dell > Inspiron 15 3521 and I was wanting to order a cd copy of freebsd 9.1 and I > was wondering how it would work running a dual boot win8 w/ freebsd 9.1 > Thank you for you time and have a good day I don't have knowledge about this, but there's a Wiki about UEFI that might answer your question, didn't read it myself. https://wiki.freebsd.org/UEFI Hth, Ralf ___ 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: OT: Installing 9.1 without re-partitioning hard drive
On Mon, 2013-03-18 at 09:00 -0600, Warren Block wrote: > On Mon, 18 Mar 2013, Ralf Mardorf wrote: > Standard practice for this list is to Cc the responder and the list, > because people are not required to subscribe to post. That makes sense and does explain why my last mail came through the list, while my broken MUA didn't use the address, I used to subscribe to this list. So a smarter MUA should provide different reply settings for replying to different lists. I should take a look at the mailman settings, since at the moment I receive 2 mails in case of Cc'ing, IIRC this can be disabled. ___ 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"
OT: Installing 9.1 without re-partitioning hard drive
On Sun, 2013-03-17 at 15:37 -0700, leeoliveshackelf...@surewest.net wrote: > Please Cc responses to the mailing list I know that it's tolerated by the FreeBSD lists, but for most mailing lists nowadays it's common to reply to the list only. Most MUA nowadays provide an option to automatically reply to the list only. So IMO even for this list the advice should at least be, "_if possible_ reply to the list only", if you want receive a copy directly, than ask the OP "reply to the list and (carbon copy) me, but don't address it to somebody else". 2 Cents, Ralf ___ 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: linux program with kernel module
On Fri, 2013-03-15 at 15:03 +, Ruben de Groot wrote: > On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed: > > On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > > > Can it run linux programs that have their own (linux) kernel module? > > > If yes, how can I install such program, and how can I load the kernel > > > module? > > > > > > (If I know correctly nvidia drivers have their own kernel modules, and > > > FreeBSD can > > > run linux nvidia drivers). > > > > Yesno. > > > > You need to compile kernel modules to fit to the version of FreeBSD or > > Linux. > > > > I also call user space "FreeBSD" and "Linux", but it's _not_ correct to > > do it. FreeBSD is a kernel and Linux is a kernel, not the whole system > > is called Linux or FreeBSD and both kernels are available in different > > versions. > > You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD > is the name of the OS,, kernel plus userland. You can compare it to debian, > another (linux based) OS. Ok, thanks :). However, I also should be more precise about compiling modules. It might be that somebody did build a package, that does provide a kernel module for a special kernel version. I don't have experiences with FreeBSD and for FreeBSD I anyway build from the ports tree, so I have no idea about packages for FreeBSD, but I suspect that it's as it is for most Linux distros. Sometimes packages do provide modules for the current default kernel. So on major Linux distros you usually can install VBox from a package and it will come with the kernel modules for the packaged default kernel of the distro. ___ 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: linux program with kernel module
On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > Can it run linux programs that have their own (linux) kernel module? > If yes, how can I install such program, and how can I load the kernel module? > > (If I know correctly nvidia drivers have their own kernel modules, and > FreeBSD can > run linux nvidia drivers). Yesno. You need to compile kernel modules to fit to the version of FreeBSD or Linux. I also call user space "FreeBSD" and "Linux", but it's _not_ correct to do it. FreeBSD is a kernel and Linux is a kernel, not the whole system is called Linux or FreeBSD and both kernels are available in different versions. To compile a module you need to install the kernel headers of the same version as the kernel. The module quasi is the driver. ___ 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 9 and Windows XP
On Mon, 2013-03-11 at 12:25 -0600, Warren Block wrote: > Booting the same Windows install alternately in a VM and then on real > hardware may trigger the "Genuine Advantage" annoyance. This is true, but for some exceptional cases perhaps untrue. I wasn't aware about this possibility, but it does sound interesting to me. I run Windows in VBox only to use an iPad I won and to transfer documents from my *nix to the iPad. So my exceptional cases is, that I've got something useful I didn't buy myself. This thing, the iPad, has a lot of disadvantages, I don't pay for apps etc., but it's useful as a reader and for some other tasks. I don't need and I don't use Windows, with this exception (to use the "reader"/iPad). It's a XP without admin account and service pack 2 only, I don't give a damn about the state of this Windows or the state of the "reader". Ok, I made some snapshots, I use this advantage, but I could live without snapshots. I'm a *nix only user, the iPad and regarding to this, Windows XP too, fall into my lap. iPad and Windows aren't important for me, I don't need the security advantages of the virtual machine. I chose it, to avoid issues with installing Windows to a real partition, no primary was free and fixing the boot loader is work and I wish to access iTunes from my *nix ... however, since *nix tend to be problematic regarding to hardware, it can't harm to have a Windows to test hardware that does cause issues with *nix, to ensure that the hardware isn't broken. In my very exceptional, individual case it might be really interesting to share a "real" Windows install, directly booted and booted as guest in VBox. I'm thinking of making a backup of the virtual partition and to restore it on a real, primary ntfs partition or something similar, perhaps I can copy just the iTunes data and make a new Windows install ... OTOH I didn't use a Windows install before, disk space isn't expensive, so I'm uncertain, if I really want a real Windows install and if I should wish to have one, it's not to share it with VBox, but keep a separated version in VBox. I'm not sure that it's really easy to test hardware when booting it directly and to have completely different _virtual_ hardware by VBox. What would happen, if for the _virtual_ boot of XP, the professional audio card is missing? The setups might be that different, that it perhaps can't switch between a _real_ and a _virtual_ boot without much editing. ___ 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 9 and Windows XP
On Mon, 2013-03-11 at 09:05 -0700, Carl Johnson wrote: > It is my understanding that FreeBSD doesn't allow using part of a disk, > but grabs the entire disk. That means that VirtualBox can't use > partitions on a disk that any other partitions are being used by > anything else, including FreeBSD itself. Am I wrong about this? I use > VirtualBox using vdmk for an entire disk, but I have never been able to > share with anything else. No, this is a misunderstanding. The primary below [1] is the ufs including my FreeBSD, it's just that Linux's parted doesn't show it (gparted does show) and I can't access BSD by my Linux installs. And no, the ntfs isn't Windows. FWIW my old drives have only one primary and a extended + tons of logical partitions, but I started to partition new drives with 3 primary and one extended including as much logical partitions as needed [2]. To have one partition that can be accessed by the BIOS I format one with fat32, since it can't access ntfs partitions. Most Linux use ext4 by default, I've got ext3 and ext4, because FreeBSD can share ext3 partitions without issues with Linux. I'm using GRUB2 from Linux to boot FreeBSD [3], it's sharing a drive with several Linux installs, more installs anybody does need ;). I'm not maintaining all installs. Regards, Ralf [1] [rocketmouse@archlinux ~]$ sudo parted /dev/sda print Model: ATA SAMSUNG HD321KJ (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End SizeType File system Flags 1 32.3kB 62.1GB 62.1GB primary boot 2 62.1GB 320GB 258GB extended 5 62.1GB 94.1GB 32.0GB logical ntfs 6 94.1GB 126GB 32.1GB logical ext3 7 126GB 158GB 32.2GB logical ext3 8 158GB 185GB 27.0GB logical ext3 9 185GB 223GB 37.7GB logical ext3 10 223GB 225GB 2328MB logical linux-swap(v1) 11 225GB 288GB 62.3GB logical ext3 12 288GB 291GB 3759MB logical ext3 13 291GB 315GB 23.7GB logical ext3 14 315GB 320GB 4927MB logical ext3 [2] [rocketmouse@archlinux ~]$ sudo parted /dev/sdc print Model: WD Ext HDD 1021 (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End SizeType File system Flags 1 1049kB 68.0GB 68.0GB primary ext3 2 68.0GB 138GB 69.6GB primary ext4 3 138GB 413GB 276GB primary ext4 4 413GB 2000GB 1587GB extended [snip] [3] [rocketmouse@archlinux ~]$ cat /run/media/rocketmouse/q/boot/grub/grub.cfg set timeout=8 set default='0'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi set color_normal='light-blue/black'; set color_highlight='light-cyan/blue' menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } menuentry 'Ubuntu Quantal,kernel 3.6.5-rt14' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb9' 'ro' 'quiet' '' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency (recovery mode)' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'single' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Quantal, Kernel 3.6.5-rt14' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb13' 'ro' 'quiet' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Studio Quantal, Kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb13' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Precise, Kernel 3.0.30 threadirqs' { set root='(hd1,1)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30' 'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.0.30' '/boot/initrd.img-3.0.30' } menuentry 'Ubuntu Studio Precise, Kernel 3.2.0-23-lowlatency threadirqs' { set root='(hd1,1)'; set legacy_hdbias='0' legacy_kernel
Re: FreeBSD 9 and Windows XP
On Mon, 2013-03-11 at 14:31 +0100, Eduardo Morras wrote: > On Mon, 11 Mar 2013 14:14:05 +0100 > Ralf Mardorf wrote: > > > On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: > > > As an addon to other answers, you can install VirtualBox, create a > > > minimal hard disk with MBR boot menu that points to the WindowsXP > > > partition. This way you don't need to restart in WinXP. The same > can > > > be done from WinXP side, a minimal hd with MBR boot menu to > startup > > > the FreeBSD. > > > > This does work? > > I followed the instructions (only once) from this page > http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/ > and it works under FreeBSD 8.3 and WinXP. > > > I've got XP as VBox's vdi and just a folder to share content with > *nix. > > It would be possible to install XP bootable without VBox to a ntfs > > partition, to boot it directly and if wanted, to use it also as > guest in > > VBox? > > I use it that way, my set up is 2 primary mbr partitions, one with XP > ntfs, the other with FreeBSD ufs2+su. VBox installed on both. > > > > > I only use VBox to get applications for an iPad and to copy PDFs to > an > > iPad, since ad-hoc networks until now never worked for me, but I > also > > would like to test hardware sometimes, impossible with VBox, so > > sometimes it would be nice to have a real Windows install. > > > > If this should work, will it become impossible to use snapshots made > by > > VBox? Will there be no confusion regarding to different drivers for > the > > XP booted as VBox guest and booted directly? > > Don't know if VBox snapshots are usable, never tried. > > There's no confusion, WinXP access directly to the XP partition and > FreeBSD to FreeBSD partition. If you don't play with VBox internal > commands you are safe. I got a dirty fs on FreeBSD when WinXP crashed > once. Thank you :) I'll flag your reply as "useful information", perhaps I come back to that later. Regards, Ralf ___ 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 9 and Windows XP
On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: > As an addon to other answers, you can install VirtualBox, create a > minimal hard disk with MBR boot menu that points to the WindowsXP > partition. This way you don't need to restart in WinXP. The same can > be done from WinXP side, a minimal hd with MBR boot menu to startup > the FreeBSD. This does work? I've got XP as VBox's vdi and just a folder to share content with *nix. It would be possible to install XP bootable without VBox to a ntfs partition, to boot it directly and if wanted, to use it also as guest in VBox? I only use VBox to get applications for an iPad and to copy PDFs to an iPad, since ad-hoc networks until now never worked for me, but I also would like to test hardware sometimes, impossible with VBox, so sometimes it would be nice to have a real Windows install. If this should work, will it become impossible to use snapshots made by VBox? Will there be no confusion regarding to different drivers for the XP booted as VBox guest and booted directly? Regards, Ralf ___ 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 9 and Windows XP
On Sat, 2013-03-09 at 21:27 +0100, Polytropon wrote: > "Partition Magic" I would avoid to use proprietary software, ntfs, fat16 and fat32 are full supported by Linux gparted, available for free as in beer at http://partedmagic.com as a live media. Perhaps you need to defragment the Windows partitions first. You need to add a primary partition for FreeBSD, an extended partition with logical partitions can't be used to install FreeBSD. I've got FreeBSD and tons of Linux installed, no Windows. However, my partition table is MBR based, as yours. Gparted can't create the FreeBSD slice, you need to do this with e.g. the FreeBSD installer. I had to use 8.3 and than to update to 9.1, I tested 9.0 first, but I couldn't create the slice, resp. the partitions in that slice. Hth, Ralf -- http://sacom.hk/mission ___ 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: rm -R
On Sat, 2013-03-02 at 16:50 +0100, Jos Chrispijn wrote: > I made a folder called -S; > > how can I remove that again? > > did a rm -R '-S;' but that doesn't work (...). rm -R "-S\;" rm -R ?S? ___ 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: https://wiki.freebsd.org/ certificate error
On Fri, 2013-03-01 at 09:08 -0500, Fbsd8 wrote: > When my browser access wiki.freebsd.org > I get certificate error message. > > Who should I notify about this problem? No error here, with Firefox [1] Arch Linux. Regards, Ralf [1] $ firefox -version Mozilla Firefox 19.0 ___ 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: Upgrade causes loss of all firefox settings (?)
On Wed, 2013-02-13 at 13:13 +, Chris Whitehouse wrote: > Is there a file .mozilla/firefox/profiles.ini? If so it should list > which profile to use. Just change it to the one you want and it > should > just work. > > I'm using an older version so don't know how the latest works Good point Chris! I've forgotten, that there is such a file, when using profiles. Btw. they are formated like this: spinymouse@precise:~$ ls -l /mnt/archlinux/home/spinymouse/.mozilla/firefox total 8 lrwxrwxrwx 1 spinymouse users 18 Dec 13 2011 archfox -> /mnt/data2/archfox drwx-- 13 spinymouse users 4096 Oct 31 15:11 ndos9d6q.default -rw-r--r-- 1 spinymouse users 143 Apr 18 2012 profiles.ini spinymouse@precise:~$ cat /mnt/archlinux/home/spinymouse/.mozilla/firefox/profiles.ini [General] StartWithLastProfile=1 [Profile0] Name=d IsRelative=1 Path=ndos9d6q.default Default=1 [Profile1] Name=x IsRelative=1 Path=archfox ___ 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"
OT: Upgrade causes loss of all firefox settings (?)
On Wed, 2013-02-13 at 11:39 +0100, CeDeROM wrote: > Agree, it contains more information than the second one which is > picture-flash based and I cannot see ~80% of its content :-) And the biggest evil is, that those web pages hide important things and they don't add a site map. I can't find the current location to download the bill and already clicked through billions of advertisings, that are nothing but a PITA. No FreeBSD browser and no Linux browser until now is able to open mails by the interface of the homepage, if I try to contact them, by their contact forms, I'm linked to the logout. In the past it already was hard to download the bill. No action for a click and right click, to download was banned. I had to close and open several browsers, to log out and in, out and in ... and when doing this for half an hour I was able to download the bill. Since I've got VBox with XP for a while, next time I'll test to access the homepage with XP. Regards, Ralf PS: Regarding to the topic: Does renaming the config dir work? ___ 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: Upgrade causes loss of all firefox settings (?)
Forwarded Message From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Upgrade causes loss of all firefox settings (?) Date: Wed, 13 Feb 2013 00:52:34 +0100 On Wed, 2013-02-13 at 00:47 +0100, Ralf Mardorf wrote: > The best websites are made by people using braille instead of displays. > Sometimes they choose less good color combinations :D, but they usually > are willing to fix it, if you ask them. A blind Linux user's homepage: http://juliencoder.de/ The homepage of my provider: http://www.o2online.de/ What site is more pleasant ;)? ___ 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: Upgrade causes loss of all firefox settings (?)
On Wed, 2013-02-13 at 00:16 +0100, Polytropon wrote: > Even though I don't like "Flash" especially because it > has become what animated GIFs have been used for in the > past - replacement for HTML, nagging, stealing focus, > aggressive advertising with sound and so on - it perfectly > works with Opera. The best websites are made by people using braille instead of displays. Sometimes they choose less good color combinations :D, but they usually are willing to fix it, if you ask them. I'm a musician, I need to "activate" the sound card and to turn on additional audio gear, before I get sound. I don't like noise all the times. It reminds me of the idiotic sounds on the main bridge of the Enterprise. Desktop sound is disabled and if I need audio notification I want the bell, a simple beep from the computer case's thingy. Idiotic animations stealing focus are a serious issue for me, regarding to dyslexia signs already are animated for me, when they aren't animated. I already can't use applications that animate a mini icon in a menu bar, if it's impossible to disable it. "It's drivin' me crazy. It's drivin' me nuts." Even if old printers are slow, loud and the printing wasn't brilliant, I'm missing my ink ribbon listing paper printers. Printing was cheap that time and reading was much nicer than using the monitor of my computer or my tablet PC. I've got inkjet printer, but it's to expensive for me, to use them. I heard that reading should be more comfortable on a cheap reader than on an iPad, but I won an iPad and will keep it as a toy and reader and won't buy a reader, since they aren't really cheap. ___ 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: Upgrade causes loss of all firefox settings (?)
On Tue, 2013-02-12 at 23:26 +0100, CeDeROM wrote: > On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf > wrote: > > Firefox is my preferred browser, but it has some disadvantages compared > > to other browsers. > > Give a try to Chromium :-) I have been using Opera for long time > because it was fast and small. Not that long ago I have switched to > Chromium and this was really good step - it is opensource/bsd, faster > than firefox, you will find shortcut keys almost the same as in > firefox/gnome, very good integration with google, h264 support, lots > of applications/applets, etc etc :-) My favorites are Firefox and Opera, but I also have Chromium installed for both, FreeBSD and Linux. I don't like the new style of Opera and the style of Chromium. I prefer classic menus. In the future I might need to install Chrome :S. I'm not a flash fan, but I already couldn't download the last Internet provider bill :D, perhaps a flash or some other script issue. Btw. the design of Opera still is closer to my workflow than the design of Chromium. ___ 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: Upgrade causes loss of all firefox settings (?)
On Tue, 2013-02-12 at 23:00 +0100, CeDeROM wrote: > Hey Ronald, are you sure there is no corruption on the disk? Have you > preformatted your new drive? I had disks that lost data if used with > no pre-format stage. Have you tried forcing fsck? Sometimes when my > machine crash there is a silent corruption on the filesystem and some > settings are lost/changed... Firefox is my preferred browser, but it has some disadvantages compared to other browsers. 1. It's slow and bloated, even without add-ons, fortunately it doesn't matter on my relatively modern machine. 2. It's known for all kind of issues. Some years ago there sometimes was the need to delete the configuration, to get Firefox running again, it simply couldn't be started sometimes, because there were bugs. Regarding to the kind of issue, it's more likely that Firefox is buggy and the HDD still is ok. ___ 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: Upgrade causes loss of all firefox settings (?)
On Tue, 2013-02-12 at 22:52 +0100, Ralf Mardorf wrote: > On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: > > The profile should be available by 'firefox -ProfileManager' [1], OTOH > > I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for > > Arch Linux I used two profiles, one shared with another Linux and after > > a while I couldn't use the shared profiles anymore, but the > > ProfileManger still started. > > > > In the past > > rm -fr nh2ykiym.default > > mv 4up9dkb1.default nh2ykiym.default > > worked, or instead simply chose it with the ProfileManger, but nowadays > > there might be something fishy. > > > > [1] IIRC only one could have the name "*.default", the other must have > > another name, *.foo. > > simply try > mv nh2ykiym.default nh2ykiym.test > perhaps it then will use > 4up9dkb1.default > automatically After a 'killall -9 -w firefox' the ProfileManager did start :). Closing the windows wasn't enough ;). FWIW version for this Linux install is 15.0.1. ___ 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: Upgrade causes loss of all firefox settings (?)
On Tue, 2013-02-12 at 22:49 +0100, Ralf Mardorf wrote: > The profile should be available by 'firefox -ProfileManager' [1], OTOH > I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for > Arch Linux I used two profiles, one shared with another Linux and after > a while I couldn't use the shared profiles anymore, but the > ProfileManger still started. > > In the past > rm -fr nh2ykiym.default > mv 4up9dkb1.default nh2ykiym.default > worked, or instead simply chose it with the ProfileManger, but nowadays > there might be something fishy. > > [1] IIRC only one could have the name "*.default", the other must have > another name, *.foo. simply try mv nh2ykiym.default nh2ykiym.test perhaps it then will use 4up9dkb1.default automatically ___ 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: Upgrade causes loss of all firefox settings (?)
The profile should be available by 'firefox -ProfileManager' [1], OTOH I'm booted to Ubuntu Precise and the ProfileManager doesn't start, for Arch Linux I used two profiles, one shared with another Linux and after a while I couldn't use the shared profiles anymore, but the ProfileManger still started. In the past rm -fr nh2ykiym.default mv 4up9dkb1.default nh2ykiym.default worked, or instead simply chose it with the ProfileManger, but nowadays there might be something fishy. [1] IIRC only one could have the name "*.default", the other must have another name, *.foo. ___ 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"
Evolution
Does Evolution support maildir? 2.32.1 seems to support mbox only. Regards, Ralf ___ 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"
[solved] How to fix a broken owner for files from world & build from ports?
It were > 20 directories/files with a wrong owner. ___ 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: How to fix a broken owner for files from world & build from ports?
I don't use space in filenames, I just wanted to ensure, that file names with spaces will be handled partly correctly. At the moment I'm not working intensively. Every once in a while I take a look at a directory and compare it with the backups. If there's something wrong, I manually run chown. I copy each step I'm doing to a file. Overcautious, without haste and without a script ;), I fix it step by step. Regards, Ralf ___ 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"
How to fix a broken owner for files from world & build from ports?
I'm surprised, there's no /bin/sh for the backup: # ls -ld /bin/sh -r-xr-xr-x 1 rocketmouse wheel 142952 Dec 23 18:38 /bin/sh # ls -ld /usr/TMP4DIFF/bin/sh ls: /usr/TMP4DIFF/bin/sh: No such file or directory This is an error in reasoning :D. I compared the original /bin, with a restore from /usr, so it seems to be /bin, but it is /usr/bin ;). I have to keep the system as it is for at least a day, need to do something different and than I can continue, when I'm refreshed. root@freebsd:/usr/TMP4DIFF/ROOT # ls -l bin/sh -r-xr-xr-x 1 root wheel 142952 Dec 23 18:38 bin/sh :D There definitively is need for a real rest, to avoid mistakes. -- Sent from my PC while wearing my Relox watch and Iccug handback. If you pay me, product placement for your lemon could be placed here too, just mailto:/dev/null. ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 14:58:18 +0100, wrote: mtree I was confused, since the existing files only provide directories. Ok, I guess I understand, I can let mtree generate new files using the backup. I anyway need to take care about files that are missing by the backup. Thank you. -- Sent from my PC while wearing my Relox watch and Iccug handback. If you pay me, product placement for your lemon could be placed here too, just mailto:/dev/null. ___ 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: How to fix a broken owner for files from world & build from ports?
I suspect it's less effort to use Thunar and instead of scrolling, as I did before (when I missed some wrong owners), to switch sorting by owner between ascending and descending, to ensure not to miss a bad owner again. I'm surprised, there's no /bin/sh for the backup: /bin # find /usr/TMP4DIFF/bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}' > bin.TMP.txt # find /bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}' bin.BSD.txt # diff bin.TMP.txt bin.BSD.txt > bin.DIF.txt # grep rocketmouse bin.DIF.txt rocketmouse /bin/sh # ls -ld /bin/sh -r-xr-xr-x 1 rocketmouse wheel 142952 Dec 23 18:38 /bin/sh # ls -ld /usr/TMP4DIFF/bin/sh ls: /usr/TMP4DIFF/bin/sh: No such file or directory /lib [snip ... no differences] I anyway will unpack /usr too and take a look at the directories from the backup. I won't bother you with each detail, but report a list of differences, if there should be something very strange. Regards, Ralf -- Sent from my PC while wearing my Relox watch and Iccug handback. If you pay me, product placement for your lemon could be placed here too, just mailto:/dev/nul. ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky wrote: It cannot get worse. His experience will show also others how robust FreeBSD is in case of failures. Indeed. Linux users ask me why I play with FreeBSD. I already could make a list with drawbacks and advantages of both OS. Some of my guesses might be wrong, since I'm a FreeBSD novice, so this list wouldn't be absolutely correct. Regarding to the annoyance, I won't switch the thread regarding to this issue anymore. I'll continue with this thread "Re: How to fix a broken owner for files from world & build from ports?" if this should be ok for the list, if not I can be quiet, no hard feelings. The thread could easily be filtered by most MUAs. Regards, Ralf ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote: > This is a mayor damage and can only be repaired by a new installation. Perhaps true, but if such a simple mistake can't be fixed, what happens when somebody makes a big mistake? Perhaps more people stay with Linux than other *NIX, regarding to the policy, that issues should be fixed instead of always starting from the beginning. ;)? Of course, if I simply would restore from a dump, it will be less time consuming and it wouldn't annoy you, but I would have the bad feeling, that if ever needed, thinks can't be fixed, I always would have to restore from backups. And what happens, if for what reason ever a backup shouldn't be available? 2 Cents, Ralf ___ 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: How to fix a broken owner for files from world & build from ports?
On Mon, 2013-01-28 at 22:28 -1000, parv wrote: > in message , > wrote Ralf Mardorf thusly... > > > > Hi :) > > > > I hope it's ok, when I open a new thread for this issue. > > First I need to know what files have a bad owner. > > > > I'm running > > # freebsd-update IDS >> outfile_28Jan2013.ids > > perhaps this will give some useful output, regarding to a wrong owner for > > files from world. > > > > It's still running. > > > > I still have no idea how to check this for the files build from ports. > > If I understand your problem correctly, it is of incorrect owner & > group. If so, are there any problems with just running "chown -R" on > the parent directory (say /usr/local, where ports are installed by > default)? > > > - parv It's only the owner and yes, the problem is, that the owner not always is root for important directories. I had to switch the uid for the owner from 1001 to 1000, when I changed the owner for all files from 1001 to 1000, some owners in */bin and */lib directories were accidentally changed too, for what reason ever. Regards, Ralf ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 04:19:08 +0100, Ralf Mardorf wrote: On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf wrote: On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom wrote: On 1/28/2013 8:54 PM, Ralf Mardorf wrote: On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom wrote: On 1/28/2013 7:56 PM, Ralf Mardorf wrote: Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do with names including a space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and then get something easily comparable. Cool, it does display the path, but there's still the other issue: $ touch test\ test $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}' rocketmouse test Perhaps awk isn't that important, but it e.g. will filter different file sizes, for e.g. configurations I edited in the meantime. :( You're basically getting down to the dirty tedious parts. Unless you know a full featured scripting language with a find library to find and compare ownership, or you want a custom c program for a rare occurrence, you're just going to have to do it the tedious way. Computer's aren't always fun and glory. For every beautiful network, someone had to run the wires into the wall, through the dirt, and to the other building. I already have an idea. Since $11 is the last output I might be able to check whether there is a space followed by a sign, by a loop, assumed there should be several spaces, interrupted by signs. I guess to care for several spaces one after the other and exotic signs that might "break" awk IMO isn't needed. It might become a very long "command line" ;). Perhaps I don't need it, I have to test it. I extracted the first dump, but need a rest now. Thank you :). Solved! # find * -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}' I can add $14 to $83635484 ;). I guess $[...] is limited, but even with 12 and 13, it should be enough. ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf wrote: On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom wrote: On 1/28/2013 8:54 PM, Ralf Mardorf wrote: On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom wrote: On 1/28/2013 7:56 PM, Ralf Mardorf wrote: Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do with names including a space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and then get something easily comparable. Cool, it does display the path, but there's still the other issue: $ touch test\ test $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}' rocketmouse test Perhaps awk isn't that important, but it e.g. will filter different file sizes, for e.g. configurations I edited in the meantime. :( You're basically getting down to the dirty tedious parts. Unless you know a full featured scripting language with a find library to find and compare ownership, or you want a custom c program for a rare occurrence, you're just going to have to do it the tedious way. Computer's aren't always fun and glory. For every beautiful network, someone had to run the wires into the wall, through the dirt, and to the other building. I already have an idea. Since $11 is the last output I might be able to check whether there is a space followed by a sign, by a loop, assumed there should be several spaces, interrupted by signs. I guess to care for several spaces one after the other and exotic signs that might "break" awk IMO isn't needed. It might become a very long "command line" ;). Perhaps I don't need it, I have to test it. I extracted the first dump, but need a rest now. Thank you :). Solved! # find * -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}' I can add $14 to $83635484 ;). ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom wrote: On 1/28/2013 8:54 PM, Ralf Mardorf wrote: On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom wrote: On 1/28/2013 7:56 PM, Ralf Mardorf wrote: Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do with names including a space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and then get something easily comparable. Cool, it does display the path, but there's still the other issue: $ touch test\ test $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}' rocketmouse test Perhaps awk isn't that important, but it e.g. will filter different file sizes, for e.g. configurations I edited in the meantime. :( You're basically getting down to the dirty tedious parts. Unless you know a full featured scripting language with a find library to find and compare ownership, or you want a custom c program for a rare occurrence, you're just going to have to do it the tedious way. Computer's aren't always fun and glory. For every beautiful network, someone had to run the wires into the wall, through the dirt, and to the other building. I already have an idea. Since $11 is the last output I might be able to check whether there is a space followed by a sign, by a loop, assumed there should be several spaces, interrupted by signs. I guess to care for several spaces one after the other and exotic signs that might "break" awk IMO isn't needed. It might become a very long "command line" ;). Perhaps I don't need it, I have to test it. I extracted the first dump, but need a rest 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom wrote: On 1/28/2013 7:56 PM, Ralf Mardorf wrote: Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do with names including a space. Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| sed -e 's%/dir%%g'` and then get something easily comparable. Cool, it does display the path, but there's still the other issue: $ touch test\ test $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}' rocketmouse test Perhaps awk isn't that important, but it e.g. will filter different file sizes, for e.g. configurations I edited in the meantime. :( ___ 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: How to fix a broken owner for files from world & build from ports?
On Tue, 29 Jan 2013 02:21:55 +0100, Ralf Mardorf wrote: The output of "freebsd-update IDS >> outfile_28Jan2013.ids" is useless for this purpose. I now will do it like that: root@freebsd:/mnt/dump/tmp # bzcat ../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf - unfortunately it happened: /mnt/dump: write failed, file system is full write error extracting inode 2078075, name ./local/share/locale/id/LC_MESSAGES/GConf2.mo write: No space left on device ^Crestore interrupted, continue? [yn] n ;) I still have to solve this. Then I will run # ls -l /usr/bin | awk '{print $3" "$9}' > foo_original.txt # ls -l /dump_dir/usr/bin | awk '{print $3" "$9}' > foo_dump.txt and diff both text files. After that I'll do it for all relevant directories. How to continue depends to the output of diff. Still not perfect, I guess I need something similar to ls -RAl for some directories :S and I didn't test what awk will do with names including a space. ___ 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: How to fix a broken owner for files from world & build from ports?
The output of "freebsd-update IDS >> outfile_28Jan2013.ids" is useless for this purpose. I now will do it like that: root@freebsd:/mnt/dump/tmp # bzcat ../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf - unfortunately it happened: /mnt/dump: write failed, file system is full write error extracting inode 2078075, name ./local/share/locale/id/LC_MESSAGES/GConf2.mo write: No space left on device ^Crestore interrupted, continue? [yn] n ;) I still have to solve this. Then I will run # ls -l /usr/bin | awk '{print $3" "$9}' > foo_original.txt # ls -l /dump_dir/usr/bin | awk '{print $3" "$9}' > foo_dump.txt and diff both text files. After that I'll do it for all relevant directories. How to continue depends to the output of diff. Regards, Ralf ___ 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: sh & export
On Tue, 29 Jan 2013 00:55:02 +0100, Fbsd8 wrote: The env command does not show them. Does set or printenv show them? ___ 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"
[solved] Suspend caused trouble
On Mon, 2013-01-28 at 14:43 -0700, Warren Block wrote: # fsck -tufs -y Thank you, it wasn't that easy, but a hint into the right direction. $ cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass /dev/ad4s1b noneswapsw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmpufs rw 2 2 /dev/ad4s1f /usrufs rw 2 2 /dev/ad4s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 #/dev/ada0s8 /mnt/dump ext2fs rw 0 0 #/dev/ada0s9 /mnt/archlinux ext2fs rw 0 0 I uncommented both ext3 file systems (they were not uncommented before ;), restarted and read http://www.freebsd.org/cgi/man.cgi?query=fsck&sektion=8 : "Only partitions in /etc/fstab that are mounted ``rw'', ``rq'' or ``ro'' and that have non-zero pass number are checked." I set them to /dev/ada0s8 /mnt/dump ext2fs rw 0 2 /dev/ada0s9 /mnt/archlinux ext2fs rw 0 2 but they were still ignored by fsck, so I uncommented them again to finish a startup. A quick research leaded to # cd /usr/ports/sysutils/e2fsprogs # make install clean # rehash # fsck.ext3 /dev/* So I switched back to /dev/ada0s8 /mnt/dump ext2fs rw 0 0 /dev/ada0s9 /mnt/archlinux ext2fs rw 0 0 installed e2fsprogs and run # fsck.ext3 /dev/ada0s8 e2fsck 1.42.6 (21-Sep-2012) dump was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity /lost+found not found. Create? yes Pass 4: Checking reference counts Pass 5: Checking group summary information dump: * FILE SYSTEM WAS MODIFIED * dump: 33/1646592 files (18.2% non-contiguous), 5621796/6585521 blocks # fsck.ext3 /dev/ada0s9 e2fsck 1.42.6 (21-Sep-2012) Superblock last write time is in the future. (by less than a day, probably due to the hardware clock being incorrectly set). Fix? yes archlinux: clean, 362815/2301952 files, 7124325/9206016 blocks # mount -a already worked :), but I restarted to be sure that everything is fixed and it is :). Regards, Ralf ___ 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"
Suspend caused trouble
Hi :) today I tried suspend for the first time. While I was off I had an idea, how to fix an issue for my install. When I was home again, I wanted to start FreeBSD, but now I've got an additional problem. It always starts with the GRUB menu and what ever I do, it ends in single user mode, with "Enter full pathname of shell or RETURN for /bin/sh:" I'm using Xfce, but GNOME is installed too. The display manager is GDM. Until now I didn't read much and I didn't try to switch to the user, after a mount -a and then to start GDM or X. Perhaps this is a known issue. How can I start a Xfce session? Regards, Ralf PS: FWIW, I don't think it's related, but just in case that this made suspend to fail, the other issue is, that some files in /usr that shouldn't be owned by the user, are owned by the user. ___ 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"
How to fix a broken owner for files from world & build from ports?
Hi :) I hope it's ok, when I open a new thread for this issue. First I need to know what files have a bad owner. I'm running # freebsd-update IDS >> outfile_28Jan2013.ids perhaps this will give some useful output, regarding to a wrong owner for files from world. It's still running. I still have no idea how to check this for the files build from ports. Regards, Ralf ___ 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: Usage of "restore"
Another issue. # bunzip2 < dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore -t -f - does work, but the output doesn't show the owner and I want to get some output I can use with mtree, to fix a broken owner for some files. Regards, Ralf PS: "man restore" doesn't tell me, that I missed to extract the compressed archive ;). ___ 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: Usage of "restore"
On Mon, 28 Jan 2013 16:54:29 +0100, Polytropon wrote: The answer is in "man restore". :-) No it isn't ;). I did read it. This was a Wald'n'Bäume situation. Even if I would have add a .bz2, I would have missed it, since on Linux I .tar.bz backups and it's more automated to extract a .tar.foo. However, I should add .bz2 in the future. Ern... two things: Do you _really_ have /bin/bash on FreeBSD? I know this is possible. And do you use any bash-specific features in your script? If not, why not use /bin/sh, the "universally" accepted standard? :-) No /bin/bash, # ls /usr/local/bin/bash /usr/local/bin/bash I run "bash file" instead of "sh file", IIRC I already had an issue when writing a script and running "sh file". I use it, since I use it on Linux too, another shell might cause issues, if I continue writing this script or if I should write another script. Btw. I was an Assembler coder in the 80s and don't have much knowledge how to write shell scripts, if I need something I search for it. I'm using *NIX as OS for audio productions and for the Internet, I'm not interested in programming anymore, I only do what's needed, *NIX OS are a tool for me. Philosophy about POSIX isn't a religion for me. I thought /bin/sh is a link to another shell. Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Mon, 28 Jan 2013 15:37:25 +0100, Polytropon wrote: It's rather untypical to check out _only_ kernel sources without the "top level" content. For the update from 8.x to 9.1 I even didn't check out the kernel source, this is something I did much later ;). I simply followed the FreeBSD instructions. Perhaps it were binaries, but anyway, IIRC a kernel was compiled?!? ___ 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"
Usage of "restore"
Hi :) I don't understand how to use the restore command. root@freebsd:/mnt/dump # restore -v -t dump-9.1-RELEASE-20130123_193142-usr_f.dump Verify tape and initialize maps /dev/sa0: No such file or directory root@freebsd:/mnt/dump # restore -v -t -f dump-9.1-RELEASE-20130123_193142-usr_f.dump Verify tape and initialize maps Tape block size is 32 Tape is not a dump tape FWIW the dump files are on a ext3 fs. I know that I don't need to backup /tmp. The backups were done by this script, perhaps I've done something wrong: root@freebsd:/mnt/dump # cat /root/dump.sh #! /bin/bash # bash dump.sh dumpstart=$(date "+%Y%m%d_%H%M%S") dump_path="/mnt/dump/dump-$(uname -r)-$dumpstart" rootdir_a="/dev/ad4s1a" usr_dir_f="/dev/ad4s1f" var_dir_d="/dev/ad4s1d" tmp_dir_e="/dev/ad4s1e" #mkdir $dump_path dump -0Launf - $rootdir_a | bzip2 > "$dump_path-roota.dump" dump -0Launf - $usr_dir_f | bzip2 > "$dump_path-usr_f.dump" dump -0Launf - $var_dir_d | bzip2 > "$dump_path-var_d.dump" dump -0Launf - $tmp_dir_e | bzip2 > "$dump_path-tmp_e.dump" echo "Started: $dumpstart" echo " Done: $(date "+%Y%m%d_%H%M%S")" exit 0 root@freebsd:/mnt/dump # grep dump /etc/fstab /dev/ada0s8 /mnt/dump ext2fs rw 0 0 root@freebsd:/mnt/dump # ls .Trash-1000 dump-9.1-RELEASE-20130123_193142-tmp_e.dump dump-9.1-RELEASE-20130120_114824-roota.dump dump-9.1-RELEASE-20130123_193142-usr_f.dump dump-9.1-RELEASE-20130120_114824-tmp_e.dump dump-9.1-RELEASE-20130123_193142-var_d.dump dump-9.1-RELEASE-20130120_114824-usr_f.dump dump-9.1-RELEASE-20130126_162902-roota.dump dump-9.1-RELEASE-20130120_114824-var_d.dump dump-9.1-RELEASE-20130126_162902-tmp_e.dump dump-9.1-RELEASE-20130122_053545-roota.dump dump-9.1-RELEASE-20130126_162902-usr_f.dump dump-9.1-RELEASE-20130122_053545-tmp_e.dump dump-9.1-RELEASE-20130126_162902-var_d.dump dump-9.1-RELEASE-20130122_053545-usr_f.dump evolution-backup-20130120.tar.gz dump-9.1-RELEASE-20130122_053545-var_d.dump evolution-backup-20130122.tar.gz dump-9.1-RELEASE-20130123_193142-roota.dump Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sun, 2013-01-27 at 23:57 -0500, kpn...@pobox.com wrote: > On Mon, Jan 28, 2013 at 03:24:06AM +0100, Ralf Mardorf wrote: > > On Fri, 2013-01-25 at 19:24 -0500, kpn...@pobox.com wrote: > > > You can use mtree against the spec files in /etc/mtree/ to check for and > > > fix incorrect permissions and owners on base system files. It won't help > > > with /usr/local, but at least you can get the base straight. > > > > > > As root, from the root directory, something like this: > > > mtree -U -f /etc/mtree/BSD.root.dist > > > > > > There are other spec files in that directory. Poke around. > > > > So mtree can't fix /usr/local and poking around without knowledge is > > asking for trouble :(. > > > > /etc/mtree/BSD.root.dist is for the whole base? > > Darn. I just looked and it looks like the stock mtree files just give the > permissions of _directories_. They don't give the permissions (and owners) > of files. > > Well, one thing you can do is unpack the OS distribution somewhere else > and then use mtree to create a manifest from that. That will also give > you a single manifest instead of the multiple ones from "/etc/mtree". > That's more work than I was hoping but still less than a full reinstall. I've to search the emails, but IIRC there was an option to get the owner from a dump backup. Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Mon, 2013-01-28 at 10:51 +0700, Erich Dollansky wrote: > Hi, > > On Mon, 28 Jan 2013 01:36:36 +0100 > Ralf Mardorf wrote: > > > On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: > > > # 1. `cd /usr/src' (or to the directory containing your > > > source tree). # 2. `make buildworld' > > > # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > > > GENERIC). # 4. `make installkernel > > > KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps > > > 3. & 4. can be combined by using the "kernel" target] # 5. > > > `reboot'(in single user mode: boot -s from the loader > > > prompt). # 6. `mergemaster -p' # 7. `make installworld' > > > # 8. `make delete-old' > > > # 9. `mergemaster'(you may wish to use -i, along with > > > -U or -F). # 10. `reboot' > > > # 11. `make delete-old-libs' (in case no 3rd party program uses > > > them anymore) > > > > > > What source tree? I only checked out the kernel source using svn and > > yeah, what source tree? It seems that you do not have one. > > > # freebsd-update -r 9.1-RELEASE upgrade > > This is very much a binary upgrade. You might have a source tree for > 8.3 which is not very helpful now. > > I do not know if this program is able to fix your problem. > > > I wanted to run it tonight, but since I don't know where my source > > tree is, I can't continue. > > I think that you simply do not have one. At least not a current one. > Read the handbook how you can get the source tree and then download and > compile it. > > I believe that all other options will end in a re-installation. IIUC I can use mtree to fix the owner for world, I only need to find the smartest solution to fix the owner for software from the ports. Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Fri, 2013-01-25 at 19:24 -0500, kpn...@pobox.com wrote: > You can use mtree against the spec files in /etc/mtree/ to check for and > fix incorrect permissions and owners on base system files. It won't help > with /usr/local, but at least you can get the base straight. > > As root, from the root directory, something like this: > mtree -U -f /etc/mtree/BSD.root.dist > > There are other spec files in that directory. Poke around. So mtree can't fix /usr/local and poking around without knowledge is asking for trouble :(. /etc/mtree/BSD.root.dist is for the whole base? ___ 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: Sharing a mail folder between Linux and FreeBSD
On Mon, 2013-01-28 at 01:46 +0100, Polytropon wrote: > On Mon, 28 Jan 2013 01:36:36 +0100, Ralf Mardorf wrote: > > On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: > > > # 1. `cd /usr/src' (or to the directory containing your source > > > tree). > > > # 2. `make buildworld' > > > # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > > > GENERIC). > > > # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is > > > GENERIC). > > > # [steps 3. & 4. can be combined by using the "kernel" target] > > > # 5. `reboot'(in single user mode: boot -s from the loader > > > prompt). > > > # 6. `mergemaster -p' > > > # 7. `make installworld' > > > # 8. `make delete-old' > > > # 9. `mergemaster'(you may wish to use -i, along with -U or > > > -F). > > > # 10. `reboot' > > > # 11. `make delete-old-libs' (in case no 3rd party program uses them > > > anymore) > > > > > > What source tree? I only checked out the kernel source using svn and > > IIRC it's using the /usr/src directory (I'm booted into Linux at the > > moment), without a subdirectory /kernel. I can delete the kernel source, > > since it's IMO fishy to have headers of another revision, than the > > kernel is, but when I asked, I got a reply, that it should be ok for > > FreeBSD. However, I never used the kernel source. > > The content of /usr/src does not only contain the kernel. It's > the whole OS, except of course you have only installed selected > parts of this tree. The file I've mentioned is at the top of > this structure: /usr/src/Makefile contains a short instruction > of how to install kernel and world (and explains other possible > targets). Before I checked out the kernel source it was empty. > > When I updated I did it like that (without subversion or cvs): > > > > # cd /usr/ports/misc/mc && make install clean > > # uname -r > > 8.3-RELEASE > > # freebsd-update -r 9.1-RELEASE upgrade > > # freebsd-update install > > # shutdown -r now > > > > # freebsd-update install > > # cd /usr/ports/ports-mgmt/portupgrade && make install clean > > # /usr/local/sbin/portupgrade -f ruby > > # rm /var/db/pkg/pkgdb.db > > # /usr/local/sbin/portupgrade -f ruby18-bdb > > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > > # /usr/local/sbin/portupgrade -af > > # freebsd-update install > > # shutdown -r now > > > > # freebsd-update IDS >> outfile.ids > > > > I wanted to run it tonight, but since I don't know where my source tree > > is, I can't continue. > > That's the binary way of updating. The kernel definitively was compiled. > If you'd update from source, > the steps would usually involve first updating /usr/src (by > whatever means, CVS no more, SVN or as part of a binary update > that also keeps the OS sources current). To take this approach, > the sources have to be complete. You can follow a -STABLE and > even -CURRENT (-HEAD) branch if you like. > > My suggestion would have been: If you have already used this > method before, and maybe if your current system has been installed > that way, you can "do it again"; if /usr/obj (the "result tree" > for building world and kernel) is still present, only the > "make installworld" steps would have been involved; even better, > if you only have to deal with a few system components, a selective > "make install" would have been sufficient. > > However, it has already been suggested to utilize mtree, because > a real re-installation isn't actually needed (as no files have > been changed, only their permissions, and that can be checked > and corrected using the /etc/mtree reference files). # umount # mtree -U -f /etc/mtree ? Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: > > If you only will have to handle a few ports, using the "bare > > ports method" (make) is probably the easiest way (in case > > everything else stays definitely consistent). What could become inconsistent without upgrading or downgrading? I didn't update again, I e.g. kept the Chromium version with the security risk, since, as you explained, there's no way to really control dependency issues, when installing security updates. If there should be a valid method I understand, to find out what ports have wrong permissions, it would be nice, but I don't understand what to do, the output I already have is hardly comprehensible and understandable. :) Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: > On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote: > > Hi, > > > > On Sun, 27 Jan 2013 09:15:09 +0100 > > "Ralf Mardorf" wrote: > > > Is there a command to deinstall and reinstall all ports or an idea > > > for a script to do it? > > > > > Check portupgrade or one of other utilities to handle ports. There is > > one option to force an upgrade even if it would be a downgrade. > > With tools like portmaster, this task can easily be automated. > If you only will have to handle a few ports, using the "bare > ports method" (make) is probably the easiest way (in case > everything else stays definitely consistent). *?* This is how I updated my ports, after I updated FreeBSD: root@freebsd:/root # portmaster --list-origins > ~/installed-port-list root@freebsd:/root # portsnap fetch update root@freebsd:/root # portmaster -ty --clean-distfiles root@freebsd:/root # portmaster --check-port-dbdir delete? always y root@freebsd:/root # portmaster -Faf root@freebsd:/root # pkg_delete -a root@freebsd:/root # rm -rf /usr/local/lib/compat/pkg No backup of files in /usr/local, such as configuration files in /usr/local/etc needed. root@freebsd:/root # ls -hAl /usr/local/bin total 0 root@freebsd:/root # ls -hAl /usr/local/sbin total 0 root@freebsd:/root # ls -hAl /usr/local/lib total 12 drwxr-xr-x 4 root wheel 512B Jan 18 16:17 X11 -r--r--r-- 1 root wheel 2.2k Jan 14 19:30 charset.alias drwxr-xr-x 2 root wheel 3.0k Jan 18 16:19 compat drwxr-xr-x 2 root wheel 1.0k Jan 18 16:10 dssi root@freebsd:/root # ls -hAl /usr/local/lib/dssi total 0 root@freebsd:/root # ls -hAl /usr/local/lib/compat total 0 root@freebsd:/root # ls -hAl /usr/local/lib/X11 total 4 drwxr-xr-x 2 root wheel 512B Jan 18 16:14 app-defaults drwxr-xr-x 4 root wheel 512B Jan 18 16:14 fonts root@freebsd:/root # ls -hAl /var/db/pkg total 9424 -rw-r--r-- 1 root wheel 9.2M Dec 23 22:42 pkgdb.db root@freebsd:/root # cd /usr/ports/ports-mgmt/portmaster && make deinstall install clean root@freebsd:/usr/ports/ports-mgmt/portmaster # portmaster `cat ~/installed-port-list` I still had to manually answer yes a million times, when I was asked if something should be deleted or not. I stopped by Ctrl + C, add --no-confirm to the command and run it again. I guess I need to add --force-config -G -y -no-confirm ? Compiling > 400, from > 800 packages needed > 2 day. How do I reinstall all ports [1]? Is recompiling everything needed? Isn't it possible to reinstall everything? Isn't there a cache with all the binaries? Resp. the binaries are already installed ;) and could be copied to a cache, tmp. [1] *?* http://howtounix.info/man/FreeBSD/man8/portmaster.8 *?* Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
PS: On Mon, 2013-01-28 at 01:36 +0100, Ralf Mardorf wrote: > # cd /usr/ports/misc/mc && make install clean > # uname -r > 8.3-RELEASE > # freebsd-update -r 9.1-RELEASE upgrade > # freebsd-update install > # shutdown -r now > > # freebsd-update install > # cd /usr/ports/ports-mgmt/portupgrade && make install clean > # /usr/local/sbin/portupgrade -f ruby > # rm /var/db/pkg/pkgdb.db > # /usr/local/sbin/portupgrade -f ruby18-bdb > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > # /usr/local/sbin/portupgrade -af > # freebsd-update install > # shutdown -r now > > # freebsd-update IDS >> outfile.ids And I didn't, still don't understand how to set the BATCH-variable to yes, so it didn't run automatically. # setenv BASH yes Is this correct? ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote: > # 1. `cd /usr/src' (or to the directory containing your source tree). > # 2. `make buildworld' > # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > # [steps 3. & 4. can be combined by using the "kernel" target] > # 5. `reboot'(in single user mode: boot -s from the loader prompt). > # 6. `mergemaster -p' > # 7. `make installworld' > # 8. `make delete-old' > # 9. `mergemaster'(you may wish to use -i, along with -U or -F). > # 10. `reboot' > # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) What source tree? I only checked out the kernel source using svn and IIRC it's using the /usr/src directory (I'm booted into Linux at the moment), without a subdirectory /kernel. I can delete the kernel source, since it's IMO fishy to have headers of another revision, than the kernel is, but when I asked, I got a reply, that it should be ok for FreeBSD. However, I never used the kernel source. When I updated I did it like that (without subversion or cvs): # cd /usr/ports/misc/mc && make install clean # uname -r 8.3-RELEASE # freebsd-update -r 9.1-RELEASE upgrade # freebsd-update install # shutdown -r now # freebsd-update install # cd /usr/ports/ports-mgmt/portupgrade && make install clean # /usr/local/sbin/portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # /usr/local/sbin/portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # /usr/local/sbin/portupgrade -af # freebsd-update install # shutdown -r now # freebsd-update IDS >> outfile.ids I wanted to run it tonight, but since I don't know where my source tree is, I can't continue. Regards, Ralf ___ 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: who am i logged in as
On Sun, 27 Jan 2013 17:01:46 +0100, Fbsd8 wrote: I know there is a command that will give me the name of the account I am logged in on. But I can not recall the name of this command. What is the name of this command? As user run $ id uid=1000(rocketmouse) gid=1000(rocketmouse) groups=1000(rocketmouse),0(wheel) $ groups rocketmouse wheel $ whoami rocketmouse ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sun, 27 Jan 2013 15:28:47 +0100, Erich Dollansky wrote: I think that installing it in multi-user mode without other users having things running, will work in 99.% of the cases. In his special case, it will work 100% as only the permissions should et changed. I think so, but I asked, because world might be a more serious issue, than Opera and Jack are. Btw. I even run a complete port upgarde during a X session. I didn't launch apps or did hard work, but kept Opera open. Reading mails become impossible, but writing mails and using the browser was possible all the time. Today I take a rest ;). Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
Good morning, if I run 'make deinstall reinstall' for a port, it doesn't ask a single question, at least not for dbus. # ls -l /usr/local/bin/dbus-daemon -r-xr-xr-x 1 rocketmouse wheel 377744 Jan 18 22:44 /usr/local/bin/dbus-daemon # cd /usr/ports/devel/dbus ; make deinstall reinstall # ls -l /usr/local/bin/dbus-daemon -r-xr-xr-x 1 root wheel 377744 Jan 27 08:55 /usr/local/bin/dbus-daemon Is there a command to deinstall and reinstall all ports or an idea for a script to do it? Do I have to reboot into single user mode and then to run "make installworld" only to reinstall world? Regards, Ralf ___ 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"
Good news for snd_hdspe ADAT sync slave
Hi, special thanks to John Rigg :), he mentioned sync. Thank you very much! In general the driver should use master for sync as default, since the default is slave, it's good for my needs, because my ADA8000 is an elCheapo ADAT device, the RME card should be able to be the better sync slave. The short explanation can be found in the Jack devel mailing list archive, it was also mentioned by John. So I switched the ADA8000 from slave to 48.0 KHz master (44.1 KHz is available too). I read http://www.freebsd.org/cgi/man.cgi?query=mixer&manpath=FreeBSD+8-current and run $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer rec is currently set to 75:75 So there are no sync settings available. I only tested outputs. The latency is very bad, -p16 or any other value is ignored. Good and bad news, ADAT out does work without glitches for jackd -r -doss -r48000 -p16 -n2 -w16 -C/dev/dsp4.0 -P/dev/dsp4.0 = Channel 1 and 5, all other channels are dead. jackd -r -doss -r48000 -p16 -n2 -w16 -C/dev/dsp5.0 -P/dev/dsp5.0 = Channel 3 and 7, all other channels are dead. jackd -r -doss -r48000 -p16 -n2 -w16 -C/dev/dsp6.0 -P/dev/dsp6.0 = Channel 2 and 4, all other channels are dead. jackd -r -doss -r48000 -p16 -n2 -w16 -C/dev/dsp7.0 -P/dev/dsp7.0 = Channel 6 and 8, allother channels are dead. Comparison to Linux On Linux latency isn't perfect either, but good enough to do serious audio work. I don't get completely rid of xruns on Linux using this card, but theoretically it anyway could be used for professional work, resp. not for professional usage, but to get lower professional audio quality. Regarding to xruns I don't have experiences with FreeBSD, for the test everything was ok, but this doesn't say that much. On Linux the two analog IOs, but only ADAT channel 1 and 2 can be used, but all channels at the same time, I never tested SPDIF and AES/EBU on Linux. On FreeBSD the analog outputs and all 8 ADAT outputs are available, but not at the same time. FreeBSD is missing TotalMix, ALSA and MIDI don't work on my machine. On Linux the HDSP mixer does run, but HDSP config doesn't and I can't store alsa mixer settings. On Linux ALSA and MIDI are perfect, especially when using Jack 2 with the alsarawmidi switch, there's quasi zero MIDI hardware jitter. I forgot to test the excellent phones output on FreeBSD, but it anyway only makes sense in combination with TotalMix. Regards, Ralf PS: The link to the coaxial SPDIF test is http://lists.freebsd.org/pipermail/freebsd-multimedia/2013-January/013827.html , I suspect for the optical SPDIF test I need to do some settings, so I didn't even try it, but the gear is at hand. I don't have AES/EBU at hand and I won't test AES as second SPDIF. I still need an app to test the inputs on 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: Mount Logical (ext2fs) Partitions?
On Sat, 26 Jan 2013 18:24:06 +0100, Carl Johnson wrote: /dev/ada0s8 /u01ext2fs ro,noauto 00 I've got 2 ext3 "partitions" mounted. /dev/ada0s8 /mnt/dump ext2fs rw 0 0 /dev/ada0s9 /mnt/archlinux ext2fs rw 0 0 Did you already test "rw"? Even if you wish "ro,...", just for testing purpose. $ uname -a FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sat, 2013-01-26 at 08:49 +0100, Polytropon wrote: > On Fri, 25 Jan 2013 23:22:29 +0100, Ralf Mardorf wrote: > > On Fri, 25 Jan 2013 22:51:55 +0100, Joshua Isom wrote: > > > Sorry if my original command ended up breaking your system > > > > Don't worry, I run dump to backup it, but I'll try to fix it without > > restoring it from the backup. > > Maybe you can read the original owners from that backup and > just _change them_ accordingly? As the files haven't been > altered, there would be no need to rewrite them entirely. I used dump and can't find how to extract something from the dump files. If I would restore from a dump I would lose something, since the dump is some days old and I worked on my FreeBSD. If it would be possible to write a script that does rebuild everything, with the same configs and _without the need of user interaction_ I would rebuild and if needed update (at least Chromium) everything. But last time there were still yes/no (should I delete this file) questions all the times. Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Sat, 2013-01-26 at 08:48 +0100, Polytropon wrote: > On Fri, 25 Jan 2013 16:15:28 -0600, Joshua Isom wrote: > > Ignore /proc, unmount it even. You don't need it on FreeBSD and > > shouldn't expect it to be there. > > As far as I know, Gnome (or at least GDM) _requires_ it to > be able to show the available user names. I have no idea > why. :-) IIUC not GDM does need it, but GNOME. > > As for the listings in /usr/local > > they'll need fixed. On my system, almost everything's owned by root. > > There are a few exceptions when files are owned by a daemon. > As I said, re-installing those parts (or even world) should > fix this, but maybe it's possible to apply some "mtree magic" > to fix the owner to the proper one (root in most cases). Rebuilding world only shouldn't take that long. > > The man directories are owned by man, and > > /usr/local/libexec/polkit-set-default-helper is set as polkit:polkit. > > That's a good example for the non-root exceptions; there might > be others. There are others on my system, so I can't simply run chown -R :(. Regards, Ralf PS: At the moment I'm booted into Linux, I'll take a look at all the hints later today. Thank you all. ___ 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: ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt
Hi :) if you should be subscribed to jack devel, you might be interested in this thread. http://lists.jackaudio.org/private.cgi/jack-devel-jackaudio.org/2013-January/010610.html [1] I don't expect hints, but it's worth to ask. Oops, I made a mistake, I only tested the inputs, not the outputs. Regards, Ralf [1] --- Forwarded message --- From: "Ralf Mardorf" To: "Jack devel" Subject: [Jack-Devel] Jack1 on FreeBSD Date: Fri, 25 Jan 2013 23:20:20 +0100 Hi :) I'm testing audio on FreeBSD. It can't compare to Linux, but it's anyway interesting. The card is a RME HDSPe AIO on FreeBSD used without TotalMix and without ALSA. The analog IOs are ok, but I get distortion and click noise or gaps when I use ADAT. When the source is zynaddsubfx with nperiods there aren't gaps, but there's distortion and there are clicks. It's only working in duplex mode and I can't drop the word length setting. I already switched nperiods from 2 to 3. It might be, that the driver is buggy, but perhaps I need unusual settings to use ADAT on FreeBSD. Does somebody know some (secret ;) settings I should test? jackd -r -doss -r48000 -p1024 -n3 -w16 -C/dev/dsp4.0 -P/dev/dsp4.0 is one of the settings I tested. I still didn't check if there are IRQ issues, which is very likely and if I can unbind devices on FreeBSD. jackd -r -doss -r48000 -p1024 -n3 -w16 -C/dev/dsp4.0 -P/dev/dsp4.0 jackd 0.121.3 Except for being limited to only 2 IOs with ADAT and not the very best latency, the card on Linux can be used for serious production. It's likely that it's a driver issue, but perhaps there is some magic that can be done by jack, resp. OSS settings to get it working on FreeBSD too. Any hints are welcome. Regards, Ralf ___ Jack-Devel mailing list jack-de...@lists.jackaudio.org http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org -- Technology doesn't necessarily make you smarter http://lists.alioth.debian.org/pipermail/d-community-offtopic/2013-January/000172.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: Sharing a mail folder between Linux and FreeBSD
On Fri, 25 Jan 2013 22:51:55 +0100, Joshua Isom wrote: Sorry if my original command ended up breaking your system Don't worry, I run dump to backup it, but I'll try to fix it without restoring it from the backup. -- Technology doesn't necessarily make you smarter http://lists.alioth.debian.org/pipermail/d-community-offtopic/2013-January/000172.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: Sharing a mail folder between Linux and FreeBSD
It still does list directories in /home :(. This file definitively only is in /home: $ grep find_ find_1000.txt -rw-r--r-- 1 root rocketmouse 81920 Jan 25 20:52 find_1000.txt $ ls -ld find_1000.txt -rw-r--r-- 1 root rocketmouse 513434 Jan 25 21:14 find_1000.txt Others seemingly are from home too, e.g. [1]. Apart from that there are files in /lib and /usr with a wrong owner I missed before :(. I don't have the leisure to check the whole output right now. I'm just curious, so I had a brief look [1]. Regards, Ralf [1] $ ls -ld /home/rocketmouse/.gnome2 drwx-- 7 rocketmouse rocketmouse 512 Jan 24 18:14 /home/rocketmouse/.gnome2 $ ls -ld /root/.gnome2 drwxr-xr-x 6 root wheel 512 Jan 25 00:01 /root/.gnome2 $ grep "gnome2" find_1000.txt drwx-- 7 rocketmouse rocketmouse 512 Jan 24 18:14 .gnome2 drwx-- 2 rocketmouse rocketmouse 512 Jan 12 02:56 .gnome2_private $ $ $ $ $ $ $ $ grep lib find_1000.txt -r-xr-xr-x 1 rocketmouse wheel 71008 Jan 20 02:12 /usr/local/lib/xfce4/xfconf/xfconfd -r-xr-xr-x 1 rocketmouse wheel 25672 Jan 20 02:21 /usr/local/lib/xfce4/panel/wrapper -r-xr-xr-x 1 rocketmouse wheel 74600 Jan 18 22:04 /usr/local/libexec/gam_server -r-xr-xr-x 1 rocketmouse wheel 66536 Jan 18 22:51 /usr/local/libexec/gconfd-2 -r-xr-xr-x 1 rocketmouse wheel 141384 Jan 18 23:55 /usr/local/libexec/gvfsd -r-xr-xr-x 1 rocketmouse wheel 157000 Jan 18 23:55 /usr/local/libexec/gvfsd-trash -r-xr-xr-x 1 rocketmouse wheel 100032 Jan 18 23:55 /usr/local/libexec/gvfs-hal-volume-monitor -r-xr-xr-x 1 rocketmouse wheel 70992 Jan 18 23:55 /usr/local/libexec/gvfs-gphoto2-volume-monitor -r-xr-xr-x 1 rocketmouse wheel 66960 Jan 19 15:36 /usr/local/libexec/evolution/2.32/evolution-alarm-notify -r-xr-xr-x 1 rocketmouse wheel 92080 Jan 19 19:09 /usr/local/libexec/gdm-session-worker -r-xr-xr-x 1 rocketmouse wheel 67672 Jan 20 02:36 /usr/local/libexec/xfce4/panel-plugins/xfce4-xkb-plugin -r-sr-xr-x 1 rocketmouse wheel 13864 Jan 20 02:34 /usr/local/libexec/gnome-pty-helper -rw-r--r-- 1 rocketmouse rocketmouse 276 Jan 13 22:58 http%3A%2F%2Fapps.linuxaudio.org%2Flib%2Ftpl%2Flau2%2Fimages%2Ffavicon.png -rw-r--r-- 1 rocketmouse rocketmouse 447 Jan 19 20:07 http%3A%2F%2Fwiki.bash-hackers.org%2Flib%2Ftpl%2Farctic%2Fimages%2Ffavicon.png -rw-r--r-- 1 rocketmouse rocketmouse 700 Jan 15 09:39 http%3A%2F%2Fwiki.bsdforen.de%2Flib%2Ftpl%2Fmonobook%2Fuser%2Ffavicon.png -rw-r--r-- 1 rocketmouse rocketmouse 276 Jan 14 01:43 http%3A%2F%2Fwiki.linuxaudio.org%2Flib%2Ftpl%2Flau2%2Fimages%2Ffavicon.png -rw-r--r-- 1 rocketmouse rocketmouse 447 Jan 22 22:34 http%3A%2F%2Fwiki.linuxmusicians.com%2Flib%2Ftpl%2Fdefault%2Fimages%2Ffavicon.png -rw-r--r-- 1 rocketmouse rocketmouse 147 Jan 13 15:38 http%3A%2F%2Fwww.freebsdsoftware.org%2Fwp-content%2Fthemes%2Fthesis%2Flib%2Fimages%2Ficon-swatch.png lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gnome-pty-helper lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/8448/file -> /usr/local/libexec/gnome-pty-helper lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gvfsd-metadata lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/3053/file -> /usr/local/libexec/gvfsd-metadata lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/lib/opera/opera lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2282/file -> /usr/local/lib/opera/opera lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gvfsd-trash lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2265/file -> /usr/local/libexec/gvfsd-trash lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gconfd-2 lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2175/file -> /usr/local/libexec/gconfd-2 lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gvfs-gphoto2-volume-monitor lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2173/file -> /usr/local/libexec/gvfs-gphoto2-volume-monitor lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/gvfs-hal-volume-monitor lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2171/file -> /usr/local/libexec/gvfs-hal-volume-monitor lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/libexec/xfce4/panel-plugins/xfce4-xkb-plugin lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2166/file -> /usr/local/libexec/xfce4/panel-plugins/xfce4-xkb-plugin lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/lib/xfce4/panel/wrapper lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 /proc/2165/file -> /usr/local/lib/xfce4/panel/wrapper lr--r--r-- 1 rocketmouse rocketmouse 0 Jan 25 21:14 file -> /usr/local/lib/xfce4/panel/wrapper lr--r-
Re: Sharing a mail folder between Linux and FreeBSD
On Fri, 25 Jan 2013 16:12:15 +0100, Polytropon wrote: find / -exec ls -l {} \; | grep -v "/home" | grep "rocketmouse" -r-xr-xr-x 1 rocketmouse wheel 32736 Dec 23 18:38 ssh-agent -r-xr-xr-x 1 rocketmouse wheel 32736 Dec 23 18:38 /usr/bin/ssh-agent ^C A lot of stuff from /tmp is shown without a path, however root@freebsd:/usr/home/rocketmouse # ls -l /usr/bin/ssh-agent -r-xr-xr-x 1 rocketmouse wheel 32736 Dec 23 18:38 /usr/bin/ssh-agent but without write permission. I now run root@freebsd:/usr/home/rocketmouse # find / -exec ls -l {} \; | grep -v "/home" | grep "rocketmouse" > find_1000.txt and will take a look at it tomorrow. Thank you :). Regards, Ralf -- Technology doesn't necessarily make you smarter http://lists.alioth.debian.org/pipermail/d-community-offtopic/2013-January/000172.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: Sharing a mail folder between Linux and FreeBSD
PS: On Fri, 25 Jan 2013 15:26:23 +0100, Ralf Mardorf wrote: There anyway is an issue, it doesn't show the pass, I checked this with $ ls -lR /home/ | grep -v "/home" after running $ ls -lR / | grep -v "/home" | grep "rocketmouse" IOW I get tons of files, but don't know to which directory they belong. I guess the output is different for user and root and it does remove the path, but anyway display also contend of /home. ___ 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: Sharing a mail folder between Linux and FreeBSD
On Fri, 25 Jan 2013 15:04:14 +0100, Polytropon wrote: % ls -lR / | grep -v "/home" | grep "rocketmouse" It's better I umount at least Arch Linux. # cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass /dev/ad4s1b noneswapsw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmpufs rw 2 2 /dev/ad4s1f /usrufs rw 2 2 /dev/ad4s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 /dev/ada0s8 /mnt/dump ext2fs rw 0 0 /dev/ada0s9 /mnt/archlinux ext2fs rw 0 0 # umount /dev/ada0s8 # umount /dev/ada0s9 There anyway is an issue, it doesn't show the pass, I checked this with $ ls -lR /home/ | grep -v "/home" after running $ ls -lR / | grep -v "/home" | grep "rocketmouse" IOW I get tons of files, but don't know to which directory they belong. PPPoE was enabled automagically :). You probably have the required magic in /etc/rc.conf. :-) Yes, but it wasn't started, when the owner for /usr/bin/su wasn't root. ___ 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: Sharing a mail folder between Linux and FreeBSD
Thank you all :) everything is ok now. I don't mark the thread as solved, since I still didn't set up Evolution. On Fri, 25 Jan 2013 13:33:46 +0100, Polytropon wrote: $ ls -l `which su` -r-sr-xr-x 1 rocketmouse wheel 16880 Dec 23 18:38 /usr/bin/su Erm... that looks horribly wrong. The permissions indicate that setuid is set, but the file owner is wrong. For comparison: -r-sr-xr-x 1 root wheel 14604 2011-08-21 20:24:28 /usr/bin/su* This program has to belong to root. It seems that your attempt to reflect UID changes in the file permissions exceeded the scope of this task: Programs of the OS seem to be affected, which is definitely not good. IMO setuid alone already is a security risk. $ ls -l /home/ | grep rocketmouse drwxr-xr-x 28 rocketmouse rocketmouse 1536 Jan 25 12:17 rocketmouse You can use ls -ld to omit the grep step. :-) $ ls -ld /home/rocketmouse drwxr-xr-x 28 rocketmouse rocketmouse 1536 Jan 25 13:19 /home/rocketmouse :) I was sure that using grep is stupid and should have done a 'man ls', since 'help' wasn't helpful. This issue and 'cat | grep' instead of grep only are common mistakes by many Linux users. Thank you for the hint. I think you can now spot a possible mistake for the file owner change I mentioned above: Only files inside /home should have been in the initial scope, but somehow -uid 1001 has been avaluated true for /usr/bin/su, even though I cannot imagine what should have caused this. In this case /home and /mnt/*, but I understand what you mean. Do you have other files in /usr or even /usr/local that do belong to rocketmouse (uid == 1000 or 1001) now? That should not have happened... /usr/binis ok /usr/includeis ok /usr/include/* seem to be ok, I just checked some folders /usr/lib and /usr/lib/* are ok /usr/libdata and /usr/libdata/* are ok /usr/libexec and /usr/libexec/*/* are ok /usr/ports is ok /usr/ports/*seem to be ok, I just checked some folders /usr/sbin is ok /usr/share is ok /usr/share/*seem to be ok, I just checked some folders /usr/srcis ok /usr/src/*/*seem to be ok, I just checked some folders /usr/local is ok /usr/local/bin and /usr/local/bin/* are ok /usr/local/bootstrap* and [...]/* are ok /usr/local/etc is ok /usr/local/etc/*seem to be ok, at least PolicyKit and ConsoleKit are /usr/local/include is ok [snip] All /usr/local/* are ok and all /usr/local/*/* seem to be ok. Other directories in /usr and /usr/local are empty. OT: /usr/lib32 and /usr/lib32/* belong to the empty folders in /usr. So FreeBSD is multi arch capable? (since there's /usr/ports/astro/google-earth for amd64, I suspect it is) Some programs check by whom they are called or who they belong to; if that's != root when it is _supposed_ to be root, that can cause problems, especially when it's not a simple x (execute), but s (setuid) program like an X display manager. So I guess I only need to correct the owner for /usr/bin/su. $ ls -l /usr/bin/su -r-sr-xr-x 1 root wheel 16880 Dec 23 18:38 /usr/bin/su I wonder if setting suid is needed, while the kit family is installed. For sure it's possible to add a rool to some kit config. Restart PPPoE was enabled automagically :). $ su Password: You have mail. root@freebsd:/usr/home/rocketmouse # :) Ctrl + Alt + F* will switch to ttyv* and su does work too. :) So the switch to uid 1000 seem to be complete now, without any gaps. On Fri, 25 Jan 2013 13:57:13 +0100, Erich Dollansky wrote: Do not worry. This is the main advantage of FreeBSD over many other operating systems. The chances are very, verhy high that you will find help when needed. For Linux it depends to the mailing list. it depends not only to the traffic and kind of list, but also to the kind of people who are subscribed. Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
Hi Erich :) On Fri, 25 Jan 2013 13:25:07 +0100, Erich Dollansky wrote: What happens on a normal TTY? Ctrl + Alt + F2 > So, you can switch to them. Can you try a su here? Ctrl + Alt + F* will open a ttyv* I can log in as root, but if I log in as user, I can't run su successfully. Der Wald und die Baeume ... Quite possibly that I miss the forest for the trees ;). Regards, Ralf PS: Btw. thank you all for your patience and effort. ___ 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: Sharing a mail folder between Linux and FreeBSD
Hi :) after running '# /usr/sbin/pwd_mkdb -d /etc /etc/master.passwd' (FWIW there were no messages) I can now log in to a user X session by GDM. The user can't become root using Xfce Terminal Emulator or by ttyv1 (Ctrl + Alt + F2). This was possible before I switched the uid. Before the switch PPPoE was enabled automatically, now I have to do it manually. $ su su: not running setuid $ ls -l `which su` -r-sr-xr-x 1 rocketmouse wheel 16880 Dec 23 18:38 /usr/bin/su $ ls -l /home/ | grep rocketmouse drwxr-xr-x 28 rocketmouse rocketmouse 1536 Jan 25 12:17 rocketmouse $ ls -l /mnt | grep archlinux drwxrwx--- 21 rocketmouse rocketmouse 4096 Oct 28 19:11 archlinux $ id uid=1000(rocketmouse) gid=1000(rocketmouse) groups=1000(rocketmouse),0(wheel) Ctrl + Alt + F2 > '# ppp -ddial alice' does work '# find / -uid 1001 -exec chown 1000 '{}' \;' no messages '# find / -gid 1001 -exec chown :1000 '{}' \;' no messages Ctrl + Alt + F9 Without success I again read some important messages of this thread in the archive and googled regarding to the suid issue. Any hints are welcome! Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
On Fri, 2013-01-25 at 08:03 +0100, Polytropon wrote: > You should have been reading my advice about changing the > UID:GID in detail. :-) I deleted it by accident from the until now _not_ shared mails, IOW I deleted it from the FreeBSD mails only and missed it, when having a brief look at the mailing list archive. > UIDs and GIDs should match here. All files belonging to rocketmouse > should be 1000:1000 _and_ the name "rocketmouse" should be > associated to those numerical values (see files mentioned > above). Yes, but because I missed to update the database X login asked for 1001. > But pwd.db and spwd.db (the password databases with encrypted > content) don't reflect those informations! So '# /usr/sbin/pwd_mkdb -d/etc /etc/master.passwd' is ok, regarding to ... > "man pwd_mkdb" and rebuild > the databases. -c and -u switches could be used too, but aren't needed, since the entries are correct. > If you would have used the "vipw" command to make the change > to the passwd (plain text) files, it would have called pwd_mkdb > after the change. But don't worry: Knowing those "low level hacks" > can be helpful in some worst-case scenario. :-) And then I don't need to use vi, if the default text editor still should be vi. Thank you! Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
Thank you Kevin, thank you Erich, On Thu, 2013-01-24 at 21:10 -0500, kpn...@pobox.com wrote: > The correct way to edit the password file is with the "vipw" > command. When you are done with your changes it rewrites the password > file AND rebuilds the password database. > > I'm guessing you have a stale password database now. Use 'vipw' to > make a trivial change and then save and exit out. Ok, I used mcedit to make the changes before and will try vipw now, resp. ... On Fri, 2013-01-25 at 10:06 +0700, Erich Dollansky wrote: > did you run something like? > > /usr/sbin/pwd_mkdb -d/etc /etc/master.passwd No, I didn't. I assume this is what vipw will do, so I can run this instead of using vipw? "Once the information has been verified, vipw uses pwd_mkdb(8) to update the user database. This is run in the background, and, at very large sites could take severa minutes. Until this update is completed, the password file is unavailable for other updates and the new information is not available to programs." - http://www.freebsd.org/cgi/man.cgi?query=vipw&sektion=8 Regards, Ralf ___ 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: Sharing a mail folder between Linux and FreeBSD
Hi all, hi Joshua, On Thu, 2013-01-24 at 16:10 -0600, Joshua Isom wrote: > find / -uid 1001 -exec chown 1000 '{}' \; > find / -gid 1001 -exec chown :1000 '{}' \; I made one mistake, when I run "find / -gid 1001 -exec chown :1000 '{}' \;" for the fist time, I did it without the ":". Later I run it without the typo. There's a serious problem now, rocketmouse still is 1001. .login_conf was '1000 1001', after I "chown 1001" it, to start X as user, it became 'rocketmouse 1001', the user rocketmouse still can't run a X session anymore. After rebooting this is the output I get: # id rocketmouse uid=1001(rocketmouse) gid=1001 groups=1001,0(wheel) # ls -hAl /home/ | grep rocketmouse drwxr-xr-x 28 1000 rocketmouse 1.5k Jan 24 18:14 rocketmouse # grep 100 /etc/group rocketmouse:*:1000: musicpd:*:1002: # grep 100 /etc/passwd rocketmouse:*:1000:1000:Ralf:/home/rocketmouse:/bin/sh musicpd:*:1002:1002:Music Player Daemon:/home/musicpd:/usr/sbin/nologin # grep 100 /etc/master.passwd rocketmouse:$1$3mMkzcfl $VuryrlzFZ92LmaC6cUOa/.:1000:1000::0:0:Ralf:/home/rocketmouse:/bin/sh musicpd:*LOCKED**:1002:1002:daemon:0:0:Music Player Daemon:/home/musicpd:/usr/sbin/nologin I repeated both find-chown several times and rebooted, nothing changed, it doesn't list any files anymore. Regards, Ralf ___ 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"
Again: Security updates of individual porst
Oops, the security update issue isn't solved. http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/248511.html # /usr/local/sbin/portaudit -Fda Database created: Thu Jan 24 15:50:04 CET 2013 Affected package: chromium-24.0.1312.52 Type of problem: chromium -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/8d03202c-6559-11e2-a389-00262d5ed8ee.html # portmaster /usr/ports/www/chromium/ ===> chromium-24.0.1312.52 has known vulnerabilities: Affected package: chromium-24.0.1312.52 Type of problem: chromium -- multiple vulnerabilities. Reference: http://portaudit.FreeBSD.org/8d03202c-6559-11e2-a389-00262d5ed8ee.html => Please update your ports tree and try again. *** [check-vulnerable] Error code 1 Stop in /usr/ports/www/chromium. *** [build] Error code 1 Stop in /usr/ports/www/chromium. ===>>> make failed for www/chromium ===>>> Aborting update Terminated ===>>> You can restart from the point of failure with this command line: portmaster www/chromium So I have to # portsnap fetch update? If so, wouldn't it cause dependency issues, if I wouldn't update all ports? Regards, Ralf ___ 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: Re: Sharing a mail folder between Linux and FreeBSD
I was surpriesed, when Evolution from Linux had no permissions anymore to access the mail folder, after drwxrwx--- rocketmouse wheel was stable for FreeBSD I wasn't aware, that even between Linux only, the folders for mount points share the same permissions, once the partition is mounted, since my Linux users usually share the same uid. I tested it some minutes ago. However, I add a group freebsd (1001) to a Linux and chown/chmod most of the pass without -R option and for the mail directory I used the -R option, now everything _should_ work ... $ ls -hAl /mnt drwxrwx--- 21 1000 rocketmouse 4.0k Oct 28 19:11 archlinux but at the end of the pass I noticed this: $ ls -hAl /mnt/archlinux/home/spinymouse/.local/share/evolution/mail total 28 drwxrwx--- 3 1000 rocketmouse 4.0k Jan 24 02:37 1323712251.1853.2@archlinux drwxrwx--- 3 1000 rocketmouse 4.0k Jan 24 02:13 1353406324.3645.4@q drwxrwx--- 3 1000 rocketmouse 4.0k Jan 24 02:13 1353606434.360.4@q drwx-- 2 1000 1000 4.0k Jan 24 02:37 1358783158.2173.1@precise drwxrwx--- 17 1000 rocketmouse 4.0k Jan 24 02:37 local drwxrwx--- 4 1000 rocketmouse 4.0k Jan 24 02:10 trash drwxrwx--- 2 1000 rocketmouse 4.0k Jan 24 02:37 vfolder I suspect I write-accessed /1358783158.2173.1@precise with a Linux that has no group 1001? I'll add a group or user 1001 to all Linux and I'll add a user or group 1000 to FreeBSD. If I've done that, could I expect still any issues? Regards Ralf ___ 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: OSS and ALSA
On Thu, 24 Jan 2013 07:20:51 +0100, Oliver Lehmann wrote: Hi Ralf, the idea was to only comment out BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss not the whole OSS4 block ;) But Ma Should I build it again? IMO it isn't needed, since OSS does work, even while everything is commented out. Regards, Ralf ___ 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: OSS and ALSA
The audacious-plugins on my system were build with NOTIFY, OSS4 and PULSE disabled, anything else was enabled. # cd /usr/ports/multimedia/audacious-plugins ; make deinstall ===> Deinstalling for multimedia/audacious-plugins ===> Deinstalling audacious-plugins-3.3.3 pkg_delete: file '/usr/local/lib/audacious/General/mtp_up.so' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/General' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input/amidi-plug' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input' pkg_delete: unable to completely remove directory '/usr/local/share/doc/audacious-plugins' pkg_delete: couldn't entirely delete package `audacious-plugins-3.3.3' (perhaps the packing list is incorrectly specified?) # mcedit Makefile #.if ${PORT_OPTIONS:MOSS4} #BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss #PLIST_SUB+=OSS4PLUGIN="" #CONFIGURE_ARGS+=--enable-oss4 #.else #PLIST_SUB+=OSS4PLUGIN="@comment " #CONFIGURE_ARGS+=--disable-oss4 #.endif # make install clean [snip] ===> Registering installation for audacious-plugins-3.3.3 ===> Cleaning for audacious-plugins-3.3.3 $ audacious ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error However, using jackd it does play still ok. When I switched to SDL output, the sound became louder and muddy, but it's still ok. When I switched to OSS4 output, the sound is equal to SDL, perhaps it does sound different to jackd (using OSS), regarding to the loudness. For ALSA the terminal output continued with ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer alsa: snd_mixer_attach failed: Invalid argument. ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer It does "work", but "plays" with chattering gaps, the same effect when using zynaddsubfx by jackd using OSS, when I chose ADAT, but now I used the analog IOs only. This effect can differ, sometimes it's more like noise, for ADAT I experienced the noise like sound only for this synaddsubfx test. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. For file writer plugin an error window displays: "Cannot open /home/musicpd/music/piano2-1.wav: Permission denied." Hth, Ralf ___ 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"