Re: Posts don't show on list
On 04/26/2016 11:24 PM, Marc Shapiro wrote: On 04/22/2016 06:20 AM, Nicolas George wrote: Le quartidi 4 floréal, an CCXXIV, The Wanderer a écrit : If the list software did this modification for _all_ messages, not just ones from Gmail addresses, I don't see how it would break threading It breaks it for the *senders*: they would have the message in their "sent" archive with the message-id chosen by the MUA and the rest of the thread connected to the message (in-reply-to and references) with a different message-id. Interesting. Do you have any evidence for the idea that it uses more than just Message-ID? I can't prove that it doesn't, but I've never seen anything that I recall to indicate that it does. A long time ago, I experimented with in-reply-to and references in order to see how gmail decided if a mail belongs in a thread, and my conclusion was that it relied more on the subject field than anything else. It was a long time ago. For myself, one major reason (not the only one) is that the received copy is often different from the sent copy - modified message headers (e.g. by adding List-ID), added mailing-list footer, et cetera. True. A gamil users could check to see if it is possible to obtain that information. I suspect the misfeature belongs in gmail's web interface, actually, and the mails are really present in the archive and accessible through IMAP. I use a gmail account, but I hate the web interface, so I use Thunderbird with IMAP. I'm pretty sure that I get all of my posts back. I'll let you know for sure when this one comes back to me. Marc Yes, it came right back. It shows as being 'Read', but it's there. Marc
Re: Posts don't show on list
On 04/22/2016 06:20 AM, Nicolas George wrote: Le quartidi 4 floréal, an CCXXIV, The Wanderer a écrit : If the list software did this modification for _all_ messages, not just ones from Gmail addresses, I don't see how it would break threading It breaks it for the *senders*: they would have the message in their "sent" archive with the message-id chosen by the MUA and the rest of the thread connected to the message (in-reply-to and references) with a different message-id. Interesting. Do you have any evidence for the idea that it uses more than just Message-ID? I can't prove that it doesn't, but I've never seen anything that I recall to indicate that it does. A long time ago, I experimented with in-reply-to and references in order to see how gmail decided if a mail belongs in a thread, and my conclusion was that it relied more on the subject field than anything else. It was a long time ago. For myself, one major reason (not the only one) is that the received copy is often different from the sent copy - modified message headers (e.g. by adding List-ID), added mailing-list footer, et cetera. True. A gamil users could check to see if it is possible to obtain that information. I suspect the misfeature belongs in gmail's web interface, actually, and the mails are really present in the archive and accessible through IMAP. I use a gmail account, but I hate the web interface, so I use Thunderbird with IMAP. I'm pretty sure that I get all of my posts back. I'll let you know for sure when this one comes back to me. Marc
Who's playing with scaling_max_freq?
Max scaling_max_freq seems stuck at 1GHz even though it should be able to go up to 1.83GHz. # echo 1833000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 100 # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 1833000 1333000 100 # This is on a Thinkpad T60 running Debian stable. Any idea what might be causing this? Or at least, which part of the system might cause scaling_max_freq to be (re)set to 1GHz right after I force-set it to 1.83GHz? Would it be some daemon like systemd or rather than kernel? This Thinkpad T60 is actually used as a desktop: it's parked in a dock (with the lid is closed) where I have it connected to a keyboard and monitor. Stefan
Re: emacs locked file problem
On 04/25/2016 11:47 PM, Blair, Charles E III wrote: Perhaps a symptom is that, during an emacs session, the top of the window says "emacs@debian.c-blair@..." (my e-mail address) instead of "emacs@ceblair". I may have made a mistake during the installation in specifying my host name or something similar. Thanks, as always, for any help. Type hostname -f in a terminal. Betcha you'll see the error. :) Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. http://linuxcounter.net/user/44256.html
Re: preseed install on bond link with LACP (802.3ad)
ML mail wrote: > I would like to preseed a Debian jessie installation over a bond0 > interface with LACP but my problem is that the installer by itself > does not support bonding out of the box. My idea and workaround would > be to use the early_command preseed parameter to first install the > ifenslave-2.6 package, load the bonding module, overwrite > /etc/network/interfaces with my config and then start the network. ifenslave is nothing more than a shell script, putting some values into /sys/class/net/bond0/bonding/slaves, no need to install the whole package. That script is 120 lines long and 90% are error checking, help text and licensing stuff. Just load the bonding module and do something like for slave in eth0 eth1 ip link set $slave down echo "+$slave" > /sys/class/net/bond0/bonding/slaves done ip link set bond0 up (Effectivley lines 92, 107, 108 and 118 of ifenslave.) Grüße, Sven. -- Sigmentation fault. Core dumped.
Re: Installation of openssh-client stops with error in groupadd
Hello, On 04/26/2016 08:54 PM, Reco wrote: For the sake of the purity of the experiment, it would be nice to reboot the system with "init=/bin/sh" added to kernel commandline (to exclude systemd interference), but I foresee that the result would be the same. I'll try this if I have a little bit time and come back to this topic then. So, to sum it up. Your current kernel + root filesystem combo prevents you to overwrite /etc/group (and I suspect any existing file) with another file by means of conventional rename(2) syscall, which returns anomalous return code. My gut feeling tells me that one should blame filesystem (btrfs) implementation in cases such as this. This behavior justifies a bug report with severity 'serious' against 'linux-image' package as I don't see any easy way to fix this short of kernel patch or replacing the filesystem with something more conventional (ext4 comes to mind). I'll prepare a bug-report also. As this is a freshly set-up computer, I'll also try to reinstall it with ext4. So thank you for your help until here. Best regards Michael
Re: Installation of openssh-client stops with error in groupadd
Hi. On Tue, 26 Apr 2016 20:14:38 +0200 Michael Luecke wrote: > Hi, > > I've done your commands: > > On 04/26/2016 08:04 PM, Reco wrote: > > unshare -m /bin/bash > > mount -o bind / /mnt > > mount -o bind /proc /mnt/proc > > mount -o bind /dev /mnt/dev > > chroot /mnt > Without failure until here. Just as planned :) > > strace groupadd -g 1234 test > The known failure again: > rename("/etc/group+", "/etc/group") = -1 EBUSY (Device or resource busy) > > > exit > > exit > > Thank you for your patient help. I attached the complete strace output. Looks more-or-less the same as previous attempt. Moreover, open("/etc/group+", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 umask(022) = 0777 fchown(5, 0, 0) = 0 fchmod(5, 0644) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 ... lstat("/etc/group", {st_mode=S_IFREG|0644, st_size=824, ...}) = 0 rename("/etc/group+", "/etc/group") = -1 EBUSY lstat shows that both /etc/group and /etc/group+ are regular files. For the sake of the purity of the experiment, it would be nice to reboot the system with "init=/bin/sh" added to kernel commandline (to exclude systemd interference), but I foresee that the result would be the same. So, to sum it up. Your current kernel + root filesystem combo prevents you to overwrite /etc/group (and I suspect any existing file) with another file by means of conventional rename(2) syscall, which returns anomalous return code. My gut feeling tells me that one should blame filesystem (btrfs) implementation in cases such as this. This behavior justifies a bug report with severity 'serious' against 'linux-image' package as I don't see any easy way to fix this short of kernel patch or replacing the filesystem with something more conventional (ext4 comes to mind). Reco
Re: RECOMMEND: Wireless Home Router with VPN Built-In
On Tue, 26 Apr 2016, Petter Adsen wrote: > On Mon, 25 Apr 2016 17:46:31 -0700 > Patrick Bartek wrote: > > > On Mon, 25 Apr 2016, Lars Noodén wrote: > > > > > On 04/25/2016 05:01 AM, Patrick Bartek wrote: > > > > Hi! all, > > > > > > > > Toying with the idea of setting up a personal, that is, > > > > non-business, VPN for a device or two for those rare times I use > > > > public wifi. For improved security, mind you. Want to keep it > > > > simple, but it must work outside the U.S. (I foresee a change > > > > coming.) So, figured a new home router with the server built-in > > > > would be better than a for-charge (or free) VPN service. > > > > (After 8 years of continuous use, I'm getting nervous about my > > > > old router anyway, and want to replace it.) > > > > > > > > What routers would you all recommend? And why? > > > > > > > > Thanks. > > > > > > > > B > > > > > > > > > > I'd look at the list of routers that support OpenWRT or DD-WRT and > > > choose from that subset, if you want an off-the-shelf product. > > > > I have been considering that. Just started looking yesterday. Lots > > of routers out there. That's why I asked for recommendations. To > > narrow the field. > > I bought a TP-Link Archer C5 a while ago, the main reason being that > OpenWRT is well supported on it. I've been happy with it, although > I've never used it as a VPN endpoint. Thanks for the router recommendation. Consider Openwrt more suited to the pros -- more features, more configurable, etc.. DD-WRT might be better for me as it's mostly pre-configured to make set up easier for a lowly tyro. At least, that's what I've been reading. B
Re: Installation of openssh-client stops with error in groupadd
Hi, I've done your commands: On 04/26/2016 08:04 PM, Reco wrote: > unshare -m /bin/bash > mount -o bind / /mnt > mount -o bind /proc /mnt/proc > mount -o bind /dev /mnt/dev > chroot /mnt Without failure until here. > strace groupadd -g 1234 test The known failure again: rename("/etc/group+", "/etc/group") = -1 EBUSY (Device or resource busy) > exit > exit Thank you for your patient help. I attached the complete strace output. //Michael strace.out.gz Description: application/gzip
Re: RECOMMEND: Wireless Home Router with VPN Built-In
On Tue, 26 Apr 2016, Lars Noodén wrote: > On 04/26/2016 03:46 AM, Patrick Bartek wrote: > > On Mon, 25 Apr 2016, Lars Noodén wrote:> > >> On 04/25/2016 05:01 AM, Patrick Bartek wrote: > >> Keep in mind that SSH can do a SOCKS proxy itself and thus you > >> might not even want to go to the trouble of setting up OpenVPN on > >> top of whatever you have. > > > > I just want something simple for security when I use public wifi on > > my phone or laptop for personal web and email. It doesn't have to > > be NSA-proof. ;-) But I'll look into that. > > It's easy and simple, just use the SSH client the -D option and > choose a port and log into your router. If you keep your SSH key in > an agent, which many desktop environments have available for your, > then you can just re-connect automatically. I'm looking into this. > One addendum, whether you use VPN or SOCKS proxy, is that if you have > a dynamic IP address you'll probably want to set up an account at a > dynamic DNS service. That way if (when) your IP address changes while > you are away you wont have to cause suspicion by scanning your ISP's > whole network for your proxy. ddclient, for example, is in the > repository. Yes, I'm aware I'll need a ddns service one way or the other. Considering no-ip.com. Their free service got good reviews, too. B
Re: Installation of openssh-client stops with error in groupadd
Hi. On Tue, 26 Apr 2016 19:25:48 +0200 Michael Luecke wrote: > Hi, > > as I restarted my computer today. I wanted to install lsof via apt-get > and at least it configured openssh-client without failure. So I thought > that problem fixed itself, but it didn't. > > I tried to add another group manually so I typed as root: > > # groupadd -g 1234 test > groupadd: failure while writing changes to /etc/group > > and > > # strace groupadd -g 1234 test > showed the known error: > ... > rename("/etc/group+", "/etc/group") = -1 EBUSY (Device or resource busy) > > On 04/25/2016 10:57 PM, Reco wrote: > > /bin/fuser /etc/group > # fuser /etc/group > [ no output ] > > > /usr/bin/lsof /etc/group > # lsof /etc/group > [ no output ] Ok, then we'll have to do it hard way. Basically I want to make sure that it's btrfs fault, not some mount output anomaly that hides bind-mounted /etc/group. unshare -m /bin/bash mount -o bind / /mnt mount -o bind /proc /mnt/proc mount -o bind /dev /mnt/dev chroot /mnt strace groupadd -g 1234 test exit exit 'exit' should be done twice, first time to exit chroot, second time to exit detached mount namespace. Reco
apache 2.4.10, debian jessie, PHP 7.0.4 SWAP issue
Hello guys. We are experiencing weird issue when we implemented this new combination of debian+apache+PHP. The system is serving PHP pages. It is running correctly for a quite a bit and then start to heavily swap without any outer issue (no load spike). The swap is not cleaning itself, only apache restart is of help in this case. We were not experiencing this with combination of debian wheezy+apache 2.2.22+PHP 5.5.16. Do anybody have an idea where to look at? Thanks in advance. -- Marek Soha boberdoo.com ma...@boberdoo.com Skype: mareksoha Computer Science: solving today's problems tomorrow.
Re: Installation of openssh-client stops with error in groupadd
Hi, as I restarted my computer today. I wanted to install lsof via apt-get and at least it configured openssh-client without failure. So I thought that problem fixed itself, but it didn't. I tried to add another group manually so I typed as root: # groupadd -g 1234 test groupadd: failure while writing changes to /etc/group and # strace groupadd -g 1234 test showed the known error: ... rename("/etc/group+", "/etc/group") = -1 EBUSY (Device or resource busy) On 04/25/2016 10:57 PM, Reco wrote: > /bin/fuser /etc/group # fuser /etc/group [ no output ] > /usr/bin/lsof /etc/group # lsof /etc/group [ no output ] //Michael
Re: jessie systemd shutdown sequence
On 26/04/16 16:21, Vladislav Kurz wrote: So what I would like to achieve is to set somehow the dependencies in systemd, so that networking is deconfigured only after all services are stopped, and that SSH is the last service to stop. Documentation starting point for your particular problem (systemd has a lot of man pages, and on Debian they are installed as part of the systemd package so should always be present): $ man systemd.unit $ man systemd.service You probably want to look at the 'After=' and 'Before=' directives, which can be used to say "unit A must not be started until after unit B has been successfully started, and unit A must be stopped before unit B can be stopped".
jessie systemd shutdown sequence
Hello all, I'd like to find out more about what the systemd does during shutdown/reboot. I knew pretty well what old sysVinit does, but my long experience is worthless with systemd, and I have to learn anything anew :(. I accept RTFM answers if they include links ;) The problem I have is partially related to https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=751636 In my eyes it seems that systemd shuts down everything in parallel, including networking. So it can stop network quite early, before other services. Thus SSH connection just hangs, instead of proper disconnect. That can be solved by installling libpam-systemd - SSH session closes immediately after issuing reboot. However I would prefer, that SSH is not stopped until all other services shut down properly, so that if something goes wrong I can still connect and investigate or fix it. As an example - a virtual machine in libvirt/KVM/Qemu, that for whatever reason ignores the ACPI button, and does not shut down. Yeah systemd will kill it eventually (5 minutes or so), but I would prefer to log into such machine and issue correct shutdown. Unfortunately the neworking was gone at that moment. Another similar bug (hopefully fixed now), was that bind for some reason did not shut down on SIGINT/SIGTERM, and the init script was waiting forever. Without SSH stil active I would have to power cycle the server. (which is a bit more complicated with remote servers). So what I would like to achieve is to set somehow the dependencies in systemd, so that networking is deconfigured only after all services are stopped, and that SSH is the last service to stop. Perhaps this should be a bug report against systemd, but I wanted first to know if I'm not missing something that is obvious for those who know systemd better. -- Best Regards Vladislav Kurz
Re: Viber 6
On Tue, 2016-04-26 at 23:23 +0900, Man_Without_Clue wrote: > Hi all, > > Once again, problem with the Viber. > > Debian Jessie, 64 bit. LXDE desktop > > Viber version 6 downloaded from their site. > > http://www.viber.com/en/products/linux > > Just like version 4, I did install the package as shown in this site: > > http://tutorialforlinux.com/2015/06/09/how-to-install-viber-on-debian > -64bit-gnu-linux/ > > Version 4 was working perfectly. Recently I got notification to > update > to latest version for security reason. The installation went smooth, > created menu under internet, but the application won't start. Same > thing > if I do from the terminal. > > Has anyone tried this on Jessie without problem? Am I missing > something > or what? Hard to say without an error message. I can launch the application (on sid) but I don't have an account so all I get is the login screen. -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 6FAB5CD5 signature.asc Description: This is a digitally signed message part
Viber 6
Hi all, Once again, problem with the Viber. Debian Jessie, 64 bit. LXDE desktop Viber version 6 downloaded from their site. http://www.viber.com/en/products/linux Just like version 4, I did install the package as shown in this site: http://tutorialforlinux.com/2015/06/09/how-to-install-viber-on-debian-64bit-gnu-linux/ Version 4 was working perfectly. Recently I got notification to update to latest version for security reason. The installation went smooth, created menu under internet, but the application won't start. Same thing if I do from the terminal. Has anyone tried this on Jessie without problem? Am I missing something or what? Thanks if someone get me some clue. M.W.C.
Re: OT: what do you know about Linux?
It's my understanding Linux ignores bios entirely and gets its work done by other means. On Tue, 26 Apr 2016, Juan R. de Silva wrote: Date: Mon, 25 Apr 2016 21:26:05 From: Juan R. de Silva To: debian-user@lists.debian.org Subject: OT: what do you know about Linux? Resent-Date: Tue, 26 Apr 2016 01:26:30 + (UTC) Resent-From: debian-user@lists.debian.org On my desktop I still use and old keyboard with PS/2 connector. My mouse an USB one, so the mouse PS/2 port on motherboard remains free. A couple of days ago I had to reconnect my keyboard to motherboard. I was doing it in hurry and in the dark, just to the touch. A day later while restarting the machine I was surprised by message from BIOS:"No keyboard detected." However, when started, Debian had no trouble with my keyboard. It was fully functional. Today I had a minute to pull out my desktop tower and found that I mistakenly plugged keyboard connector into the mouse PS/2 port. I wish to see Windows trying to swallow this. :-) Or I am outdated on Windows skills, am I? --
Re: RECOMMEND: Wireless Home Router with VPN Built-In
On Mon, 25 Apr 2016 17:46:31 -0700 Patrick Bartek wrote: > On Mon, 25 Apr 2016, Lars Noodén wrote: > > > On 04/25/2016 05:01 AM, Patrick Bartek wrote: > > > Hi! all, > > > > > > Toying with the idea of setting up a personal, that is, > > > non-business, VPN for a device or two for those rare times I use > > > public wifi. For improved security, mind you. Want to keep it > > > simple, but it must work outside the U.S. (I foresee a change > > > coming.) So, figured a new home router with the server built-in > > > would be better than a for-charge (or free) VPN service. (After 8 > > > years of continuous use, I'm getting nervous about my old router > > > anyway, and want to replace it.) > > > > > > What routers would you all recommend? And why? > > > > > > Thanks. > > > > > > B > > > > > > > I'd look at the list of routers that support OpenWRT or DD-WRT and > > choose from that subset, if you want an off-the-shelf product. > > I have been considering that. Just started looking yesterday. Lots > of routers out there. That's why I asked for recommendations. To > narrow the field. I bought a TP-Link Archer C5 a while ago, the main reason being that OpenWRT is well supported on it. I've been happy with it, although I've never used it as a VPN endpoint. There are plenty of people with Archers on the OpenWRT forums if you need help. If you take a look at those forums there are quite often threads on recommendations of routers for OpenWRT with plenty of useful information. Petter -- "I'm ionized" "Are you sure?" "I'm positive."