KDE - reset of graphics?

2016-08-08 Thread Hans
Hi folks, 

from time to time I get the message from KDE, that the "effects are  started 
new, due to the reset of graphics".

Doies someone watch this effect, too? It is not often (about 2-4 times a week).

Although it does not harm much, I would like to know, if this is seen 
by.someone else, too, or if it might be just an unlucky combinaton of my hard- 
and software.

I am running nvdia proprietrary driver, my card is a GeForce 8600GS. The 
driver is version 340.96-9. You know, this is the one with the "konsole"-bug.

Thanks for feedback!

Best 

Hans



Re: KDE - reset of graphics?

2016-08-08 Thread Brad Rogers
On Mon, 08 Aug 2016 09:19:30 +0200
Hans  wrote:

Hello Hans,

>Doies someone watch this effect, too? It is not often (about 2-4 times
>a week).

I haven't seen it recently, but yes.  It happened most often when
various KDE part were upgraded (I run testing), but not all.  As a
result, some parts of KDE were v4 and others were at v5.  Things have
been okay for a while now.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
White people going to school, where they teach you to be thick
White Riot - The Clash


pgpydb3zJJqAk.pgp
Description: OpenPGP digital signature


Re: invoke-rc.d & systemd

2016-08-08 Thread Ansgar Burchardt
Henrique de Moraes Holschuh writes:
> On Sun, 07 Aug 2016, Ansgar Burchardt wrote:
>> That might behave different than expected when current state of the
>> daemon and the boot configuration differ: for example the sequence above
>
> It shouldn't, unless invoke-rc.d is broken.

It does as you say yourself:

> The whole reason it exists
> is exactly to account for boot state (i.e. enabled/disabled, as opposed
> to started/stopped).

But if you want to restart a running daemon, that action does *not*
depend on the boot configuration at all: it should be restarted if
running, but not started if it was not running before.  invoke-rc.d
doesn't help in this case.

>> start at boot; or it will stop the daemon if it was manually started but
>> is not configured to start automatically at boot.
>
> It has to stop it, yes.  That's exactly the point, since it is meant to
> be used during daemon upgrades.  We *usually* don't want a daemon
> running while its components and configuration are being updated under
> its feet, unless it is a daemon engineered to tolerate it well (which is
> actually easy to do on simple daemons, so it is actually the rule rather
> than the exception).

Well, the default for packages using debhelper has recently changed:

+---
| v10 This compatibility level is open for beta testing; changes may
| occur.
|
| Changes from v9 are:
| [...]
| - The dh_installinit command now defaults to --restart-after-upgrade.
|   For packages needing the previous behaviour, please use
|   --no-restart-after-upgrade.
+---[ man:debhelper(5) ]

So the default assumption for Debian is to expect this to work.

Changing the configuration and only then restarting the service also
matches what happens with most configuration changes besides packages
upgrades in my experience (either manual changes or changes applied by a
configuration management system).

Ansgar



Re: Limiting internet access by time

2016-08-08 Thread pascalv

On Mon, 8 Aug 2016, Curt wrote:


On 2016-08-07, p...@gatech.edu  wrote:



On Fri, 5 Aug 2016 at 20:00, Lisi Reisz  wrote:



Perhaps he wants to stop his children/grandchildren/house guests surfing

the

web at 3:00 am.



Spot on, Lisi!


Hello,
If the computer is not supposed to be connected at all, then maybe:

sudo service network-manager stop

and
sudo service network-manager start

(in cron jobs) would be fine and would do what you wish


I haven't been following the thread (discussion beyond my technical
reach) but couldn't the little man boot up a live cd or usb drive and
surf his little heart out? Someone talked about targeting the MAC
address of the machine (which I suppose would obviate this workaround).


True, however in this case he could also soon or late find how to get 
around using macchanger...



Good luck





Re: invoke-rc.d

2016-08-08 Thread Jonathan de Boyne Pollard

André Majorel:
Do you think the following would work on any Debian system, regardless 
of its current run level and choice of init system ?


1. run invoke-rc.d daemon-package stop
2. update config file
3. run invoke-rc.d daemon-package start 


Don't use invoke-rc.d yourself.  The *old pre-systemd* Debian Policy 
Manual vaguely and indirectly warns against it; my proposed revised 
systemd-aware Debian Policy Manual explicitly warns against it, based 
upon discussions during the Debian systemd Hoo-Hah; the manual page for 
my invoke-rc.d shim warns against it; even the Debian/Ubuntu manual page 
indirectly explains what it is not for. It is for a very particular 
need.  It is not for general service management tasks by a system 
administrator.  Use the "service" command.


* https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3
* https://jdebp.eu./Proposals/DebianPolicy/ch-opersys.html#s-sysvrc
* 
https://jdebp.eu./Proposals/DebianPolicy/ch-opersys.html#s-systemdandupstartandrc

* https://jdebp.eu./Proposals/DebianPolicy/ch-opersys.html#s9.3.1.2
* https://jdebp.eu./Softwares/nosh/guide/invoke-rc.d.html
* http://manpages.ubuntu.com./manpages/xenial/man8/invoke-rc.d.8.html

Don't use "stop" followed by "start" to enact a conditional restart 
after reconfiguration.  That unilaterally starts services if they 
weren't already running.  Use a single invocation with the verb 
"force-reload".  You can often also use "try-restart", or 
"condrestart".  The latter two are better, as a matter of fact, because 
Fedora defines "force-reload" differently to the LSB.  In the Fedora 
world, "force-reload" is supposed to actually start a service if it 
isn't currently running.


* 
https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782993
* 
https://fedoraproject.org/w/index.php?title=Packaging:SysVInitScript&oldid=297366#Required_Actions


