Re: Is there a way to ssh into the debian installation process?
On 09/12/13 13:26, Rick Thomas wrote: > > Is there some way to tell the debian installer to enable an ssh > server during the installation? Yes. > I'd like to be able to > ssh/slogin/scp to the installation process so I can retrieve log > files and otherwise snoop the process when the keyboard/mouse are > frozen. > > This is part of my pursuit of Bug#728936, which renders it impossible > to do a normal Sid CD-based installation of my PowerPC Macs, because > the USB keyboard and mouse are not recognized. > > Thanks in advance! > > Rick I can't test on a PowerPC so I can only guess (wildly) about differences between my experience and yours. I'm using debian-7.2.0-i386-netinst.iso The following will automate the install to the point where you start partitioning - by which time you can "ssh installer@$ipAddress" (password is debian). At the very least you'll have to change my ISOLINUX references to suit the PowerPC boot loader, probably locale, possibly keymap, you may also need to install additional modules and/or firmware. This script will do the remaster - modify to suit your needs. == remaster.sh == #!/bin/bash mkdir -p ~/install/cd # 1. grab install cd cd ~/install && wget http://cdimage.debian.org/debian-cd/7.2.0/i386/iso-cd/debian-7.2.0-i386-netinst.iso # apt-get install p7zip # 2. extract it with 7zip to a directory 7z x -ocd ~/install/debian-7.2.0-i386-netinst.iso mkdir ~/install/new_initrd # 3. extract the initrd to another directory and put preseed.cfg there (also add firmware if required) cd ~/install/new_initrd && zcat ~/install/cd/install.386/initrd.gz | cpio -iv cd ~/install/new_initrd && cp $pathToYour/preseed.cfg ./ read -p "Press [Enter] key when initrd changes are complete" # modify initrd to suit # 4. recreate initrd cd ~/install/new_initrd && find . -print0 | cpio -0 -H newc -ov | gzip -c > ~/install/cd/install.386/initrd.gz # 5. customize isolinux.cfg cp $pathToYour/isolinux.cfg ~/install/cd/isolinux # 6. generate md5sums cd ~/install/cd; md5sum `find ! -name "md5sum.txt" ! -path "./isolinux/*" -follow -type f` > md5sum.txt;cd - # 7. create iso genisoimage -o ~/install/debian-7.2.0-i386-custom-$yourVersionLabel-netinst.iso -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ~/install/cd === This should be the minimum you require for the boot, modify to suit your needs, DEBCONF_DEBUG is not necessary, just makes it easier to see what DEBCONF is doing during the install (look at Alt+F4 or /var/log/syslog):- === isolinux.cfg = # autostart SSH install prompt 0 timeout 1 default preseed label preseed kernel /install.386/vmlinuz append vga=788 initrd=/install.386/initrd.gz auto DEBCONF_DEBUG=5 == You will want to changes values in the preseed (some are redundant, some won't suit your needs):- === preseed.cfg == IMPORTANT NOTE - replace "strongpassword" with an actual strong password. ## autostart SSH install d-i debian-installer/country string AU d-i debian-installer/locale string en_AU.UTF-8 d-i debian-installer/language string en_AU:en ### Network configuration # d-i netcfg/disable_dhcp boolean true # d-i netcfg/dhcp_options select Configure network manually # d-i netcfg/confirm_static boolean true d-i netcfg/disable_autoconfig boolean true # see http://lists.debian.org/debian-boot/2012/10/msg00054.html d-i netcfg/target_network_config select ifupdown d-i netcfg/choose_interface select eth0 d-i netcfg/get_hostname string preseed d-i netcfg/get_domain string dev # Static networ kconfiguration. d-i netcfg/get_nameservers string 8.8.8.8 d-i netcfg/get_ipaddress string 192.168.0.56 d-i netcfg/get_netmask string 255.255.255.0 d-i netcfg/get_gateway string 192.168.0.6 ### Console and SSH d-i anna/choose_modules string network-console openssh-client-udeb d-i debian-installer/consoledisplay string console-setup network-console network-console/start note d-i network-console/password password debian d-i network-console/password-again password debian d-i preseed/early_command string anna-install network-console openssh-client-udeb ### Mirror settings d-i mirror/country string enter information manually d-i mirror/http/hostname string http.us.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy string http://192.168.0.2:3142 ### apt d-i apt-setup/local0/source boolean false d-i pkgsel/include string mc deborphan openssh-server openssh-client openssh-blacklist openssh-blacklist-extra screen localepurge bzip2 unzip zip rar unrar debconf-utils d-i pkgsel/upgrade select none d-i pkgsel/update-policy select none apt-setup-udeb apt-setup/security_host string security.debian.org popularity-contest popularity-contest/participate boolean true d-i hw-detect/select_modules multiselect usb-storage (USB storage) apt-mirror-setup apt-setup/contrib boolean true apt-mirror-setup apt-setup/non-free boolean true ### Partitioning ### Clo
Re: Deadline for jessie init system choice
On Saturday 14 December 2013 15:02:04 Bob Proulx wrote: > In my opinion one of the best features of Debian is that it supports > upgrades. It isn't necessary to reinstall. At worst it is easier to > take some _packages_ (some packages not the system, such as GNOME or > KDE) off the system before doing a full upgrade and then re-installing > those packages. But that is so much easier than dealing with the > entire system. Is it also easy to switch arch from x86 to x86_64? > > Kind of related question : is there a tool for removing all config > > files that aren't used by any currently installed package? > > Yes. By not used I assume you mean from a package that has been > installed and then been "removed". <...> Thanks for the detailed explanation. In Gentoo I was using a custom Python script for searching orphans. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/6548322.Kga0afgAJd@melforce
Re: Deadline for jessie init system choice
On 15/12/13 20:04, Pavel Volkov wrote: > On Saturday 14 December 2013 15:02:04 Bob Proulx wrote: >> In my opinion one of the best features of Debian is that it supports >> upgrades. It isn't necessary to reinstall. At worst it is easier to >> take some _packages_ (some packages not the system, such as GNOME or >> KDE) off the system before doing a full upgrade and then re-installing >> those packages. But that is so much easier than dealing with the >> entire system. > > >>> Kind of related question : is there a tool for removing all config >>> files that aren't used by any currently installed package? >> >> Yes. By not used I assume you mean from a package that has been >> installed and then been "removed". <...> > > Thanks for the detailed explanation. > In Gentoo I was using a custom Python script for searching orphans. > > You may also find bleachbit, localepurge, and debfoster useful "If a new package is encountered or if debfoster notices that a package that used to be a dependency is now an orphan, it will ask you what to do with it. If you decide to keep it, debfoster will just take note and continue. If you decide that this package is not interesting enough it will be removed as soon as debfoster is done asking questions. If your choices cause other packages to become orphaned more questions will ensue." deborphan is extremely useful, and simple. e.g.:- # apt-get -s remove `deborphan` | more Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ad7498.2050...@gmail.com
using Nokia C5-00 handset as an internet connection - looking for suggestions
Hi, I've had a read and experiment with using a Nokia C5-00 handset as an internet connection and am stuck. There are multiple options the mode of USB connection that the handset supports (PC Suite, mass storage, PTP transfer, media transfer and "Connect PC to web"). I tried "Connect PC to web" and experimenting with usb-modeswitch, but don't have a machine running MS-Windows to sniff what happens on this handset and try it under Debian GNU/Linux, and trying the same procedure listed for other Nokia devices didn't appear to do anything. I also had a look at documentation for connecting another model of Nokia handset to a pc running Debian at: http://wiki.maemo.org/USB_networking#Debian If I chose the "PC Suite" option when plugging the USB cable in to the Nokia handset, I get the following in dmesg: [49603.601267] usb 3-2: USB disconnect, device number 3 [53791.136629] usb 3-2: new high-speed USB device number 4 using ehci-pci [53791.269646] usb 3-2: New USB device found, idVendor=0421, idProduct=0596 [53791.269660] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [53791.269666] usb 3-2: Product: C5-00.3 [53791.269672] usb 3-2: Manufacturer: Nokia [53791.269676] usb 3-2: SerialNumber: [53791.271387] cdc_acm 3-2:1.1: ttyACM0: USB ACM device [53791.272771] usb 3-2: bad CDC descriptors [53791.272885] usb 3-2: bad CDC descriptors lsmod lists a bunch of new modules: rndis_wlan 35123 0 rndis_host 12698 1 rndis_wlan cdc_ether 12564 1 rndis_host usbnet 26748 3 rndis_host,rndis_wlan,cdc_ether cfg80211 394809 1 rndis_wlan rfkill 18867 4 nfc,cfg80211,bluetooth cdc_phonet 12793 0 phonet 27725 1 cdc_phonet cdc_acm26225 0 mii12675 2 r8169,usbnet usbpn0Link encap:UNSPEC HWaddr 1B-3A-30-30-30-30-3A-30-00-00-00-00-00-00-00-00 POINTOPOINT NOARP MTU:65541 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) The handset already has a packet internet connection, but I'm at a loss as to how to configure usbpn0 and make it the default route, so that the mobile handset can be the internet connection for the pc and LAN. Has anyone done this successfully? Regards, Arthur. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/s290oa-unn@ppp14-2-48-242.lns21.adl2.internode.on.net
Re: Deadline for jessie init system choice
2013-12-15 10:04 keltezéssel, Pavel Volkov írta: >> In my opinion one of the best features of Debian is that it supports >> upgrades. It isn't necessary to reinstall. At worst it is easier to >> take some _packages_ (some packages not the system, such as GNOME or >> KDE) off the system before doing a full upgrade and then re-installing >> those packages. But that is so much easier than dealing with the >> entire system. > > Is it also easy to switch arch from x86 to x86_64? No. Switching is possible but not easy and there are a lot of possibility to make the system unusable. A fresh install is much safer in this case. -- --- Friczy --- 'Death is not a bug, it's a feature' -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ad9fbd.5060...@freemail.hu
Re: Deadline for jessie init system choice
On Fri, Dec 13, 2013 at 4:26 PM, Ralf Mardorf wrote: > On Fri, 2013-12-13 at 16:14 +, Tom H wrote: >> On Thu, Dec 12, 2013 at 8:00 PM, Brian wrote: >>> On Thu 12 Dec 2013 at 23:37:31 +0400, Pavel Volkov wrote: >>> I've browsed through the hot debates here https://wiki.debian.org/Debate/initsystem and the LWN article https://lwn.net/Articles/572805/ But there's no mention about when the deadline for the final decision on future init system(s) is. I have to prepare my heart for it, does anybody know? >>> >>> Debian doesn't have deadlines. You'll have to wait. Think in terms of >>> a couple of years for a decision to be made. >> >> The Debian release date isn't set but its freeze date is 5 November >> 2014 and that's the important date in respect of this decision. >> >> But the earlier in the cycle that a decision is taken, the better. > > So if I later today set up Debian stable, I better directly drop init > and install systemd during installation? I dislike systemd, but I > already use it for a long time with my Arch Linux. > > IOW, Debian will drop init and will switch to systemd in the future? My post had nothing to do with either with systemd specifically or with Debian Stable. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SzjXbw7qe8RoDT4xvyQvNUzQBj4UEZ9oj6CpJU=ih3...@mail.gmail.com
Re: gdm3 issue
On Fri, Dec 13, 2013 at 4:35 PM, Ralf Mardorf wrote: > On Fri, 2013-12-13 at 11:25 -0500, PaulNM wrote: >>> >>> The "single" kernel cmdline option would never launch GDM. >> >> I believe that was his point, and the reason for the smiley ;). >> Most would say preventing something from happening is a form of >> affecting it. > > Correct, that's why I was thinking about GRUB2, when the OP mentioned > that an Ubuntu kernel was removed, before the issue appeared. I don't > know how the auto-thingy is set up, what options will be add and how > they affect or don't affect a Debian install. "single" for sure would > get a name such as "Single" or "Recovery" for the menu entry, but there > are or sure other options that could prevent GDM from running. 1) grub-mkconfig won't change the kernel cmdline options, unless "/etc/default/grub" has been edited. 2) If grub's controlled from within Ubuntu (as it seems to be), the Debian entries will be option-less if there's no grub.cfg on the Debian install or with the options in "/etc/default/grub" within the Debian install if there's a grub.cfg on the Debian install. 3) This isn't about GDM being prevented from running; it's about GDM failing after being launched. 4) What kernel option is there that: a) If it's added to the kernel cmdline, GDM crashes. But if it's removed from the kernel cmdline, GDM starts normally. Or b) If it's added to the kernel cmdline, GDM starts normally. But if it's removed from the kernel cmdline, GDM crashes. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxq+apome1uc_zkhqzr0rwv_wdq0aakverifunrbiv...@mail.gmail.com
Re: Deadline for jessie init system choice
On Fri, Dec 13, 2013 at 6:13 PM, Brian wrote: > On Fri 13 Dec 2013 at 11:38:31 +0200, Andrei POPESCU wrote: >> On Jo, 12 dec 13, 20:00:44, Brian wrote: >>> >>> Debian doesn't have deadlines. You'll have to wait. Think in terms of >>> a couple of years for a decision to be made. >> >> I don't think so. A timeline has not been decided yet, but it is my >> understanding that a decision is definitely wanted for Jessie and there >> is already less than a year until freeze. > > What difference does it make whether the decision is made before or > after the freeze? If it's made after the freeze, sysvinit wil be the default init system in Debian 8. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SxYHbYyJ4ZGMg3_Hv4OOGY1egF52=lb4w-8nzfmdll...@mail.gmail.com
Re: Soliciting hardware recommendations
Hi Stephen, Have you been eagerly anticipating my reply to your hardware thread? I hope I don't disappoint. :) On 12/14/2013 7:23 AM, Stephen Powell wrote: > On Sat, 14 Dec 2013 02:39:04 -0500 (EST), David Christensen wrote: ... >>> I'd like it to have a usable CSM, so I can continue to run my favorite boot >>> loader, LILO. >> >> CSM = IBM Cluster Systems Management? > > No, CSM = Compatibility Support Module, a feature of UEFI-compliant > motherboards that provides a PC-compatible BIOS for booting legacy > BIOS operating systems, such as the LILO boot loader. This is incompatible > with Connected Standby Mode, whose initials are also, unfortunately, CSM. > Connected Standby Mode is apparently a requirement for Windows 8 > certification. > Connected Standby Mode must be disabled in order for a Compatibility Support > Module to be enabled. There is no need for CSM if you purchase a fairly modern board yet designed prior to the UEFI revolution. Here is a complete list of quality DIY parts that will meet your stated needs, including a non-UEFI motherboard: Gigabyte GA-78LMT-S2P(rev 5.0) AM3+ AMD 760G/SB710, AMD 3000 GPU, DVI AMD FX-4300 3.8GHz quad core CPU, 2x 2MB L2 cache, 4MB L3 cache 2x 4GB DDR3-1333 Crucial DDR-SDRAM modules Samsung 840 EVO 120GB SSD - #1 SSD in quality, performance, and $/GB ASUS DVD - it's DVD to boot a net install image, if needed, decent unit Apevia mATX cube case, 500W PSU, excellent airflow, I own one, good case Hewlett Packard 23" Widescreen HD monitor, 1920x1080, DVI $ 52 http://www.newegg.com/Product/Product.aspx?Item=N82E16813128504 $110 http://www.newegg.com/Product/Product.aspx?Item=N82E16819113287 $ 60 http://www.newegg.com/Product/Product.aspx?Item=N82E16820148347 $ 90 http://www.newegg.com/Product/Product.aspx?Item=N82E16820147247 $ 19 http://www.newegg.com/Product/Product.aspx?Item=N82E16827135304 $ 87 http://www.newegg.com/Product/Product.aspx?Item=N82E16811144140 $120 http://www.newegg.com/Product/Product.aspx?Item=N82E16824176250 $538 Total Upon totaling this I'm really surprised such a quality, high performance machine with a good 23" LCD can be had for less than $550, especially with a Samsung 120GB SSD. Some of the prices above are holiday specials. I didn't check the normal prices. So if you like this combo you may want to check the expiry dates on the specials and order beforehand. I verified the FX-4300 should work in this board so you should have no surprises. You may need to flash it so the BIOS identifies the CPU correctly, but the board should boot and work fine even without doing so. See: http://www.gigabyte.com/support-downloads/cpu-support-popup.aspx?v=AE72F6F9D4ADD0D7995989AF720CB4D0FF2976CBFB7DB4DE70BB3E832BEDD48D&s=Socket%20AM3+&cs=AMD%20760G FYI, I searched for more than an hour trying to find an AMD dual core CPU plus mobo combo that would be suitable. I ran into two problems here. First, all of the current dual core AMD CPUs lack L3 cache and have somewhat tiny 1MB L2 caches. As with virtual machines, emulation workloads tend to perform better with larger caches due to context switches, TLB shootdowns, etc. So this model FX-4300 with 1MB L2 per core and 4MB shared L3 should perform better for you, even if you can't make use of all 4 cores immediately. Everyone else buying 4/6/8 core desktop CPUs is in the same boat, whether they know it or not, so don't sweat it. The industry has decided to take the multi-core path which users simply cannot yet follow, because most developers aren't yet threading their applications. Second, all of the socket FM2 motherboards which take the dual core chips are built/certified for Windows 8, and have UEFI BIOS. Again this mobo is non-UEFI, so I think this combo will be a better solution for you all around Stephen. Motherboard manual to read before you buy (I always do): http://download.gigabyte.us/FileList/Manual/mb_manual_ga-78lmt-s2p_v.5.0_e.pdf I hope this is the type of complete, concise information, recommendation, you were looking for Stephen. -- Stan TheHardwareFreak -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52adbd13.9060...@hardwarefreak.com
Re: startx (with no per-user config) works, kdm has _issues_
On Sun 15 Dec 2013 at 11:27:26 +1100, Zenaan Harkness wrote: > On 12/13/13, Zenaan Harkness wrote: > > So I have no per-user config, such as ~/.xinitrc , ~/.xsession and > > ~/.xsessionrc . > > > > startx after linux console login works well. > > That is, to start xfce > > > When I login to Linux console, then run > > sudo service kdm start, and then login from there to xfce, > > my XFCE4 keyboard shortcuts don't work (Settings -> Keyboard -> > > Application Shortcuts). > > Is it reasonable, or unreasonable, to use KDM as my graphical login > manager to log in to XFCE4? I gave kdm a quick whirl with Xfce on Wheezy. No problem (I only tested ALT-F2), but no advice for you either. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/15122013152103.b7b6d7d96...@desktop.copernicus.demon.co.uk
Re: Soliciting hardware recommendations
On Sun, 15 Dec 2013 09:30:43 -0500 (EST), Stan Hoeppner wrote: > > Have you been eagerly anticipating my reply to your hardware thread? I > hope I don't disappoint. :) I was hoping you would participate, yes. But I didn't want to presume. > > Here is a complete list of quality DIY parts that will meet your > stated needs, including a non-UEFI motherboard: > > Gigabyte GA-78LMT-S2P(rev 5.0) AM3+ AMD 760G/SB710, AMD 3000 GPU, DVI > AMD FX-4300 3.8GHz quad core CPU, 2x 2MB L2 cache, 4MB L3 cache > 2x 4GB DDR3-1333 Crucial DDR-SDRAM modules > Samsung 840 EVO 120GB SSD - #1 SSD in quality, performance, and $/GB > ASUS DVD - it's DVD to boot a net install image, if needed, decent unit > Apevia mATX cube case, 500W PSU, excellent airflow, I own one, good case > Hewlett Packard 23" Widescreen HD monitor, 1920x1080, DVI > > $ 52 http://www.newegg.com/Product/Product.aspx?Item=N82E16813128504 > $110 http://www.newegg.com/Product/Product.aspx?Item=N82E16819113287 > $ 60 http://www.newegg.com/Product/Product.aspx?Item=N82E16820148347 > $ 90 http://www.newegg.com/Product/Product.aspx?Item=N82E16820147247 > $ 19 http://www.newegg.com/Product/Product.aspx?Item=N82E16827135304 > $ 87 http://www.newegg.com/Product/Product.aspx?Item=N82E16811144140 > $120 http://www.newegg.com/Product/Product.aspx?Item=N82E16824176250 > > $538 Total > Wow, you even managed to get a monitor thrown in and still make the ~$500 target. I was expecting to pay around $500 for the system only, with the monitor costing extra. I see just one problem. I don't see any indication of R/W capability in the CD/DVD drive. It appears to be read-only. I want to be able to burn install images downloaded from the internet. However, I did find this item http://www.newegg.com/Product/Product.aspx?Item=N82E16827135204 for just a buck more. Do you see any problem substituting this for the one you suggested? > > FYI, I searched for more than an hour trying to find an AMD dual core > CPU plus mobo combo that would be suitable. I ran into two problems here. > > First, all of the current dual core AMD CPUs lack L3 cache and have > somewhat tiny 1MB L2 caches. As with virtual machines, emulation > workloads tend to perform better with larger caches due to context > switches, TLB shootdowns, etc. So this model FX-4300 with 1MB L2 per > core and 4MB shared L3 should perform better for you, even if you can't > make use of all 4 cores immediately. Everyone else buying 4/6/8 core > desktop CPUs is in the same boat, whether they know it or not, so don't > sweat it. The industry has decided to take the multi-core path which > users simply cannot yet follow, because most developers aren't yet > threading their applications. > > Second, all of the socket FM2 motherboards which take the dual core > chips are built/certified for Windows 8, and have UEFI BIOS. Again this > mobo is non-UEFI, so I think this combo will be a better solution for > you all around Stephen. Makes sense. And thanks for all the time that you have put into this. > > Motherboard manual to read before you buy (I always do): > http://download.gigabyte.us/FileList/Manual/mb_manual_ga-78lmt-s2p_v.5.0_e.pdf > > I hope this is the type of complete, concise information, > recommendation, you were looking for Stephen. It is. You did not disappoint. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1548252121.889739.1387126597072.javamail.r...@md01.wow.synacor.com
Re: Deadline for jessie init system choice
On Sun 15 Dec 2013 at 14:03:36 +, Tom H wrote: > On Fri, Dec 13, 2013 at 6:13 PM, Brian wrote: > > On Fri 13 Dec 2013 at 11:38:31 +0200, Andrei POPESCU wrote: > >> On Jo, 12 dec 13, 20:00:44, Brian wrote: > >>> > >>> Debian doesn't have deadlines. You'll have to wait. Think in terms of > >>> a couple of years for a decision to be made. > >> > >> I don't think so. A timeline has not been decided yet, but it is my > >> understanding that a decision is definitely wanted for Jessie and there > >> is already less than a year until freeze. > > > > What difference does it make whether the decision is made before or > > after the freeze? > > If it's made after the freeze, sysvinit wil be the default init > system in Debian 8. The goal to have native systemd support in every package with sysv scripts (if accepted) and a decision on a new init system may be related, but only the first is linked to the time of the freeze. My 'couple of years' might have been spurious but, considering the stated goal might only be realised a day before the freeze (or not at all), the merit of putting a focus on a decision date as pre-freeze isn't clear. Even if the decision was made in February/March/April would this imply going into Jessie with a new init system is a realistic possibility? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131215181911.go5...@copernicus.demon.co.uk
Re:[Solved] cifs mount problem
On Tue, 3 Dec 2013, David Christensen wrote: You might want to try the Samba mailing list: https://lists.samba.org/mailman/listinfo/samba I tried the linux-cifs and cifs-protocol lists, but didn't get any help. At last, I found the solution, and thought it may interest somebody in this list. I got it by looking for all the options in the mount.cifs man. The one which worked was "sec=none", i.e. mount -t cifs -o sec=none //wehd/hdd /d6 I tried the other possible values for sec, and found that mount -t cifs -o "guest,sec=ntlm" //wehd/hdd /d6 mount -t cifs -o "guest,sec=ntlmv2" //wehd/hdd /d6 also work. Then, I discovered that the difference from my 2 other machines comes from the kernel versions. My curent kernel version is 3.10-3, but if I boot the same machine selecting kernel 3.2, the command mount -t cifs -o guest //wehd/hdd /d6 works. That obviously means that they changed the default security mode for cifs in the new kernel, although I found nothing about that in the kernel changelog. best regards, -- Pierre Frenkiel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.10.1312151932430.27...@pfr2.frenkiel-hure.net
Re: Soliciting hardware recommendations
On 12/15/2013 10:56 AM, Stephen Powell wrote: > On Sun, 15 Dec 2013 09:30:43 -0500 (EST), Stan Hoeppner wrote: ... > Wow, you even managed to get a monitor thrown in and still make the > ~$500 target. I was expecting to pay around $500 for the system only, > with the monitor costing extra. Yeah, like I said, it surprised me a bit when I tallied it, considering I made a point to select only top quality gear. The thing that really surprised me was getting a fast quad core CPU, the Samsung 120GB SSD, and the 23" HP LCD in there, and still sneaking in under $550. This will be a pretty awesome system for the price. I'm jealous. :) ... > I see just one problem. I don't see > any indication of R/W capability in the CD/DVD drive. It appears to > be read-only. I want to be able to burn install images downloaded from > the internet. However, I did find this item > >http://www.newegg.com/Product/Product.aspx?Item=N82E16827135204 > > for just a buck more. Do you see any problem substituting this for the > one you suggested? I was figuring you'd probably do the install from a USB stick and I threw the DVD drive in as an afterthought. So yes, the ASUS burner above would be perfect. Over 4,000 sold and a 5 egg rating. Can't get any better than that. ... > Makes sense. And thanks for all the time that you have put into this. You're welcome. If you decide to go this route and you run into any trouble getting it going, don't hesitate to email me off list. I may not respond quickly but I'll respond. You said it's been a while since you built a system, so add a static strap to your order and use it, if you don't already have one. Winter is static charge season, and the last thing you want is to have your board not work after accidentally sending static discharge into it. Often folks don't even realize it happened and curse their "DOA" board as being junk, etc. ... >> I hope this is the type of complete, concise information, >> recommendation, you were looking for Stephen. > > It is. You did not disappoint. On that note, prepare for potential disappointment with the cutesie little temperature LCD on the Apevia case. Mine was DOA. I wasn't about to RMA the entire case to Newegg and wait a week or more for a replacement just to get the temp LCD fixed. The system was up and running and immediately in production. I bought the case for the superior airflow and the form factor, not the LCD display. Out of curiosity, I contacted Apevia who offered to ship me a new LCD panel at no charge, but they said I had to pay the shipping, ~$8, or RMA it through Newegg. Not seeing the CPU heatsink temp (nowhere close to core temp anyway) and the HD case temp simply wasn't an issue for me. In your system, the SSD will run ever so slightly above T_case, so you won't even bother to hook the HD temp probe to the SSD. If yours works I'd hook up the CPU heatsink probe and I'd connect the HD probe to the Northbridge heatsink. -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ae0c05@hardwarefreak.com
Re: Soliciting hardware recommendations
On 12/15/2013 03:07 PM, Stan Hoeppner wrote: > You're welcome. If you decide to go this route and you run into any > trouble getting it going, don't hesitate to email me off list. I may > not respond quickly but I'll respond. You said it's been a while since > you built a system, so add a static strap to your order and use it, if > you don't already have one. Winter is static charge season, and the > last thing you want is to have your board not work after accidentally > sending static discharge into it. Often folks don't even realize it > happened and curse their "DOA" board as being junk, etc. having worked as a PC tech in Washington DC, in those old Federal buildings our trouble calls always went up around November, til spring time.. It is amazing what static will do... 15,000 volts is the minimum you can FEEL, so... I live in Georgia, where it is so humid in the summer time that I have a dehumidier pulling out 30 gallons A WEEK from my house. Yet now, in the winter, I have a humidifier in my living room ( right next to my office) that puts out 3 gallons of water A DAY, to keep the humidity around 50-54%. I used to HATE slapping the light switch and getting ZAPPED, now that doesn't happen anymore. My current desktop is 2 years old, my laptop is 8 years old, neither has suffered a static issue. Like lightning used to take out modems, static can ruin computer parts just as fast. and yes, I have a static strap with clip:) -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ae1f7b.8080...@gmail.com
Re: Samsung CLX4195FN
On 13/12/13 10:24, Lisi Reisz wrote: Has anyone used one of these successfully with Linux? I have never had an all-in-one, so have no experience. If the answer is no, what laser all-in-ones would anyone recommend? Thanks, Lisi Hi, I use Samsung colour laser printer CLP series, works pretty well with Samsung drivers, although I have used the following repository to install them in an easy way: deb http://www.bchemnet.com/suldr/ debian extra deb-src http://www.bchemnet.com/suldr/ debian extra You can read about it on: http://www.bchemnet.com/suldr/index.html Kind regards, Michal -- Michal R. Hoffmann -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ae2db9.6070...@o2.pl
Re: Soliciting hardware recommendations
On Sun, 15 Dec 2013 15:07:33 -0500 (EST), Stan Hoeppner wrote: > > I was figuring you'd probably do the install from a USB stick and I > threw the DVD drive in as an afterthought. So yes, the ASUS burner > above would be perfect. Over 4,000 sold and a 5 egg rating. Can't get > any better than that. Good. I just ordered everything exactly as you recommended, except for the CD/DVD drive, for which I substituted the R/W model. To install Debian, I usually use the "netboot" installation image burned to a CD-R. > > If you decide to go this route and you run into any > trouble getting it going, don't hesitate to email me off list. I may > not respond quickly but I'll respond. That's a very generous offer. Thank you very much. I hope I won't need to take you up on that, but it's nice to know that I can if I need to. > > You said it's been a while since > you built a system, so add a static strap to your order and use it, if > you don't already have one. Winter is static charge season, and the > last thing you want is to have your board not work after accidentally > sending static discharge into it. Often folks don't even realize it > happened and curse their "DOA" board as being junk, etc. You know, I almost added an anti-static wrist strap to the order, but in the end decided not to. My basement is so humid, even in winter, that I doubted it would be a problem. However, my dehumidifier, which normally runs 9 or 10 months out of the year, is currently showing the relative humidity at 30% (and it's off, set for 50%), so maybe I'll get one anyway. > > On that note, prepare for potential disappointment with the cutesie > little temperature LCD on the Apevia case. Mine was DOA. Sorry to hear that. But if that happens to me, I'll probably do what you did. Nothing. I'm not used to cases with temperature readouts on them, and that is not a requirement. Thanks again, "Santa". This will be my first truly new system since 1994. I've been using other people's throw-aways and used systems since then. But nobody I know is throwing away 64-bit systems. Not yet anyway. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/704937397.894827.1387151074321.javamail.r...@md01.wow.synacor.com
Re: startx (with no per-user config) works, kdm has _issues_
On 12/16/13, Brian wrote: > On Sun 15 Dec 2013 at 11:27:26 +1100, Zenaan Harkness wrote: > >> On 12/13/13, Zenaan Harkness wrote: >> > So I have no per-user config, such as ~/.xinitrc , ~/.xsession and >> > ~/.xsessionrc . >> > >> > startx after linux console login works well. >> >> That is, to start xfce >> >> > When I login to Linux console, then run >> > sudo service kdm start, and then login from there to xfce, >> > my XFCE4 keyboard shortcuts don't work (Settings -> Keyboard -> >> > Application Shortcuts). >> >> Is it reasonable, or unreasonable, to use KDM as my graphical login >> manager to log in to XFCE4? > > I gave kdm a quick whirl with Xfce on Wheezy. No problem (I only tested > ALT-F2), but no advice for you either. It seems that, for me, a shortcut involving the "Windows Logo" key does not work. Would you mind testing that for me please? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnst_ocwd-x9v-ot3f7zl0q0+vd1iicaesafb-mtn0ac...@mail.gmail.com
FVWM + ( Re: startx + ~/.xsession and no ~/.xinitrc, or .xsessionrc )
On Sat, Dec 14, 2013 at 08:25:56PM +, Brian wrote: > > Put > >exec fvwm > > after the xterm command in .xsession. This command does not complete and > .xsession doesn't close. You've summoned X, give it a chance to show off > what it can do :). > > EXERCISE: You decide 'exec fvwm' is a splendid idea but decide to keep > your .xsessionrc and put the extra line in it. Discuss the consequences. :) renamed .xsessionrc to .xsession and added exec fvwm as last line. All good now, cheers! For some reason I thought the 'exec fvwm' command was no longer necessary, but as someone has already mentioned I could ditch the .xsession* file(s) completely. This would mean moving the background handling into the .fvwm/config file, which would be the 'cleaner' solution. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131216041701.GC8938@tal
Re: udev rule for a kindle
Now working and understood. On 14/12/13 02:32, Sharon Kimble wrote: > On Fri, 13 Dec 2013 20:40:26 +1100 > Scott Ferguson wrote: > >> On 13/12/13 03:53, Sharon Kimble wrote: >>> On Fri, 13 Dec 2013 02:02:06 +1100 Scott Ferguson >>> wrote: >>> On 13/12/13 01:30, Sharon Kimble wrote: > On Thu, 12 Dec 2013 11:43:32 +1100 Scott Ferguson > wrote: > >> On 12/12/13 01:01, Sharon Kimble wrote: >>> >>> I have a script for backing up my kindle when its first >>> mounted, but its not running on mounting, but *does* run when >>> invoked manually! When the kindle is mounted it should >>> trigger this udev rule - >>> >> Here's what worked for me. NOTE: kindle.sh will only work on KDE machines with a user called scott. 1. Plug in Kindle 2. Find device node # tail /var/log/messages grep -v Rej /var/log/messages | tail Dec 15 22:08:05 vbserver mtp-probe: checking bus 1, device 9: "/sys/devices/pci:00/:00:02.2/usb1/1-4" Dec 15 22:08:05 vbserver mtp-probe: bus: 1, device: 9 was not an MTP device Dec 15 22:08:06 vbserver kernel: [37231.122454] scsi 8:0:0:0: Direct-Access Kindle Internal Storage 0100 PQ: 0 ANSI: 2 Dec 15 22:08:06 vbserver kernel: [37231.127116] sd 8:0:0:0: Attached scsi generic sg2 type 0 Dec 15 22:08:06 vbserver kernel: [37231.131048] sd 8:0:0:0: [sdb] 6410688 512-byte logical blocks: (3.28 GB/3.05 GiB) Dec 15 22:08:07 vbserver kernel: [37231.234688] sd 8:0:0:0: [sdb] Write Protect is off Dec 15 22:08:07 vbserver kernel: [37231.344693] sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Dec 15 22:08:07 vbserver kernel: [37231.565991] sdb: sdb1 Dec 15 22:08:07 vbserver kernel: [37231.844747] sd 8:0:0:0: [sdb] Attached SCSI removable disk Dec 15 22:08:08 vbserver kernel: [37232.678814] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! (alternatively you could use # udisks --monitor) sdb1 is the current device node (the value needed for the next step). 3. Use the KERNEL identification (top of the chain for the block mode, in this instance /dev/sdb1) so the rule points to the block device instead of the USB controller. Find identifiers specific to the Kindle. # udevadm info -a -p $(udevadm info -q path -n /dev/sdb1) Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0/host8/target8:0:0/8:0:0:0/block/sdb/sdb1': KERNEL=="sdb1" SUBSYSTEM=="block" DRIVER=="" ATTR{partition}=="1" ATTR{start}=="16" ATTR{size}=="6410672" ATTR{ro}=="0" ATTR{alignment_offset}=="0" ATTR{discard_alignment}=="0" ATTR{stat}==" 222 3087 4450 73210 100 544 732" ATTR{inflight}==" 00" looking at parent device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0/host8/target8:0:0/8:0:0:0/block/sdb': KERNELS=="sdb" SUBSYSTEMS=="block" DRIVERS=="" ATTRS{range}=="16" ATTRS{ext_range}=="256" ATTRS{removable}=="1" ATTRS{ro}=="0" ATTRS{size}=="6410688" ATTRS{alignment_offset}=="0" ATTRS{discard_alignment}=="0" ATTRS{capability}=="51" ATTRS{stat}==" 228 3087 4498 74010 100 552 740" ATTRS{inflight}==" 00" ATTRS{events}=="media_change" ATTRS{events_async}=="" ATTRS{events_poll_msecs}=="-1" looking at parent device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0/host8/target8:0:0/8:0:0:0': KERNELS=="8:0:0:0" SUBSYSTEMS=="scsi" DRIVERS=="sd" ATTRS{device_blocked}=="0" ATTRS{type}=="0" ATTRS{scsi_level}=="3" ATTRS{vendor}=="Kindle " ATTRS{model}=="Internal Storage" ATTRS{rev}=="0100" ATTRS{state}=="running" ATTRS{timeout}=="30" ATTRS{iocounterbits}=="32" ATTRS{iorequest_cnt}=="0x12b9" ATTRS{iodone_cnt}=="0x12b9" ATTRS{ioerr_cnt}=="0x1" ATTRS{evt_media_change}=="0" ATTRS{queue_depth}=="1" ATTRS{queue_type}=="none" ATTRS{max_sectors}=="240" looking at parent device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0/host8/target8:0:0': KERNELS=="target8:0:0" SUBSYSTEMS=="scsi" DRIVERS=="" looking at parent device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0/host8': KERNELS=="host8" SUBSYSTEMS=="scsi" DRIVERS=="" looking at parent device '/devices/pci:00/:00:02.2/usb1/1-4/1-4:1.0': KERNELS=="1-4:1.0" SUBSYSTEMS=="usb" DRIVERS=="usb-storage" ATTRS{bInterfaceNumber}=="00" ATTRS{bAlternateSetting}==" 0" ATTRS{bNumEndpoints}=="02" ATTRS{bInterfaceClass}=="
SELinux and awstats.pl
Hi, after installing and enabling SELinux awstats always report this error: Error: AWStats database directory defined in config file by 'DirData' parameter (/var/lib/awstats) does not exist or is not writable. By disabling SELinux using `setenforce 0` awstats "works" again. Anyone facing the same problem? Any hints? Here follows some relevant debugging infos: # grep awstats /var/log/audit/audit.log type=AVC msg=audit(1387179027.001:4159): avc: denied { getattr } for pid=7029 comm="awstats.pl" path="/var/lib/awstats" dev=dm-3 ino=23910 scontext=unconfined_u:system_r:httpd_sys_script_t:s0-s0:c0.c1023 tcontext=system_u:object_r:awstats_var_lib_t:s0 tclass=dir type=SYSCALL msg=audit(1387179027.001:4159): arch=c03e syscall=4 success=no exit=-13 a0=1588ee0 a1=1480138 a2=1480138 a3=0 items=0 ppid=3298 pid=7029 auid=0 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=2 comm="awstats.pl" exe="/usr/bin/perl" subj=unconfined_u:system_r:httpd_sys_script_t:s0-s0:c0.c1023 key=(null) # grep awstats /var/log/audit/audit.log | audit2why type=AVC msg=audit(1387179027.001:4159): avc: denied { getattr } for pid=7029 comm="awstats.pl" path="/var/lib/awstats" dev=dm-3 ino=23910 scontext=unconfined_u:system_r:httpd_sys_script_t:s0-s0:c0.c1023 tcontext=system_u:object_r:awstats_var_lib_t:s0 tclass=dir Was caused by: Missing type enforcement (TE) allow rule. You can use audit2allow to generate a loadable module to allow this access. regards /raffaele