My shims are not the only places where verb translation happens. You 
have to do it, too, if you move between "invoke-rc.d"/"service" and 
other things.  systemd's own systemctl utility is not the same as the 
"service" command, for one thing.  It does not provide the LSB verb set, 
but a revised verb set of its own; one that has changed with time, too.  
For it, the (currently) correct verb here is "try-reload-or-restart", 
which attempts a reload, and if that is not possible does a restart, but 
only if the service is currently already running.  "condrestart" used to 
be available and documented as an alias for (what was then) the 
"reload-or-try-restart" verb, and later became an alias for the 
"try-restart" verb.  It has since been removed from the systemctl 
documentation altogether.  I haven't checked whether it is still 
actually there in the program.


* 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Services.html#tabl-Managing_Services_with_systemd-Services-systemctl
* 
https://lists.freedesktop.org/archives/systemd-devel/2010-September/000387.html
* 
https://lists.freedesktop.org/archives/systemd-devel/2010-November/000863.html

* https://bugzilla.redhat.com/show_bug.cgi?id=635780
* http://linuxmanpages.net/manpages/fedora16/man1/systemctl.1.html



Re: How to blocks clients between them in subnet

2016-08-08 Thread Darac Marjal

On Mon, Jul 18, 2016 at 02:18:03PM +0200, Pol Hallen wrote:

I all

I've a network 192.168.2.0/24 connected by routing to 192.168.1.0/24

I'd like blocks clients on 192.168.2.0/24 between then in same network.

So, client1 can go to 192.168.1.0/24 but can't see other clients in 
192.168.2.0/24. And so for all clients.


IMO, your best bet is to physically isolate the networks. 192.168.1.0/24 
clients are on one switch, and 192.168.2.0/24 clients are on another 
switch. Only a single gateway host connects the two switches, and all 
clients must route through this host to reach the other network.


If both clients are on a shared network segment, then what's to stop a 
192.168.1.0/24 client adding a 192.168.2.0/24 IP to their network 
adapter and talking directly? If you trust the hosts not to do that, 
then you could still work as above, but note that firewall rules will 
become a bit more complex (you can't assume that eth0 talks to 
192.168.1.0/24 and eth1 talks to 192.168.2.0/24, for example). It's not 
impossible, but needs a bit more care.




Any idea?

thanks!

Pol



--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Debian server for backups of Windows clients

2016-08-08 Thread Darac Marjal

On Tue, Aug 02, 2016 at 06:12:33PM -0300, Daniel Bareiro wrote:

Hi all!

I'm thinking deploy a Debian backup server using Dirvish (which is based
on rsync --- indeed, we have packaged it in Debian). On previous
occasions I implemented these solutions seamlessly with GNU/Linux
clients, but now I would like add Windows clients.

The idea of using Dirvish is because I had a very good experience.
Besides using rsync with hard links for backups of files that do not
change from backup to the next allows a considerable saving of disk space.

But to use Dirvish with Windows clients I will need to install an SSH
server. I had thought that an alternative would be to use Cygwin, but
was looking for documentation and I have not found any uniform process
to install and configure a Cygwin SSH server on Windows.

I would like to know if anyone has had any experience in this regard
that could share.


Can I recommend BackupPC (also in Debian), which performs similar 
de-duplication to dirvish (hard links between identical files with 
optional compression as well), but can pull files from computers using 
rsync, ftp or, relevant to you, SMB. That is, it can backup Windows 
clients without any client software being installed on them.


Obviously, SMB will probably be slower than rsync as you'll need to pull 
every file every time, but you may find that's preferable to trying to 
get rsync installed on your Windows machines.





Thanks in advance.

Kind regards,
Daniel





--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working

2016-08-08 Thread Brian
On Sun 07 Aug 2016 at 16:53:01 +0100, Brian wrote:

> On Sun 07 Aug 2016 at 10:26:55 +, ML mail wrote:
> 
> > Note here that the banner-message does not appear either but the
> > disable-user and disable-restart-buttons both work strangely enough.
> 
> I have no trouble with getting a banner-message to appear.

Your observation was correct. You had uncommented "disable-user-list"; I
hadn't. It's a bug.

  https://bugzilla.gnome.org/show_bug.cgi?id=703972



Re: invoke-rc.d & systemd

2016-08-08 Thread Jonathan Dowland
On Sun, Aug 07, 2016 at 03:58:50PM +0200, Andre Majorel wrote:
> What is a "socket activation" ? Would that by any chance be a
> systemd thing to declare that you plan to listen on some port ?

It is also possible via various inetd solutions.

-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.


signature.asc
Description: Digital signature


Re: Chromecast

2016-08-08 Thread Darac Marjal

On Thu, Jul 14, 2016 at 07:38:29AM -0400, Jesse Stephen wrote:



is there away to put chromecast on my diebian pc?


Are you trying to Chromecast TO your Debian PC (that is, you're trying 
to plug the dongle into your PC and stream stuff to the PC)? If so, then 
you'll need some sort of video capture card. This is not really what the 
Chromecast is designed for, but it takes all sorts :)


Are you trying to Chromecast FROM your Debian PC (that is, you have the 
dongle plugged into a TV and you want to stream something from your PC 
to the dongle)? If so, then VLC will (hopefully soon) support that in an 
upcoming release. Otherwise, you can cast a tab from Chrome using the 
"Google Cast Extension"[1], or if the web app itself supports Google 
Cast (YouTube being the most obvious), you can simply click the control 
in the web page. I don't know, offhand, if Chromium supports casting, 
but I don't think that's a Chrome-only feature.


[1]: https://support.google.com/chromecast/answer/3212008

--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Limiting internet access by time

2016-08-08 Thread Karol Augustin
On 2016-08-08 8:30, pasc...@sdf.org wrote:
> On Mon, 8 Aug 2016, Curt wrote:

>>
>> I haven't been following the thread (discussion beyond my technical
>> reach) but couldn't the little man boot up a live cd or usb drive and
>> surf his little heart out? Someone talked about targeting the MAC
>> address of the machine (which I suppose would obviate this workaround).
> 
> True, however in this case he could also soon or late find how to get
> around using macchanger...
Than the only thing that's left would be whitelisting all the rest of
the mac addresses using iptables (for as long as he won't try changing
the mac addr to something switched off at the time) or RADIUS
authenticated wpa-enterprise wifi network with separate
username/password. Also VLANing his port on the switch + iptables rules
for vlan (eth1.5 for excample). All of this might be even used as
challange mode forcing kid to learn new stuff as he overcomes more
sophisticated measures...

>>> Good luck

-- 
Karol Augustin
ka...@augustin.pl
http://karolaugustin.pl/
+353 85 775 5312



Re: KDE - reset of graphics?

2016-08-08 Thread root
Hi Brad,
> I haven't seen it recently, but yes.  It happened most often when
> various KDE part were upgraded (I run testing), but not all.  As a
> result, some parts of KDE were v4 and others were at v5.  Things have
> been okay for a while now.
> 
I am running testing on my desktop pc (graphics onboard), my EEEPC
1005HAG (Intel I-945 chip) and the mentioned notebook. 

Mostly it happens on the notebook. Once it appeared on the EEEPC and on 
the desktop pc never. I agree to you, that it might be due to the mix
of v4 and v5. 

As I already said, it happens not often, but from time to time. 

Just wanted to know, if this happens at other users, too. 

Of course, I believe, there are only very few users, who run the
combination of debian/testing + KDE * nvidia card + proprietrary nvidia
driver.

I have the feeling, most prefer LXDE, Gnome or just the commandline.

Happy hacking!

Hans 



problem with kermit

2016-08-08 Thread Christian Groessler

Hi,

I'm running Debian 8.5 and I'm getting this when starting kermit (ckermit):


--
$ kermit tmp/casoc-kermit
?OpenSSL libraries do not match required version:
  . C-Kermit built with OpenSSL 1.0.1f 6 Jan 2014
  . Version found  OpenSSL 1.0.1t  3 May 2016
  OpenSSL versions prior to 1.0.0 must be the same.
  Set LD_LIBRARY_PATH for OpenSSL 1.0.1f 6 Jan 2014.
  Or rebuild C-Kermit from source on this computer to make versions agree.
  C-Kermit makefile target: linux+krb5+openssl
  Or if that is what you did then try to find out why
  the program loader (image activator) is choosing a
  different OpenSSL library than the one specified in the build.

  All SSL/TLS features disabled.

using /dev/ttyUSB0
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.

--


$ cat /etc/debian_version
8.5
$ dpkg -l | egrep openssl\|kermit
ii  ckermit 302-5i386 
serial and network communications package
ii  libgnutls-openssl27:i386 3.3.8-6+deb8u3   
i386 GNU TLS library - OpenSSL wrapper
ii  openssl 1.0.1t-1+deb8u2  i386 
Secure Sockets Layer toolkit - cryptographic utility

$



Seems like ckermit needs to be rebuilt with newer openssl?


regards,
chris



Re: KDE - reset of graphics?

2016-08-08 Thread Brad Rogers
On Mon, 8 Aug 2016 12:50:01 +
root  wrote:

Hello root,

>Of course, I believe, there are only very few users, who run the
>combination of debian/testing + KDE * nvidia card + proprietrary nvidia
>driver.

Count me in that category.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Success defined by acquisition stinks
Money is Not Our God -  Killing Joke


pgpyPfIrFjXzg.pgp
Description: OpenPGP digital signature


Debian installation for 1st time

2016-08-08 Thread haleem safi
Dear Debian users,


I am Haleem and new to the Linux world, I Need to install 
osTicket on Apache, web Server.  I Need to install first 
Debian, please instruct me what will be the suitable package for me,to download

I have Wmware ESXI 5.5 virtual  machine, on Dell power edge 720 Server. in the 
Virtual machine I  Windows Server 2008 and I want to  install Debian and then 
Apache,

your Support will be appreciated


Best Regards

Haleem


Re: Debian installation for 1st time

2016-08-08 Thread Michael Fothergill
On 8 August 2016 at 15:01, haleem safi  wrote:

> Dear Debian users,
>
>
> I am Haleem and new to the Linux world, I Need to install *osTicket*
>  on Apache, web Server.  I Need to install first
> Debian, please instruct me what will be the suitable package for me,to
> download
>
​I think it would be good if you started out with a Debian Live dvd.

see here:

https://www.debian.org/CD/live/​

Download the stable iso file and then burn a DVD from it.  Then get your
bios to boot from it.

Regards

Michael Fothergill



> I have Wmware ESXI 5.5 virtual  machine, on Dell power edge 720 Server. in
> the Virtual machine I  Windows Server 2008 and I want to  install Debian
> and then Apache,
>
> your Support will be appreciated
>
>
> Best Regards
>
> Haleem
>


NFS no_root_squash not working (permission denied)

2016-08-08 Thread Greg Wooledge
I am trying to backup files from one server, using another server
which has a tape drive attached.  I've done this many times before.
The problem is, *this* time, root on the NFS client can't read the files
on the NFS server.  It appears that no_root_squash is being ignored.

I have two Debian systems:

1) NFS server: svr4 (jessie)
2) NFS client: arc1 (squeeze) (has tape drive)

On the server (svr4) I have this line in /etc/exports:

/home   -no_subtree_check arc1(ro,no_root_squash,sync)

On the client I use autofs, but for purposes of demonstrating the problem
I will use manual mount commands.  (Rest assured it breaks just the same
with autofs mounts.)

arc1:~# mount -v -t nfs svr4:/home /mnt
mount.nfs: timeout set for Mon Aug  8 10:57:37 2016
mount.nfs: trying text-based options 'addr=10.76.142.85'
mount.nfs: prog 13, trying vers=3, prot=6
mount.nfs: trying 10.76.142.85 prog 13 vers 3 prot TCP port 2049
mount.nfs: prog 15, trying vers=3, prot=17
mount.nfs: trying 10.76.142.85 prog 15 vers 3 prot UDP port 58163
svr4:/home on /mnt type nfs (rw)
arc1:~# ls /mnt/wooledg/Maildir
ls: cannot open directory /mnt/wooledg/Maildir: Permission denied
arc1:~# su wooledg -c 'ls /mnt/wooledg/Maildir'
courierimapkeywords  courierimapuiddb  cur  new  tmp
arc1:~# umount /mnt

arc1:~# showmount -e svr4 | grep /home
/home  arc1.eeg.ccf.org

So, the file system mounts correctly, and the non-root user can read
the files, but root can't read them.

I have rebooted both the client and server machines.  I have tried
restarting NFS services on them, too.  I have done "exportfs -u -a" and
"exportfs -a".  I've done everything I can think of.

This is very similar to what I see in bug #492970 and this past
discussion:

https://lists.debian.org/debian-user/2008/08/msg01943.html
http://bugs.debian.org/492970

However, both of my systems are newer than the systems described in
that bug report, and I don't think "downgrade to nfs-common 1.1.2"
is a viable solution for me.

Is there any package I might be missing on the new jessie server, either
for general NFS operations, or specifically for compatibility with older
Linux NFS clients?

root@svr4:/# uname -a
Linux svr4 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) 
x86_64 GNU/Linux
root@svr4:/# dpkg -l | grep -E 'nfs|portmap|rpcbind'
ii  libnfsidmap2:amd64 0.25-5 amd64 
   NFS idmapping library
ii  nfs-common 1:1.2.8-9  amd64 
   NFS support files common to client and server
ii  nfs-kernel-server  1:1.2.8-9  amd64 
   support for NFS kernel server
rc  portmap6.0.0-2amd64 
   RPC port mapper
ii  rpcbind0.2.1-6+deb8u1 amd64 
   converts RPC program numbers into universal addresses

arc1:~# uname -a
Linux arc1 2.6.28-1-amd64 #1 SMP Wed Feb 18 17:16:12 UTC 2009 x86_64 GNU/Linux
arc1:~# dpkg -l | grep -E 'nfs|portmap|rpcbind'
ii  libnfsidmap20.23-2   An nfs 
idmapping library
ii  nfs-common  1:1.2.2-4squeeze3NFS 
support files common to client and server
ii  nfs-kernel-server   1:1.2.2-4squeeze3support 
for NFS kernel server
ii  portmap 6.0.0-2  RPC port 
mapper

root@svr4:/# tail /var/log/daemon.log
...
Aug  8 10:55:37 svr4 rpc.mountd[1312]: authenticated mount request from 
arc1.eeg.ccf.org:823 for /home (/home)
Aug  8 10:56:05 svr4 rpc.mountd[1312]: authenticated unmount request from 
arc1.eeg.ccf.org:809 for /home (/home)
...

One final note, though I don't know how it may relate: svr4 was just
upgraded to Jessie on Friday, to replace a machine that died.  I reused
the same IP address.  The machine that died was running Jessie but with
a Wheezy kernel; it had been upgraded many times, originally installed
from Lenny IIRC.  This all worked fine on the old server.  It is not
working on the new server.  It had crossed my mind that something was
caching the old server's information due to the IP address reuse, but
I have rebooted both systems since then, so that shouldn't be the case.



Re: How to blocks clients between them in subnet

2016-08-08 Thread Andy Smith
Hello,

On Mon, Jul 18, 2016 at 01:26:42PM +0100, Darac Marjal wrote:
> (you can't assume that eth0 talks to 192.168.1.0/24 and eth1 talks
> to 192.168.2.0/24, for example). It's not impossible, but needs a
> bit more care.

ebtables could enforce that but I agree it is much more hassle than
physical separation, or a switch with different ports and vlans.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

> I'd be interested to hear any (even two word) reviews of their sofas…
Provides seating.— Andy Davidson



Re: Lost /var/backups

2016-08-08 Thread Tilo Werner
Am 04.08.2016 um 22:57 schrieb Sven Joachim:
> On 2016-08-04 20:45 +0200, Tilo Werner wrote:
> 
>> accidentally I lost all files under /var/backups. It was a mistake while
>> I was configuring the backup procedure o_O So I got no backup.
>>
>> Does anybody know how they were created?
> 
> Most of them are created by cron jobs (look in /etc/cron.daily), apt in
> testing and unstable has switched to a systemd service
> (/usr/lib/apt/apt.systemd.daily).
> 
>> On an other system, when I install packages or add users the files where
>> altered. On this system nothing happens. Maybe I'm missing some packages
>> and there had been no files at all.
> 
> Do you have cron installed on that system?

Yes cron is installed, but was disabled due to my test. Thanks!

> 
> Cheers,
>Sven
> 




signature.asc
Description: OpenPGP digital signature


Re: Aplication's Help cant find iceweasel

2016-08-08 Thread Gary Roach

On 08/06/2016 02:11 PM, humbert.olivie...@free.fr wrote:

Hi Gary,


I recently switched to Firefox-esr and removed iceweasel from my system.
Some application help files now error out with: KDEInit could not launch
'/usr/lib/iceweasel/iceweasel. As an example Rosegarden has the problem.
How can I fix this.

su -c "update-alternatives --set x-www-browser /usr/bin/firefox-esr"
su -c "update-alternatives --set gnome-www-browser /usr/bin/firefox-esr"

Hope that helps
Olivier

Thanks for you response. Unfortunately this didn't change anything. I 
still have the same problem with about 50% of my applications. Any help 
will be sincerely appreciated.


Gary R.



Re: Debian server for backups of Windows clients

2016-08-08 Thread Daniel Bareiro
Hi, David.

On 03/08/16 00:23, David Christensen wrote:

>> I'm thinking deploy a Debian backup server using Dirvish (which is based
>> on rsync --- indeed, we have packaged it in Debian). On previous
>> occasions I implemented these solutions seamlessly with GNU/Linux
>> clients, but now I would like add Windows clients.
>>
>> The idea of using Dirvish is because I had a very good experience.
>> Besides using rsync with hard links for backups of files that do not
>> change from backup to the next allows a considerable saving of disk space.
>>
>> But to use Dirvish with Windows clients I will need to install an SSH
>> server. I had thought that an alternative would be to use Cygwin, but
>> was looking for documentation and I have not found any uniform process
>> to install and configure a Cygwin SSH server on Windows.
>>
>> I would like to know if anyone has had any experience in this regard
>> that could share.

> Cygwin sshd and rsync are okay for interactive use.  There is a shell
> script (ssh-host-config) provided with the Cygwin openssh package for
> setting up sshd as a service.
> 
> Unfortunately, Cygwin rsync is notorious for working for a while, and
> then hanging in the middle of a transfer.  I've seen this for years, and
> I saw it on up-to-date installs less than a week ago.  So for automated
> backups, you need to detect this failure mode and deal with it.  The
> only way I found to get rsync working again was to reboot.
> 
> You might find more encouraging answers on the Cygwin mailing list:
> 
> https://cygwin.com/lists.html

It sounds like a blocking issue. Researching about it, I read something
about what you mention here [1]. As it says, it seems that this is
resolved in new versions of Cygwin, although you say that a week ago you
had this problem (with the latest published version?). But this article
is "a bit" old.

He also mentions a problem to doing backup over open files. Have you
experienced that problem?

> Currently, Windows Backup and Restore is the most reliable solution I've
> found for automated backups.  Either it works, or it doesn't (the last
> Windows Vista box I maintain has broken Volume Shadow Copy, which breaks
> Backup and Restore).

It does not sound very encouraging. An alternative that I thought as a
last resort was to mount the remote filesystem on the backup server
using Samba and then to use rsync on the mount point, although I'm not
sure how efficient it can be.


Thanks for your reply.

Kind regards,
Daniel

[1]
http://www.trueblade.com/techblog/backing-up-windows-computers-with-dirvish



signature.asc
Description: OpenPGP digital signature


Re: Debian server for backups of Windows clients

2016-08-08 Thread Daniel Bareiro
Hi, Darac.

On 03/08/16 05:49, Darac Marjal wrote:

>> I'm thinking deploy a Debian backup server using Dirvish (which is based
>> on rsync --- indeed, we have packaged it in Debian). On previous
>> occasions I implemented these solutions seamlessly with GNU/Linux
>> clients, but now I would like add Windows clients.
>>
>> The idea of using Dirvish is because I had a very good experience.
>> Besides using rsync with hard links for backups of files that do not
>> change from backup to the next allows a considerable saving of disk
>> space.
>>
>> But to use Dirvish with Windows clients I will need to install an SSH
>> server. I had thought that an alternative would be to use Cygwin, but
>> was looking for documentation and I have not found any uniform process
>> to install and configure a Cygwin SSH server on Windows.
>>
>> I would like to know if anyone has had any experience in this regard
>> that could share.

> Can I recommend BackupPC (also in Debian), which performs similar
> de-duplication to dirvish (hard links between identical files with
> optional compression as well), but can pull files from computers using
> rsync, ftp or, relevant to you, SMB. That is, it can backup Windows
> clients without any client software being installed on them.
> 
> Obviously, SMB will probably be slower than rsync as you'll need to pull
> every file every time, but you may find that's preferable to trying to
> get rsync installed on your Windows machines.

Thanks for the recommendation. I hadn't the opportunity to use BackupPC,
but I will investigate it.

As I said in another message of this thread, I thought that an
alternative could be to mount on the Debian server the filesystem for
the Windows client using Samba and then doing rsync against the mount
point, but I'm not sure how efficient it can be. We also have security
implications as the backup server and the Windows computer are in
different offices, so the backup would be over the Internet.


Thanks for your reply.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Debian installation for 1st time

2016-08-08 Thread Joe
On Mon, 8 Aug 2016 14:01:31 +
haleem safi  wrote:

> Dear Debian users,
> 
> 
> I am Haleem and new to the Linux world, I Need to install
> osTicket on Apache, web Server.  I Need to
> install first Debian, please instruct me what will be the suitable
> package for me,to download
> 
> I have Wmware ESXI 5.5 virtual  machine, on Dell power edge 720
> Server. in the Virtual machine I  Windows Server 2008 and I want to
> install Debian and then Apache,
> 
> your Support will be appreciated
> 

For a production server, Debian is an excellent choice, however it's
probably not the easiest way into Linux.

For your particular application, which apart from Linux and Apache, will
also need MySQL and PHP, you need what is referred to as a LAMP server.

There are a number of these available as specialised distributions,
based on either Debian, SuSe or RedHat/Centos, or there is a portable
version which will run on Windows, from a USB stick if required
(USBwebserver, http://www.usbwebserver.net). Some are mentioned here,
https://en.wikipedia.org/wiki/List_of_Apache%E2%80%93MySQL%E2%80%93PHP_packages
you will need to check which versions of the components are included.

Here is a guide to making a LAMP server from Ubuntu, one of the more
popular Debian-based distributions:
https://help.ubuntu.com/community/ApacheMySQLPHP
There's a lot more on the Net about LAMP servers, much of which of
course is out of date.

If you still wish to start with Debian itself, you will find less
hand-holding. Here is the starting point:
https://www.debian.org/releases/stable/installmanual

The most efficient way is probably to start with the Netinstall image
https://www.debian.org/CD/netinst/ for your virtual machine and add what
tasks are necessary. Use the expert installation, as various important
choices are not available otherwise. Look up anything you don't
understand, or come back here.

For a server, it's probably not worth using either of the heavyweight
desktops, Gnome or KDE, and instead to choose Xfce or LXDE. After a bit
of experience, you won't bother with a graphical environment at all on a
server, but for someone moving from Windows, it's probably safer to
stay graphical for now.

What I can't tell you today is exactly what you need for a new
installation. My server has the LAMP components, but the originals were
installed years ago, and the server upgraded several times as new
versions became available, though it still isn't the current Jessie
distribution. From time to time, functions have been moved into
different packages. These are the packages I have now which seem to be
apache2, mysql and php-related:

apache2
apache2-mpm-prefork
apache2-utils
apache2.2-bin
apache2.2-common
libapache2-mod-fcgid
libapache2-mod-perl2
libapache2-mod-php5
libapache2-reload-perl
libdbd-mysql-perl
libmysqlclient16
libmysqlclient18:amd64
libqt4-sql-mysql:amd64
mysql-client-5.5
mysql-common
mysql-server
mysql-server-5.5
mysql-server-core-5.5
php5-mysql
libapache2-mod-php5
php5
php5-cli
php5-common
php5-gd
php5-imap
php5-ldap
php5-mcrypt
php5-mysql
php5-sqlite
phpmyadmin

Many of these are dependencies, and not all are probably essential to
your application. Selecting the 'web server' role during installation,
then installing 'php5' and 'mysql-server' afterwards should pull in most
of them. phpmyadmin isn't a dependency, but I find it very useful for
administering MySQL, so much so that I need to look up the actual MySQL
cli commands when I need them. I repeat, Jessie may not use exactly the
same packages as my server, which runs the Wheezy distribution, but
this should be a good guide.

Best of luck. Any problems, come back and we'll try to help.

-- 
Joe



Re: Debian 8.2 ISO

2016-08-08 Thread Andrew M.A. Cater
On Mon, Aug 08, 2016 at 06:34:50PM +, Albarran, Josue wrote:
> Hi,
> 
> I'm currently trying to download Debian 8.2 image but I'm not able to find a 
> reliable ISO for this version.
> 
> Can I get some pointers (link) to a working Debian 8.2 amd64 Jessie image?
> 
> Thanks,
> Josue

I wouldn't bother with an 8.2 image - it's been updated since and is now 8.5

Network install cd is at 

http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso

CD 1 is at

http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-CD-1.iso
 (or there are kde/lxde variants further down)

DVD 1 is at

http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-dvd/debian-8.5.0-amd64-DVD-1.iso

8.2 can be found if you must - try the cdimage.debian.org archives at

http://cdimage.debian.org/mirror/cdimage/archive/8.2.0/

Hope this helps

All the best

Andy C



Re: Debian server for backups of Windows clients

2016-08-08 Thread Glenn English

> On Tue, Aug 02, 2016 at 06:12:33PM -0300, Daniel Bareiro wrote:
>> Hi all!
>> 
>> I'm thinking deploy a Debian backup server using Dirvish (which is based
>> on rsync --- indeed, we have packaged it in Debian). On previous
>> occasions I implemented these solutions seamlessly with GNU/Linux
>> clients, but now I would like add Windows clients.
>> 
>> The idea of using Dirvish is because I had a very good experience.
>> Besides using rsync with hard links for backups of files that do not
>> change from backup to the next allows a considerable saving of disk space.
>> 
>> But to use Dirvish with Windows clients I will need to install an SSH
>> server. I had thought that an alternative would be to use Cygwin, but
>> was looking for documentation and I have not found any uniform process
>> to install and configure a Cygwin SSH server on Windows.

Have you tried Putty? I know next to nothing about Windows, but I've seen Putty 
discussed like it does SSH seriously.

Dirvish, I think, is a good backup package. It creates backups that can be 
handled with plain *nix software if you lose the backup software. Like Amanda.

-- 
Glenn English





How to get rid of M10

2016-08-08 Thread Maureen L Thomas
I have an acer aspire XC-704G with windows 10 on it.  I changed the BIOS 
to boot from CD/DVD but all I get is a message to put a boot device in 
and reboot.  It will not recognize the bootable DVD with Debian on it.  
What else do I need to do to get rid of 10 and put Debian on it?  Thanks 
for your help


Maureen



Re: How to get rid of M10

2016-08-08 Thread Thiago Zoroastro
Maybe using pendrive and booting his Notebook's USB port.
See what the priority boot devices must be, ensuring yourself if it's CD/DVD 
ROM to boot him.

Try some Debian-based and Ubuntu-based GNU/Linux operating systems if you can.


 

Em Segunda-feira, 8 de Agosto de 2016 19:21, Maureen L Thomas 
 escreveu:
 

 I have an acer aspire XC-704G with windows 10 on it.  I changed the BIOS 
to boot from CD/DVD but all I get is a message to put a boot device in 
and reboot.  It will not recognize the bootable DVD with Debian on it.  
What else do I need to do to get rid of 10 and put Debian on it?  Thanks 
for your help

Maureen



  

Re: How to get rid of M10

2016-08-08 Thread Eero Volotinen
You possibly need to disable secure boot from bios settings.

Eero

9.8.2016 1.45 ap. "Maureen L Thomas"  kirjoitti:

> I have an acer aspire XC-704G with windows 10 on it.  I changed the BIOS
> to boot from CD/DVD but all I get is a message to put a boot device in and
> reboot.  It will not recognize the bootable DVD with Debian on it.  What
> else do I need to do to get rid of 10 and put Debian on it?  Thanks for
> your help
>
> Maureen
>
>


Re: How to get rid of M10

2016-08-08 Thread Lisi Reisz
On Monday 08 August 2016 23:12:32 Maureen L Thomas wrote:
> I have an acer aspire XC-704G with windows 10 on it.  I changed the BIOS
> to boot from CD/DVD but all I get is a message to put a boot device in
> and reboot.  It will not recognize the bootable DVD with Debian on it.
> What else do I need to do to get rid of 10 and put Debian on it?  Thanks
> for your help
>
> Maureen

Try F2 and change the boot order in the BIOS.

https://mans.io/files/viewer/72128/25

Watch the messages as you turn the computer on.  There may also be a boot 
menu.  In addition, you may need to change some of the settings in the BIOS, 
besides the boot order.

Lisi



Re: How to get rid of M10

2016-08-08 Thread Lisi Reisz
On Monday 08 August 2016 23:48:26 Eero Volotinen wrote:
> You possibly need to disable secure boot from bios settings.

Probably.

Lisi
>
> Eero
>
> 9.8.2016 1.45 ap. "Maureen L Thomas"  kirjoitti:
> > I have an acer aspire XC-704G with windows 10 on it.  I changed the BIOS
> > to boot from CD/DVD but all I get is a message to put a boot device in
> > and reboot.  It will not recognize the bootable DVD with Debian on it. 
> > What else do I need to do to get rid of 10 and put Debian on it?  Thanks
> > for your help
> >
> > Maureen



Re: How to get rid of M10

2016-08-08 Thread Karol Augustin
On 2016-08-08 23:12, Maureen L Thomas wrote:
> I have an acer aspire XC-704G with windows 10 on it.  I changed the
> BIOS to boot from CD/DVD but all I get is a message to put a boot
> device in and reboot.  It will not recognize the bootable DVD with
> Debian on it.  What else do I need to do to get rid of 10 and put
> Debian on it?  Thanks for your help
> 
> Maureen

What I always recommend is to disable UEFI in BIOS. The option you're
looking for is LEGACY BOOT/UEFI switch. Then you'll be able to set boot
order normally and install OS. I've heard that Linux supports UEFI but
it was always really painful for me to get it working. If you plan to
use Linux exclusively than LEGACY BOOT might be the easiest way to go.

Karol


-- 
Karol Augustin
ka...@augustin.pl
http://karolaugustin.pl/
+353 85 775 5312



Re: How to get rid of M10

2016-08-08 Thread Thiago Zoroastro
Oh, even. 

Em Segunda-feira, 8 de Agosto de 2016 20:03, Karol Augustin 
 escreveu:
 

 On 2016-08-08 23:12, Maureen L Thomas wrote:
> I have an acer aspire XC-704G with windows 10 on it.  I changed the
> BIOS to boot from CD/DVD but all I get is a message to put a boot
> device in and reboot.  It will not recognize the bootable DVD with
> Debian on it.  What else do I need to do to get rid of 10 and put
> Debian on it?  Thanks for your help
> 
> Maureen

What I always recommend is to disable UEFI in BIOS. The option you're
looking for is LEGACY BOOT/UEFI switch. Then you'll be able to set boot
order normally and install OS. I've heard that Linux supports UEFI but
it was always really painful for me to get it working. If you plan to
use Linux exclusively than LEGACY BOOT might be the easiest way to go.

Karol


-- 
Karol Augustin
ka...@augustin.pl
http://karolaugustin.pl/
+353 85 775 5312



  

script stops responding for browsers

2016-08-08 Thread Haines Brown
I have been running both Icweweasel and Pale Moon browsers under
Wheezy. About a week ago they produced this warning:

"A script on this page may be busy, or it may have stopped
responding. You can stop the script now, open the script in the
debugger, or let the script continue".

I stopped or continued the script, and with this the browsers worked as
they should. However, I rebooted, and now not only do I get the warning,
but there's about a 50-second freeze between any action with the browsers,
making them unusable. I could not copy/paste the debug here for some
reason, but this is how it starts and ends:

require.config{
  map: {
 '*': {
 'jquery/nyt': 'foundation/lib/jquery/2.1.4',
 ...
 'queue/1' ; 'foundation/lib/queue/1.0.7'
  }
   }
})'
require(['foundation/main_includes']);

I don't have a clue about what this means.

Haines Brown



Re: Debian server for backups of Windows clients

2016-08-08 Thread Daniel Bareiro
Hi, Glenn.

On 08/08/16 18:34, Glenn English wrote:

>>> I'm thinking deploy a Debian backup server using Dirvish (which is based
>>> on rsync --- indeed, we have packaged it in Debian). On previous
>>> occasions I implemented these solutions seamlessly with GNU/Linux
>>> clients, but now I would like add Windows clients.
>>>
>>> The idea of using Dirvish is because I had a very good experience.
>>> Besides using rsync with hard links for backups of files that do not
>>> change from backup to the next allows a considerable saving of disk space.
>>>
>>> But to use Dirvish with Windows clients I will need to install an SSH
>>> server. I had thought that an alternative would be to use Cygwin, but
>>> was looking for documentation and I have not found any uniform process
>>> to install and configure a Cygwin SSH server on Windows.

> Have you tried Putty? I know next to nothing about Windows, but I've seen
> Putty discussed like it does SSH seriously.

I'm not sure if I understand your idea. I know that Putty is an SSH
client used mostly in Windows but there are also versions for GNU/Linux
(also in the Debian repositories).

In this case the idea is to initiate the connection from the Debian
server to the Windows server, to bring the files to the Debian server.
This connection would be via Internet, as both are not on the same local
network.

The idea would be to use an automatic process, with a secure connection
in the extent of the possibilities.

> Dirvish, I think, is a good backup package. It creates backups that can be
> handled with plain *nix software if you lose the backup software. Like
> Amanda.

I had mentioned to use Dirvish because it is what I use to doing backup
with GNU/Linux clients. In this way I would have a backup homogeneous
solution, which would facilitate the maintenance.

I will try to do some tests locally with Windows 2012 and Cygwin, using
rsync + ssh. The alternative would be to use Samba to access the Windows
filesystem as if it was local to the Debian server, then doing rsync to
the mount point. But it doesn't convince me from the point of view of
security to have with Samba access through Internet. Any comment about this?


Thanks for your interest.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Debian server for backups of Windows clients

2016-08-08 Thread David Christensen
On 08/08/2016 11:25 AM, Daniel Bareiro wrote:
> He also mentions a [Cygwin rsync] problem to doing backup over open files. 
> Have you
> experienced that problem?

I'm not sure.  It's been many moons since I tried to do automated
backups of Windows machines using rsync.


> An alternative that I thought as a
> last resort was to mount the remote filesystem on the backup server
> using Samba and then to use rsync on the mount point, although I'm not
> sure how efficient it can be.

Try it and let us know how well it works.


David



Re: Debian server for backups of Windows clients

2016-08-08 Thread David Christensen
On 08/08/2016 01:05 PM, Daniel Bareiro wrote:
> We also have security
> implications as the backup server and the Windows computer are in
> different offices, so the backup would be over the Internet.

For security, you can use an SSH tunnel (Cygwin openssh on the Windows
machine).


Backing up over a WAN connection is only practical if your links are
fast and there isn't much data.  The same goes for verification,
restore, and archiving jobs.  Imaging is likely to be impractical.  I'd
consider building another backup machine and deploying it on the remote LAN.


David



IPMI on stretch

2016-08-08 Thread Lister

Hi all,

I am unable to use ipmitool:

root@srv3:~# ipmitool
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No 
such file or directory


System info:
Motherboard: Asrock C2750D4I
Debian: stretch, fully patched as of today
Kernel: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 
GNU/Linux

Package: openipmi-2.0.22-1

Judging from my command history, this worked before.

 1587  modprobe ipmi_si
 1588  systemctl start openipmi
 1589  systemctl status openipmi
 1590  dmesg | tail
 1591  lsmod | grep -i ipmi
 1592  systemctl stop openipmi
 1593  modprobe ipmi_devintf
 1594  systemctl start openipmi
 1595  dmesg | tail
 1596  ipmitool lan print 1
 1597  vi /etc/modules
 1598  ipmitool --help
 1599  ipmitool -I open chassis status
 1600  ipmitool -I open chassis help
 1601  ipmitool -I open chassis power
...etc...

Following the same process, I get the following:

  root@srv3:~# modprobe ipmi_si

  root@srv3:~# modprobe ipmi_devintf

  root@srv3:~# systemctl start openipmi

  root@srv3:~# systemctl status openipmi
  ● openipmi.service - LSB: OpenIPMI Driver init script
 Loaded: loaded (/etc/init.d/openipmi; generated; vendor preset: 
enabled)

 Active: active (exited) since Tue 2016-08-09 11:02:24 HKT; 2s ago
   Docs: man:systemd-sysv-generator(8)
Process: 12730 ExecStart=/etc/init.d/openipmi start (code=exited, 
status=0/SUCCESS)


  Aug 09 11:02:24 srv3.dcnet.local systemd[1]: Starting LSB: OpenIPMI 
Driver init script...
  Aug 09 11:02:24 srv3.dcnet.local openipmi[12730]: Starting ipmi 
drivers ipmi.
  Aug 09 11:02:24 srv3.dcnet.local systemd[1]: Started LSB: OpenIPMI 
Driver init script.


  root@srv3:~# dmesg | tail
  [24480.977520] ata12.00: configured for UDMA/133
  [24480.981019] ata12: EH complete
  [27788.510325] ipmi message handler version 39.2
  [27788.515522] ipmi_si IPI0001:01: ipmi_si: probing via ACPI
  [27788.518991] ipmi_si IPI0001:01: [io  0x0ca2] regsize 1 spacing 1 
irq 0

  [27788.522394] ipmi_si: Adding ACPI-specified kcs state machine
  [27788.525786] IPMI System Interface driver.
  [27788.529296] ipmi_si: Trying ACPI-specified kcs state machine at i/o 
address 0xca2, slave address 0x0, irq 0

  [27788.570248] ipmi_si: There appears to be no BMC at this location
  [27802.155730] ipmi device interface

  root@srv3:~# ipmitool lan print 1
  Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: 
No such file or directory



I've looked through the open bugs and didn't find anything related:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=0;ordering=normal;repeatmerged=0;src=openipmi

Am I missing something or did I hit a new bug?

Thanks



Re: Help on investigating partition-related changes

2016-08-08 Thread Ric Moore

On 08/07/2016 03:25 PM, limpia wrote:

It would depend on a lot things(details that you have not included), but
agreed, I don't know of a command or direct way, unless you have a
recent backup or copy of the partition tables, you could compare the
current sizes to.


Please don't top post. 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