Re: disable GUI/X?

2024-06-19 Thread Toni Mas Soler
El Wed, 19 Jun 2024 08:47:58 +0200
 va escriure el següent:

> On Wed, Jun 19, 2024 at 04:39:50AM -, David Chmelik wrote:
> > On Tue, 18 Jun 2024 22:39:15 -0400, Felix Miata wrote:
> >   
> > > David Chmelik composed on 2024-06-19 02:24 (UTC):
> > >   
> > >> How can I disable GUI/X for next boot?  I just want to run it
> > >> when I decide as startx/startxfce/etc.  
> > > 
> > > # systemctl get-default [...]  
> 
> > What about in the case I use SysVInit so don't have systemctl?  
> 
> Then you have an /etc/init.d/xdm (or gdm, or..., depending on your
> display manager). And, if you don't feel like managing it manually,
> you have update-rc.d, which comes with a manual page.
> 
> Cheers

Just mv softlinks in /etc/rc*.d/ that begins with uppercase to
lowercase.

In my case, S04lightdm -> s04ligthdm.

But many time ago I removed completely lightdm and any session manager.
If I want X session, I start with xfce4-session, in my case. Thus, I
run X without root privileges.



Re: Having ten thousands of mount bind causes various processes to go into loops

2024-06-14 Thread Toni Mas Soler
El Fri, 14 Jun 2024 11:30:50 +0200
Julien Petit  va escriure el següent:

> > What processes are CPU hungry?  
> 
> On a vanilla debian 11 : udisksd, gvfs-udisks2-vo, (fstrim), find
> 
> > Perhaps it is not a Debian-specific bug, just more active usage of
> > sandboxing in systemd. If some applications have troubles parsing
> > /proc/mounts then bugs should be filed against them.  
> 
> It seems to happen with all processes accessing mounts. And since
> disabling sandboxing with php fixed the problem for the php process,
> it looks like it is linked to sandboxing.
> 
> > However do you need shared subtrees? It may cause exponential
> > growth of number of moutpoints, see  
> 
> We only use mount bind to share an initial folder with other users
> with different access rights (rw or ro). So we probably don't need
> shared subtrees (as long as mount bind doesn't rely on it). I'm not
> really familiar with subtrees though. In my understanding, it is used
> for chroot or containers and that's something we don't use. When i
> list our mounts, it seems they are by default in shared mode. If the
> default before was "private", it might be why it used to work and it
> stopped.
> I'm gonna test the effect of setting them to private.
> 
> Thanks for your help
> 

Just to learn about it.
What about using acl rather than bind mounts? What should be the
problem in this solution?

Thanks.



Re: NVidia 340 video driver in Bookworm?

2024-06-09 Thread Toni Mas Soler
El Fri, 07 Jun 2024 14:56:23 -0700
Van Snyder  va escriure el següent:

> On Fri, 2024-06-07 at 22:47 +0200, Hans wrote:
> > Just a hint: Sometimes the nvidia-config module says, you need
> > 340.xx, but this is not always true. My card (with th eolder
> > kernel) was running 390.xx, although th esystem told me, I have to
> > use 340.xx. 390.xx was running like a charm, 340.xx crashed. So it
> > lied.
> > 
> > Sorry, that I can help no further and for the bad news, but do not
> > try too much - I fear, you will fail!  
> 
> So far, this is the best advice, so don't apologize.
> 
> I had assumed that when NVidia said I need 340 that it is undoubtedly
> true. I'll try 390.
> 




Have you tried "nvidia-detect" package? This tells you what driver you
need.

In my machine, I installed nvdia-tesla-470-driver and it works fine.



Re: Passwords

2023-01-16 Thread Toni Mas Soler
You don't need  a live-usb/cd.
If your boot system is grub you only have to change command to exec=/bin/bash

Once you are in your system you can change root password and others.


Toni Mas

Missatge de Stanislav Vlasov  del dia dt., 17
de gen. 2023 a les 7:15:
>
> вт, 17 янв. 2023 г. в 11:01, David :
>
> > I have forgotten my password to a Debian PC using an SD stick as it's
> > main drive.
>
> > Looking on the internet it says the passwords are stored in /etc/passwd
> > and /etc/shadow
>
>  In /etc/shadow only password's hashes, some data, one-way calculated
> from password string.
>
> > The password string in /etc/shadow looks as if it's encoded, how can I
> > read this string?
>
> You can't.
> But you can set new password, if you boot from live-usb/live-cd, mount
> your system to dir and run `chroot dir && passwd $user`
>
> --
> Stanislav
>



Re: update, reboot required?

2022-03-19 Thread Toni Mas Soler
I restart Dbus from time to time. Actually, I stop Dbus if i don't
need, that is when I do not use X (almost allways).
Do you mean my action is not effective?


Toni Mas

Missatge de piorunz  del dia ds., 19 de març 2022 a les 5:55:
>
> On 19/03/2022 02:32, Lee wrote:
> > How to tell if I need to reboot the machine after updating the software?
>
> install "needrestart" package.
>
> Description: needrestart checks which daemons need to be restarted after
> library upgrades.
>   It is inspired by checkrestart from the debian-goodies package.
>
>   Features:
>- supports (but does not require) systemd
>- binary blacklisting (i.e. display managers)
>- tries to detect required restarts of interpreter based daemons
>  (supports Java, Perl, Python, Ruby)
>- tries to detect required restarts of containers (docker, LXC)
>- tries to detect pending kernel upgrades
>- tries to detect pending microcode upgrades for Intel CPUs
>- could be used as nagios check_command
>- fully integrated into apt/dpkg using hooks
>
> --
> With kindest regards, Piotr.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
> ⠈⠳⣄
>



Re: User group "users"

2022-01-22 Thread Toni Mas Soler
Please, note that's my own criteria.
- Each new user must have their own group to prevent security issues.
- Most of users are per-app users, following (more or less Android methods). So 
only real (login) users are added manually in the GID=100. Thus they can share 
what they want only who then want with no acl complexity.

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐

El divendres, 21 de gener 2022 a les 18:51, Thomas Hochstein  va 
escriure:

> Roberto C. Sánchez schrieb:
> 

> > > > New users have gid 100 set as their primary group by default. So, new
> > > > 

> > > > users are members of the group without having to be added to the group
> > > > 

> > > > in /etc/groups.
> 

> That depends on your configuration.
> 

> | # /etc/adduser.conf: `adduser' configuration. | # See adduser(8) and 
> adduser.conf(5) for full documentation. [...] | # The USERGROUPS variable can 
> be either "yes" or "no". If "yes" each | # created user will be given their 
> own group to use as a default. If | # "no", each created user will be placed 
> in the group whose gid is | # USERS_GID (see below). | USERGROUPS=yes | | # 
> If USERGROUPS is "no", then USERS_GID should be the GID of the group | #` 
> users' (or the equivalent group) on your system.
> 

> | USERS_GID=100
> 

> > Quite right. It seems that I probably made that change a very long time
> > 

> > ago, long enough ago so that it just seemed like the standard
> > 

> > configuration to me.
> 

> > From https://wiki.debian.org/UserPrivateGroups:
> 

> | Debian has been using (creating) user private groups by default almost
> 

> | from the beginning. However, UPGs where not fully enabled on newly
> 

> | installed systems since release 2.2., because the central umask
> 

> | adjustment for UPGs, as configured in /etc/login.defs, was broken with
> 

> | the inclusion of PAM. This feature was only reintroduced with
> 

> | libpam-umask in release 6.0 (Squeeze).
> 

> -thh

signature.asc
Description: OpenPGP digital signature


Re: write only storage.

2021-09-21 Thread Toni Mas Soler
I use to backup my iPhone's photo library using a stfp connection (all in the 
same directory in my PC). Thus, I can chattr +i the only directory needed and 
nobody can remove. 

I cannot understand why chattr does not achieve you.

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐

El dimarts, 21 de setembre 2021 a les 17:53, Tim Woodall 
 va escriure:

> I would like to have some WORM memory for my backups. At the moment
> 

> they're copied to an archive machine using a chrooted unprivileged user
> 

> and then moved via a cron job so that that user cannot delete them
> 

> (other than during a short window).
> 

> My though was to use a raspberry-pi4 to provide a USB mass storage
> 

> device that is modified to not permit deleting. If the pi4 is not
> 

> accessible via the network then other than bugs in the mass storage API
> 

> it should be impossible to delete things without physical access to the
> 

> pi.
> 

> Before I start reinventing the wheel, does anyone know of anything
> 

> similar to this already in existence?
> 

> Things like chattr don't achieve what I want as root can still override
> 

> that. I'm looking for something that requires physical access to delete.

signature.asc
Description: OpenPGP digital signature


Re: sources.list 's security line

2021-09-06 Thread Toni Mas Soler
I use de 2n one with no problems.

My sources.list:
deb http://security.debian.org/ stable-security main non-free contrib
deb http://security.debian.org/ oldstable/updates main non-free contrib

Since in http://security.debian.org/dists/stable-security/ there is non-free 
floder, I keep it in my sources.list

Regards,

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐

El dilluns, 6 de setembre 2021 a les 12:42, Brian  va 
escriure:

> On Mon 06 Sep 2021 at 06:53:25 -0300, riveravaldez wrote:
> 

> > Hi,
> > 

> > after reading the various sources of documentation (handbook,
> > 

> > wiki, FAQs, Release Notes, etc.) I think I'm finding myself with
> > 

> > kinda four options for the security line in /etc/apt/sources.list
> > 

> > Those being:
> > 

> > deb http://security.debian.org/debian-security bullseye-security main
> > 

> > deb http://security.debian.org bullseye-security main
> > 

> > deb https://deb.debian.org/debian-security bullseye-security main
> > 

> > deb http://security.debian.org testing/updates main
> 

> The first and the third are legitimate lines. I am unsure about the
> 

> other two, particulary the last one.
> 

> 
> 

> Brian.

signature.asc
Description: OpenPGP digital signature


Re: kernel: perf: interrupt took too long

2021-05-25 Thread Toni Mas Soler
This is usual on my machine after reboot.
It could be an alert if after some time doing same work you see this message 
again.

https://bbs.archlinux.org/viewtopic.php?id=187636

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
En dimarts 25 de maig de 2021 a les 11:17, john doe  va 
escriure:

> On 5/24/2021 5:55 AM, Richard Hector wrote:
> 

> > Hi all,
> > I see messages like this frequently for a day or two after rebooting a
> > particularly slow old machine (Atom-based HP thin client, running as an
> > OpenVPN endpoint):
> > May 23 05:36:37 ovpn kernel: [14268.392418] perf: interrupt took too
> > long (4020 > 3996), lowering kernel.perf_event_max_sample_rate to 49750
> > Would it be a good idea to set this value at boot time, rather than
> > waiting for it to auto-adjust down till it settles?
> > Actually I don't know if it's because the machine is slow; it's just the
> > only machine I see this on.
> 

> At the time I've looked at this, I came to the conclusion that a cure
> was worse than the illness.
> 

> 
> 

> John Doe



signature.asc
Description: OpenPGP digital signature


Re: rsync to NAS for backup

2021-02-13 Thread Toni Mas Soler
Is there an alternative if you want an incremental backup?

Obviously you could use tar-ed archives with unprivileged permissions. If you 
did, you would get a huge network overhead.

thks


Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
En dissabte 13 de febrer de 2021 a les 13:50, didier gaumet 
 va escriure:

> Hello,
> 

> Disclaimer: I do not use and am not familiar with Sinology hardware and
> software and generally speaking, I am not knowledgeable in networking
> 

> I would say that:
> 

> -   the owner:group names of a file on the PC you backup and the
> owner:group names of the backup files on the synology files might be
> different, even if you try to maintain ownership and rights. What really
> counts here are owner:group identifiers (UID:GID). Bob_user:Bob_group on
> your PC might equate to Alice_user:John_group on your NAS. Upon
> restoration that would be reversed to Bob_user:Bob_group.
> That would be typical without something like a LDAP server.
> 

> -   SSH root login seems to be discouraged for security reasons. Sinology
> probably adhere to this principle and the appropriate way to do what you
> want would probably be to access a shell on the Synology software to
> issue a sudo or su -c command.
> 

> -   editing /etc/sudoers is generally done via the visudo command
> -   if that is of interest to you, there is a way to install Debian in
> chroot on your NAS
>



signature.asc
Description: OpenPGP digital signature


Re: Allow only selected USB

2021-02-12 Thread Toni Mas Soler
Alternatively, if you run udev, you can add new rule.
Fixed: /etc/udev/rules.d
Volatile: /run/udev/rules.d

I believe this example is autoexplained:
  8 # Do not use this rule if I'm not a USB
  9 SUBSYSTEM!="usb", GOTO="usbgend"
 10 # Only verify on plugin
 11 ACTION=="remove", GOTO="usbgend"
 12
 13 # Select what you want accept by one attributes
 22 SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="PixArt", 
ATTRS{product}=="USB Optical Mouse", \
 23   ATTRS{idVendor}=="0AEa", ATTRS{idProduct}=="2EE0", 
ATTRS{bDeviceClass}=="00", ATTR{authorized}="1", GOTO="usbgend"
 24
 25 # Select what you want accept by other attributes
 30 ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0124", 
ATTRS{idProduct}=="4312", ATTR{authorized}="1", GOTO="usbgend"
 31
 35 # Deactivate other USBs
 36 SUBSYSTEM=="usb", ACTION=="add", ATTR{authorized}="0"
 37
 38 LABEL="usbgend"

 Regards,

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
En dimarts 9 de febrer de 2021 a les 23:31, Bhasker C V  
va escriure:

> Fantastic ! thanks a ton ! thanks !  exactly what i was looking for
> 

> On Tue, Feb 9, 2021 at 7:43 PM  wrote:
> 

> > Hi,
> > 

> > 9 févr. 2021, 19:44 de mailingl...@darac.org.uk:
> > 

> > > Certainly. > https://www.kernel.org/doc/html/latest/usb/authorization.html
> > >
> > + https://usbguard.github.io based on it.
> > 

> > Best regards,
> > l0f4r0

signature.asc
Description: OpenPGP digital signature


Re: RAID installation at boot questions

2020-11-14 Thread Toni Mas Soler
I have more or less the same configuration. I am a no-systemd user
(yet?) so I cannot show you the full example.
You could verify:
- Is there a mdraid1x module  in your grub menu entry?
- If I not wrong you made your RAID by mdadm metadata version 1.2. I
think in this version metadata is located at first blocks, on the
other hand, version 1.0 places at the end blocks. Somewhere out there
I read blootable partitions could not use 1.2 metadata version. Thus,
for a bootable (and EFI, if exists) partition must be build in
metadata version 1.0. I did and it works. This you could solve your
problem.

To force a specific metadata version, I used:
mdadm --create --metadata=1.0 --verbose /dev/md2

Toni Mas

Missatge de Charles Curley  del dia
ds., 14 de nov. 2020 a les 20:40:
>
> On Sat, 14 Nov 2020 08:12:41 +0100
> john doe  wrote:
>
> > >
> > > What do I do to automate that?
> > >
> >
> >
> >
> > Is your '/etc/crypttab' file properly populated?
>
> Well, I thought it was
>
> At first I got the UUID for the RAID device, /dev/md0:
>
> root@hawk:~# mdadm --detail /dev/md0
> /dev/md0:
>Version : 1.2
>  Creation Time : Thu Nov 12 12:06:28 2020
> Raid Level : raid1
> Array Size : 3906884416 (3725.90 GiB 4000.65 GB)
>  Used Dev Size : 3906884416 (3725.90 GiB 4000.65 GB)
>   Raid Devices : 2
>  Total Devices : 2
>Persistence : Superblock is persistent
>
>  Intent Bitmap : Internal
>
>Update Time : Sat Nov 14 11:52:39 2020
>  State : clean
> Active Devices : 2
>Working Devices : 2
> Failed Devices : 0
>  Spare Devices : 0
>
> Consistency Policy : bitmap
>
>   Name : hawk:0  (local to host hawk)
>   UUID : 0d3ec9c1:2bc5b3e8:24a27283:c0cad01b
> Events : 12270
>
> Number   Major   Minor   RaidDevice State
>0   8   330  active sync   /dev/sdc1
>1   8   491  active sync   /dev/sdd1
> root@hawk:~#
>
> and set that up as a line in /etc/crypttab:
>
> encryptedRaid UUID=0d3ec9c1-2bc5-b3e8-24a2-7283c0cad01b none luks
>
> Didn't work, and gave a 90 second timeout.
>
> Note that the UUID in crypttab is re-formatted to agree with the other
> UUIDs in that file, dashes rather than colons. Is that relevant?
>
> Or (afterthought here) did I give it the wrong UUID?
>
> root@hawk:~# ll /dev/disk/by-uuid/
> total 0
> drwxr-xr-x 2 root root 300 Nov 14 11:52 ./
> drwxr-xr-x 8 root root 160 Nov 14 11:51 ../
> lrwxrwxrwx 1 root root  10 Nov 14 11:52 343ed59e-ae41-4733-8277-f1b77de67479 
> -> ../../sda5
> lrwxrwxrwx 1 root root  10 Nov 14 11:52 52be92ca-795f-46ef-9c52-074fceedc53c 
> -> ../../dm-1
> lrwxrwxrwx 1 root root   9 Nov 14 11:52 57de8169-da6c-4952-b6ac-25e6c87dbf1a 
> -> ../../md0
> ...
> root@hawk:~#
>
> Anyway, I tried it by device name, and that worked.
>
> encryptedRaid /dev/md0 none luks
>
> Useful tip: that worked without a prompt because I gave /dev/md0's
> encryption the same passphrase I gave the other encrypted partitions.
>
> This also works:
>
> encryptedRaid /dev/md0 /root/raid.encrypt.password.txt luks
>
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>



Re: Possible bug in mediawiki package (1.27.7-1~deb9u4)

2020-09-29 Thread MAS Jean-Louis
Le 28/09/2020 à 13:57, Roberto C. Sánchez a écrit :

> Note that the mediawiki package is handled by the LTS team.  It is not
> incorrect to discuss issues like this on debian-user, but a better place
> is the debian-lts list.  Many LTS users and all of the LTS maintainers
> monitor that list.

Got it

> As to your specific issue ...

> This is definitely a newly introduced defect.  I am in the process of
> preparing an update to correct this.  It should be available later on
> today (US/Eastern time).

OK, thanks for replying and for fixing the bug so quickly.

I just updated the new mediawiki packages on one of our mediawiki
servers and all went fine.
The others ones will be updated during the night (UTC+0200).

Regards


-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Possible bug in mediawiki package (1.27.7-1~deb9u4)

2020-09-28 Thread MAS Jean-Louis
Hi,

mediawiki package has been updated recently for security update in
stretch : old-sec: 1:1.27.7-1~deb9u4

But all our mediawiki servers failed with a blank page

we have this error

Exception encountered, of type "ParseError"
[fdd9f60bf17425482b88d0fa] / ParseError from line 1813 of
/usr/share/mediawiki/includes/user/User.php: syntax error, unexpected
'else' (T_ELSE)

Backtrace:
#0 [internal function]: AutoLoader::autoload(string)
#1 /usr/share/mediawiki/includes/session/SessionBackend.php(125):
spl_autoload_call(string)
#2 /usr/share/mediawiki/includes/session/SessionManager.php(854):
MediaWiki\Session\SessionBackend->__construct(MediaWiki\Session\SessionId,
MediaWiki\Session\SessionInfo, CachedBagOStuff,
MediaWiki\Logger\LegacyLogger, integer)
#3 /usr/share/mediawiki/includes/session/SessionManager.php(301):
MediaWiki\Session\SessionManager->getSessionFromInfo(MediaWiki\Session\SessionInfo,
WebRequest)
#4 /usr/share/mediawiki/includes/session/SessionManager.php(235):
MediaWiki\Session\SessionManager->getEmptySessionInternal(WebRequest)
#5 /usr/share/mediawiki/includes/session/SessionManager.php(185):
MediaWiki\Session\SessionManager->getEmptySession(WebRequest)
#6 /usr/share/mediawiki/includes/WebRequest.php(700):
MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest)
#7 /usr/share/mediawiki/includes/session/SessionManager.php(121):
WebRequest->getSession()
#8 /usr/share/mediawiki/includes/Setup.php(747):
MediaWiki\Session\SessionManager::getGlobalSession()
#9 /usr/share/mediawiki/includes/WebStart.php(137): require_once(string)
#10 /usr/share/mediawiki/index.php(40): require(string)
#11 {main}


Doing a rough mitigation by commenting one of the 'else' function in
line 1813 of /usr/share/mediawiki/includes/user/User.php revert our
wikis to a normal state.

Is there a way to see which part of code has been modified in this
particular security fix, in order to understand if there is a bug or
it's just a local misconfiguration ?

Regards

-- 
Jean Louis Mas




smime.p7s
Description: Signature cryptographique S/MIME


Re: ssh session times out annoyingly fast, why?

2020-09-22 Thread Toni Mas Soler
First, you should be sure it is not a network issue.
You could open a terminal and run, for example, top program. This
avoid any timeout configured. If this does not work, you should follow
for a network issue, otherwise we can see sshd's config file.

Toni Mas

Missatge de Britton Kerin  del dia dt., 22 de
set. 2020 a les 1:38:
>
> I'm using ssh from a debian box to a rasberry pi (sorta debian also :).
>
> For some reason ssh sessions seem to time out pretty quickly.  I've
> tried setting ClientAliveInterval and ClientAliveCountMax and also
> ServerAliveInterval  and ServerAliveCountMax, but it doesn't seem to
> make any difference.  Is there some other setting somewhere that
> affects this?
>
> Thanks,
> Britton
>



Re: Question on 'dpkg --get-selections'

2020-09-12 Thread Toni Mas Soler
I do this job using aptitude instead apt:
/usr/bin/aptitude search '~i !~M' -F '%p' --disable-columns

Toni Mas

Missatge de Sven Joachim  del dia ds., 12 de set.
2020 a les 9:29:
>
> On 2020-09-11 22:03 -0700, Marc Shapiro wrote:
>
> > Is there any option to have 'dpkg --get-selections' NOT include
> > automatically installed packages?
>
> No, dpkg has no notion of automatically installed packages, that is an
> apt concept.
>
> > Otherwise, all packages show as manually installed, including those
> > that would otherwise have been automatically installed.
>
> You can obtain a list of automatically installed packages with
> apt-mark(1):
>
> $ apt-mark showauto > automatically-installed-packages
>
> Then, on the replicated system where you presumably had used
> "dpkg --set-selections" to install the same set of packages:
>
> # apt-mark auto $(cat automatically-installed-packages)
>
> HTH,
> Sven
>



Re: add 2FA to ssh

2020-08-13 Thread Toni Mas Soler
I think 2FA first is better. Thus you don't have to type your password
if you have a wrong 2FA.

Toni Mas

Missatge de Pòl Hallen  del dia dj., 13 d’ag.
2020 a les 13:38:
>
> Hi folks :)
>
>
> what it better with 2FA: at ssh login request first 2FA authentication
> next ssh password or viceversa?
>
> thanks!
>
> Pol
>



Re: copy/paste in vim (in terminal)

2020-08-11 Thread Toni Mas Soler
Open your file using vi -C <>
That works fine for me.

Then you can alias vi as vi -C using "alias vi='vi -C'"

Toni Mas

Missatge de Greg Wooledge  del dia dt., 11 d’ag.
2020 a les 13:57:
>
> On Tue, Aug 11, 2020 at 09:05:06AM +0200, Miguel A. Vallejo wrote:
> > Richard Hector () wrote
> >
> > I used to be able to use my mouse to select/paste 'normally' (for X),
> > > when using vim in a terminal. More recently (a few years?), it doesn't
> > > seem to work.
> >
> > Yes, since a few years(?) you must use shift and the mouse for copy / paste
> > in vim using Debian's default configuration.
>
> This changed in stretch, and I've documented it on the wiki, although I
> was a bit late in doing so.
>
> https://wiki.debian.org/NewInStretch#Changes
>



Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread MAS Jean-Louis
Le 01/08/2020 à 04:03, riveravaldez a écrit :
> Is this possible?

> If there's any other simpler way (that doesn't imply the use of any
> third party) please let me know, I could use anything that works.

IPv4 address are becoming rare, and expensive for ISP.
IPv6 is free, and plenty

just ask for a public IPv6 address, if you don't already have one, and
then just

ssh -6 your_computer_ipv6_address

Regards

-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread MAS Jean-Louis
Le 29/06/2020 à 17:31, Reco a écrit :

> I see nothing wrong with Dell servers per se. If one really needs
> something relatively cheap and durable - there's nothing wrong with
> Dell (or Supermicro, but that's politics again). But, it's Tier 2, not
> 1. So - my quote at the top.

We have about  100 servers now, mostly Dell, and we are working with
Dell for about 17 years, without any troubles. We owned several hundred
Dell's servers during those years, mostly running on Debian.

Everything work fine with Debian out of the box, sometime you need
firmware for Broadcom network cards, no more that that.

We also had some HPE Proliant DL380, that's pure crap (a lot a disk died
in the same month, bios update are non free, watermarked hard disks).
For now, they are all out of order, and it's far too expensive to repair
them.

Regards

-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Re: Buster without systemd?

2020-03-23 Thread Toni Mas
I did. I just did not use "full-upgrade" option. I upgraded package by
package resolving all dependencies and I had to install elogind but it
is not needed to start X system. It was just for dependencies.

Please, could you explain the race of conditions risk race?

Thanks.

Toni Mas

Missatge de Renato Gallo  del dia dl., 23 de
març 2020 a les 9:06:
>
>
> linux without systemd = race condition risks = why in hell anyone would want 
> to do it ?
>
> - Messaggio originale -
> Da: "Felix Miata" 
> A: "debian-user" 
> Inviato: Lunedì, 23 marzo 2020 8:08:28
> Oggetto: Re: Buster without systemd?
>
> Marc Shapiro composed on 2020-03-22 18:21 (UTC-0700):
>
> > after 21 to 22 years of using
> > Debian (since Bo), do I have to switch to another linux distro?
>
> AFAIK, no one has ever died as a consequence of using an OS with systemd. So, 
> no,
> you don't "have to" switch to another distro. You can do as most have done, 
> fondly
> or not so fondly remember sysvinit, and accept the change, whether for better 
> or
> worse.
>
> OTOH, would switching to Devuan really be "switching" to another distro? 
> That's
> like "switching" to any of the zillion distros based on Debian that include 
> Debian
> repos in sources.list. They're mostly Debian but with different defaults,
> different far more the interface than the guts that make Debian debian.
> --
> Evolution as taught in public schools is religion, not science.
>
>  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
>
> Felix Miata  ***  http://fm.no-ip.com/
>



Re: Can't find a way to preseed keyboard layout for all d-i questions

2020-01-29 Thread MAS Jean-Louis
Le 29/01/2020 à 14:50, Yvan Masson a écrit :

> However, before loading preseed.cfg, installer asks for computer name: I
> would like this question to be asked in French and more importantly to
> have the keyboard layout configured in French.
> 
> I have tried many boot parameters (layout=fr, layout=fr(latin9),
> language=fr, language=fr_FR.UTF-8…) but could not find anything working.
> 
> After answering this question, preseed.cfg is loaded so language and
> keyboard layout are properly applied.

It's a well known bug unfortunately

I have asked the same question some time ago on the French debian-user
list, and frederic boiteux gave me some interesting clues.

You may search for this thread :

"Configurer un clavier français via preseed"

A similar bug was reported with an Hungarian keyboard, without any fixes
so far.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931368

Regards

-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Re: hdd partition alignment parted vs fdisk, partition 1 does not start on physical sector boundary, parted bug?

2019-12-06 Thread Toni Mas
I could be an offset defined.
Could you post following files?

/sys/block/sdd/queue/optimal_io_size
/sys/block/sdd/queue/minimum_io_size
/sys/block/sdd/alignment_offset
/sys/block/sdd/queue/physical_block_size
/sys/block/sdd/queue/logical_block_size






Toni Mas

Missatge de Sergey Spiridonov  del dia dc., 4 de des.
2019 a les 13:30:
>
> Hi all
>
> I am trying to partition 14TB HDD and get the following problem with an
> alignment:
>
> # hdparam -I /dev/sdd tells that
>
> Logical  Sector size:   512 bytes
> Physical Sector size:  4096 bytes
>
>
> # parted -a opt /dev/sdd
>
> (parted) mkpart primary 0% 100%
> ...
>
> (parted) print
>
> Number  Start   End SizeFile system  Name Flags
>  1  33,6MB  14,0TB  14,0TB   primary
>
> Now checking alignment:
>
> (parted) align-check opt
> 1 1 aligned
>
>
> So far, so good. Now let's look at the same disk with fdisk:
>
> # fdisk /dev/sdd
>
> : p
>
> Disk /dev/sdd: 12,8 TiB, 14000519643136 bytes, 27344764928 sectors
> Disk model: IB-366StU3+B
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
> Disklabel type: gpt
> Disk identifier: 82DD924B-BF0E-40FF-9037-1FD4E7307D26
>
> Device Start End Sectors  Size Type
> /dev/sdd1  65535 27344740889 27344675355 12,8T Linux filesystem
>
> Partition 1 does not start on physical sector boundary.
>
>
> What? Why?
>
>
> man parted tells that
>
>optimal
>   Use optimum alignment as given by the disk
>   topology  in‐ formation.  This  aligns  to  a
>   multiple of the physical block size in a way that
>   guarantees optimal performance
>
>
> 1. Probably parted detected physical sector size as 512
> instead of 4096? Why?
>
> 2. Even if parted thinks that physical sector is 512 instead of
> 4096, why start from 65535 and not from 65536? What is the logic
> behind? How using odd multiplier can improve performance?
>
> Is it a bug in parted or I am missing something?
> --
> Best regards, Sergey Spiridonov
>
>
>



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread MAS Jean-Louis
Le 06/09/2019 à 15:53, Tapas Mishra a écrit :

> I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> The place where I am stuck is following messages.

Alternative answer

apt install open-vm-tools

Regards

-- 
Jean Louis Mas




smime.p7s
Description: Signature cryptographique S/MIME


Re: apt pinning: find out from which system version is a package

2019-04-29 Thread Toni Mas
apt-show-versions script are useful as well.
apt-show-versions is a package itself.


Toni Mas

Missatge de Francisco M Neto  del dia dl., 29
d’abr. 2019 a les 23:10:
>
> Greetings!
>
>
> On Mon, 2019-04-29 at 05:30 +0200, Emanuel Berg wrote:
> > But is there a way to find out/confirm from
> > which release is a certain pack?
>
> You're looking for apt-cache policy.
>
> Example:
>
> ==
>
> $ apt-cache policy gnome-core
> gnome-core:
>   Installed: 1:3.30+1
>   Candidate: 1:3.30+1
>   Version table:
>  *** 1:3.30+1 900
> 900 http://sft.if.usp.br/debian buster/main amd64 Packages
> 800 http://sft.if.usp.br/debian sid/main amd64 Packages
> 100 /var/lib/dpkg/status
>  1:3.22+3 400
> 400 http://sft.if.usp.br/debian stretch/main amd64 Packages
>
> ==
>
>
> --
> []'s,
>
> Francisco M Neto 
>
> GPG: 4096R/D692FBF0



Re: USB hard drives -- recommendations?

2019-02-03 Thread Toni Mas i Soler
I bought "Seagate Expansion STEA3000400" to plug in to a Raspberry PI 3. It
don't need extra power suply. I use to backup my data.

Toni Mas


Missatge de local10  del dia dg., 3 de febr. 2019 a
les 1:20:

> On 1/25/19 9:24 AM, James H. H. Lampert wrote:
>
> >> Fellow List members:
> >>
> >> Would anybody care to voice an opinion on USB external hard drives in
> the 2 terabyte size range, for automated backup purposes?
> >>
>
>
> You may want to consider buying an USB HDD enclosure/cradle, like this
> one[1] for example, they are cheap and would allow you to use a regular
> internal HDD as a USB drive. I use similar scheme for my own backups, it
> works reasonably well.
>
> Regards,
>
>
> [1] - https://www.ebay.com/itm/253631205544 <
> https://www.ebay.com/itm/253631205544>
>
>


Re: gnats user

2018-03-08 Thread Toni Mas i Soler
I removed it yesterday, too.

No problems at the moment.

Toni Mas

2018-03-07 20:13 GMT+01:00 :

> On Wednesday, March 07, 2018 01:16:06 AM Reco wrote:
> > Along with other uid<100 users, 'gnats' is there for a long time,
> > nobody's sure what will break if it's removed from passwd(5),
>
> Wow!  (I am not the OP, but that is disappointing (but not surprising, I
> suspect the same or similar about other things buried in Linux one place or
> another) and scary.
>
> > and it's
> > not that someone will use uid=41 for anything else.
>
>


Re: Q: RAID1 and chunk size

2018-03-08 Thread Toni Mas i Soler
I think it has no mean in RAID1 mode. It is used in RAID0,4,5,6,10 modes.

You can see in man mdadm.



Toni Mas

2018-03-07 23:06 GMT+01:00 Darac Marjal :

>
>
> On 07/03/18 21:13, Steve Keller wrote:
> > I have a RAID1 array with 2 disks (/dev/sda1 and /dev/sdb1) of 2 TB
> > each.  By running mdadm -X /dev/sda1 I see that the chunk size is 64 MB:
> >
> > # mdadm -X /dev/sda1
> > Filename : /dev/sda1
> > Magic : 6d746962
> > Version : 4
> > UUID : 300551ed:f6690dfb:1c939898:af5509c6
> > Events : 257
> > Events Cleared : 257
> > State : OK
> > Chunksize : 64 MB
> > Daemon : 5s flush period
> > Write Mode : Normal
> > Sync Size : 1953381376 (1862.89 GiB 2000.26 GB)
> > Bitmap : 29807 bits (chunks), 2 dirty (0.0%)
> >
> > What exactly does the chunk sized mean?  My question is how reads and
> > writes on an array are done.  Will the kernel always read or write a
> > complete chunk?  If so, does that mean that writing a single 4 KB
> > block to a file system will cause a 64 MB read, i.e one chunk, change
> > the 4 KB block in that chunk and write back the 64 MB chunk?
>
> Yes, my understanding is that chunk size is the size of area upon which
> parity is calculated, or the size of data which is allocated before
> moving onto the next drive etc.
>
> My guess, though, is that there is a balance to be struck. Yes, if the
> chunk size is small, then there is very little write amplification. But
> if the chunk size is too small, then you need to wait for that chunk to
> pass the read-write head again, you need to be switching between sectors
> very often etc. With a bigger chunk, you can take better advantage of
> caching. These days, 64Mb is a relatively small amount to pull into a
> buffer, it can be pulled in, modified and rewritten virtually
> instantanously.
>
> There's a nice article on the effect of different chunk sizes here:
> http://louwrentius.com/linux-raid-level-and-chunk-size-the-benchmarks.html
>
> >
> > Wouldn't that mean a massive performance problem?
> >
> > Steve
> >
>
>
>


Re: Why was this package removed but apt?

2018-01-10 Thread MAS Jean-Louis
Le 10/01/2018 à 12:30, Jonathan Sélea a écrit :
> It was installed because CraftCMS depends on it :)
> 
> According to term.log - unattended-upgrade performed the update
> 2018-01-06 06:41 and every package was updated (including php7.1-mbstring)
> 
> Just two minutes after that, unattended-upgrade runs again and removes
> php7.1-mbstring and only that package.
> I can't find any activity on the server on that time (no users logged in
> and such).
> 
> So something triggered unattended-upgrade to do this,

Maybe this line is set to "true" in your
/etc/apt/apt.conf.d/50unattended-upgrades

Mine look like this :
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "false";


Regards

-- 
Jean Louis Mas
Also struggling with unattended-upgrades ;-)



Pinjaman dana

2016-12-08 Thread Mas Yanto
Saya mau pinjam dana 30jt tenor 36bln saya karyawan tetap


bug with pam-auth-update ?

2016-04-08 Thread Jean-Louis Mas
No luck with the french debian list, so I try here

We have some servers running Debian Jessie 8.4 amd64
We update them via a cron script and as you see it, pam-auth-update
freeze our cron update


'ps -efH' extract

root  22723  21862  3 avril03 ?  01:08:58   apt-get
-y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
dist-upgrade
root  38647  22723  0 avril03 pts/2  00:00:00
/usr/bin/dpkg --force-confdef --force-confold --status-fd 32 --configure
libc-dev-bin:amd64 linux-libc-dev:amd64 libc6-dev:amd64
initramfs-tools:all linux-image-3.16.0-4-amd64:amd64
libpam-systemd:amd64 libpcrecpp0:amd64 libpcre3-dev:amd64
libapt-inst1.5:amd64 libcairo2:amd64 libglib2.0-0:amd64
libcairo-gobject2:amd64 libcairo-script-interpreter2:amd64
libglib2.0-bin:amd64 libglib2.0-dev:amd64 libcairo2-dev:amd64
libgif4:amd64 librsvg2-2:amd64 librsvg2-common:amd64
libgtk2.0-common:all libgtk2.0-0:amd64 gir1.2-gtk-2.0:amd64
libgtk2.0-dev:amd64 libgtk2.0-bin:amd64 libgudev-1.0-0:amd64
libnettle4:amd64 libhogweed2:amd64 libsndfile1:amd64 libsvn1:amd64
subversion:amd64 nslcd:amd64 libnss-ldapd:amd64 libpam-ldapd:amd64
apt-utils:amd64 locales:all libruby:all libsane-common:all
linux-compiler-gcc-4.8-x86:amd64 linux-headers-3.16.0-4-common:amd64
linux-headers-3.16.0-4-amd64:amd64 linux-source-3.16:all ruby:all
nslcd-utils:all
root  42111  38647  0 avril03 pts/2  00:00:00
/bin/sh /var/lib/dpkg/info/libpam-systemd:amd64.postinst configure
215-17+deb8u3
root  42112  42111  0 avril03 pts/2  00:00:00
/usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/pam-auth-update
--package
root  42122  42112  0 avril03 pts/2  00:00:00
/usr/bin/perl -w /usr/sbin/pam-auth-update --package


What happen here, as the copy/paste above is a bit messy, is a perl
script calling :

/usr/sbin/pam-auth-update --package

freezing our update if we don't manually answer.

But man pam-auth-update says :

"Selection of profiles is done using the standard debconf interface.
The profile selection question will be asked at `medium' priority when
packages are added or removed, so no user interaction is required by
default.  Users may invoke pam-auth-update  directly  to  change their
authentication configuration.

OPTIONS
   --package
  Indicate that the caller is a package maintainer script;
lowers the priority of debconf questions to `medium' so that the user is
not prompted by default."


It don't seems to work the intended way. We use custom etc/pam.d/*
files, with a different umask in mkhomedir, pam_access and pam_ldap,
nothing to special here.

Is this a pam-auth-update, debconf or systemd bug ?
Is our apt-get script with Dpkg options wrong ?

If you have already faced this  kind of problems, I would be happy to
heard about it.
In case this would not be the normal operation of pam-auth-update,
I would open a bug on the subject.

thanks
-- 
Jean Louis Mas



Re: unattended aptitude

2016-04-04 Thread Jean-Louis Mas
Le 04/04/2016 15:13, Pierre Frenkiel a écrit :

>   I think that with this option (or with --force-confnew),
>   one must look carefully at the differences between the .dpkg-dist
>   config files and the keeped ones.

We do look from time to time to .dpkg-dist files, in order to update our
puppet managed config files. We mostly have Debian stable servers, so
config files seldom change.

>   This may help you to find the culprit.

Got it, but it's still pending
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814881


Regards
-- 
Jean Louis Mas



Re: unattended aptitude

2016-04-04 Thread Jean-Louis Mas
Le 04/04/2016 12:09, Pierre Frenkiel a écrit :

>  aptitude -y -o Dpkg::Options::=--force-confdef -o
> Dpkg::Options::=--force-confold safe-upgrade
> 
>  this command is accepted.
>  I'll try it as soon as some upgrades are available.

We use this command with apt-get instead of aptitude for our debian
servers since February. It works fine so far.

We sometime have trouble, for example with nslcd security update this
morning were the restart service messed up.

We don't know if it's related to our command, the debian package,
systemd or something else. We're still trying to find the culprit.


-- 
Jean Louis Mas
Équipe MISI LIG Bâtiment IM²AG B Bureau 100 Tel: 04 76 51 46 14



Re: wordpress from packages - wp-content location not applied?

2016-03-23 Thread Jean-Louis Mas
Le 19/03/2016 14:31, Jiri 'Ghormoon' Novak a écrit :

> what may I be missing, if the configuration that came with wordpress
> package doesn't apply correctly?

> there is: /usr/share/wordpress/wp-config.php:   
> define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
> 
> but that doesn't have any effect unless I define it in
> /etc/wordpress/config-www.domain.tld.conf too.
> am I missing something essential or may it be a bug?

When using Wordpress package from repos in Debian (and Centos also), you
never edit /usr/share/wordpress/wp-config.php


/***
 * WordPress's Debianised default master config file
 * Please do NOT edit and learn how the configuration works in
 * /usr/share/doc/wordpress/README.Debian
 ***/

That's the way linux packaging do. Configs files are in /etc, logs in
/var/log and so on. So it's perfectly normal

You should instead edit /etc/wordpress/config-www.domain.tld.conf

/etc/wordpress/config-www.domain.tld.conf is the same as the usual
wp-config.php

If you have multiples Wordpress virtualhosts on your server, you can use
different Wordpress config files

Regards

-- 
Jean Louis Mas



Terminal with support for Indic characters

2013-11-27 Thread mas
I am using mutt as my mail reader and am quite happy with it. I generally
use terminator as my terminal of choice. What I find lacking is that none
the terminals display the indic characters.

Searching I found that mlterm has good support for Asian languages and
installed it. Unfortunately the debian version is compiled without indic
support. I could not find the reason for it.

In view of this, can anyone suggest a good terminal which is capable of
displaying indic characters properly?

I am using debian testing with some packages from sid via apt pinning.

--
Sridhar



--
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/1eb2084117af032f1fd24548891b7843.squir...@webmail.mylug.org



Re: Virtualbox 4.1

2012-10-01 Thread mas

>
> Have you installed the VirtualBox Extension Pack?
>
> I have installed virtualbox 4.1 recently, the vboxusers group was
> already there after installation.
>
That did the trick. I had forgotten to install that after having
downloaded it :-(

Thanks for the help.

Regards,

Sridhar


--
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/15a3a02c4507e2e34819e594abaa3223.squir...@webmail.mylug.org



Virtualbox 4.1

2012-09-30 Thread mas
I am using Virtualbox 4.1 (non-free edition). Everything works, but for a
minor issue. To access usb drives, I am supposed to add the user to
vboxusers group. But, that group is non-existent.

I can create that group. But, to access the usb drives, should I change
the ownership of devices like /dev/usb* ? If so, I would appreciate any
pointers in this regard.

Regards,

Sridhar


--
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/b84a5859665e43fa01bcf18468a73e18.squir...@webmail.mylug.org



Lost Alt+Backspace

2011-11-30 Thread mas
After recent upgrades (I am not certain when), I have lost the ability to
delete words by using Alt+BkSp in either gnome-terminal or terminator. How
to get that behaviour back?

Regards,

--
Sridhar


--
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/0b2d17bfa95866a1b2e17294fe7cb125.squir...@webmail.mylug.org



Fonts looking bad on qt apps

2009-10-12 Thread mas
Hello,

Presently am running 64 bit debian testing on my machine. I am also
running 32 bit version on a different machine. So far, everything is
working fine.

But, I noticed that the fonts in qt apps like unetbootin, virtualbox, vlc
look crappy on the 64 bit system whereas they appear fine on the 32 bit
system. FWIW, I use either xfce4 or openbox as my window manger/desktop.

I checked that dpkg -l | grep qt on both the machines are identical.

Any one else has noticed this problem and found a fix for that? I would
appreciate any pointers to fix this problem.

Regards,

sridhar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



ATI driver and kernel 2.6.19

2007-02-12 Thread mas
I have a laptop with Ati Xpress 200 graphics (onboard) card. I am
trying to install the latest (8.33-6) driver from ati. Presently, I am
running debian testing with a self compiled kernel (2.6.19).

Everything goes well, debs are created and install without any problems.
But, when I try to modprobe fglrx, I get the following error:

Feb 13 06:54:40 kernel: [fglrx] Maximum main memory to use for locked dma
buffers: 617 MBytes.
Feb 13 06:54:40 kernel: [fglrx:firegl_init_module] *ERROR*
firegl_stub_register failed
FATAL: Error inserting fglrx (/lib/modules/2.6.19-mas/misc/fglrx.ko):
Operation not permitted

Searching various fora indicates that many have the same problem; but no
clear solutions :-(

If anybody has solved this problem, can they give me some pointers?

Regards,

mas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Question to the Debian GNOME maintainers about udev

2006-04-05 Thread mas
> Derek Piper wrote:
>
> You just explained my problems with 2.6.16.1. Since the mirrors in my
> sources.list didn't have 2.6.16, I went to kernel.org and got the
> source, compiled it and installed it.
>
> Since then, I've had a couple of hard lockups, a kernel panic, and a
> register dump (completed by another lockup) and other weird behaviors. I
> never liked udev, and I like it even less now.
>
> I did not connect udev up with the instability, but because udev was
> causing some problems with ALSA, a few hours ago I planned on removing
> udev from my system, but, as you did, I found that Gnome is dependent
> upon it, and I want to keep Gnome.
>
I have been running debian sarge with udev from backports. Everything is
working well.

An observation: backports has udev 0.8x. The latest version conflicts with
gnome. udev 0.79 does not. I have installed it and put it on hold, so that
during upgrades, I do not lose it :-)

Another thing that I noticed is that Ubuntu dapper which ships with gnome
2.14 still has udev 0.79.

Regards,

sridhar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Woody on Sparc

2003-11-27 Thread mas
On Tue, Nov 25, 2003 at 11:01:02AM -0500, Bojan Baros wrote:
  > 
  > Can you attach the XFree86.log file (/var/log), or just grep it for EE and
  > WW at it and paste it here?
  > 
Sorry for the delay in mailing the log file as the lists were down.

I am attaching the same along with this mail.

Regards,

-- 
Sridhar M.A.

warning: process set to nice value 0 instead of -10 as requested

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.18 sparc [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Nov 27 20:02:09 2003
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Generic Video Card"
(**) |-->Input Device "Generic Keyboard"
(**) XKB: rules: "sun"
(**) XKB: model: "type5"
(**) XKB: layout: "us"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(**) FontPath set to 
"unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
(EE) No OS PCI support available
(--) SBUS:(0xffd6eaa0) Sun SX with 4M VSIMM at /obio/[EMAIL PROTECTED],0
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.1.9
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Module pex5: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.13.0
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/drivers/suncg3_drv.o
(I

X11 server connection

2003-03-22 Thread Ignacio Mas Ivars
Hi all:

I have just upgraded mu X-server to the unstable branch and switched to
using the gnome packages of unstable, and now i am not able to give the
root user permission to access the X server belonging to normal user.
Before I had a link from '/root/.Xauthority' to my_user/.Xauthority and
I was able to run X clients as root displaying in my X server of the
normal user... Now, with all the upgrade, I am not able to do it
anymore... I have even tried using:

#export DISPLAY=localhost:0.0
$xhost +localhost

without success... I see that the client tries to access the x server
since ippl reports 'x11 connection attemp', but I am absolutely unable
to get anything started as root to display in my screen... I have
enabled tcp connections to the X server... and nothing... I am starting
to be a bit lost... Anyone giving me a hint on how to run an X client as
root and display in my user X server?

Thanks in advance for the help! Please, Cc: to my mail address!

/Nacho


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



stupid problem with Apache

2003-03-19 Thread Ignacio Mas Ivars
Hi all:

I am having a weird problem with Apache that I know must be pretty
simple to solve, but i am getting crazy with it. I have installed
apache-ssl-1.3.27 with the php4 modules... and everything is working
fine. I have downloaded bookmarker and I am trying to install, it but
all the php files have the extension php3. In theory, there should be no
problem of compatibility, but the funny thing is that i am absolutely
unable to force apache to read them as php... instead it keeps on
offering me to save them as files... I have tried to change the
extension from php3 to php and then they work, but I do not want to
change all the files... and i would like to do things right... So where
in /etc/apache-ssl/httpd.conf do I have to touch to make the php3
extension recognized as php code?!?

Umm, i have another second question that has been bugging me for some
time now... My server is secure... so I have it in port 443... but it
turns out that part of my family is in Spain using ADSL to connect and
Telefónica (the operator there) has installed some funny web-caches that
make it absolutely impossible to connect to an https server... Is there
a simple way to configure Apache so that it listens to http and to https
queries and then enables the encryption only in the later case?

Thanks for the help! Please, Cc to my mail account...

/Nacho

-- 
   ,,,
  (o o)
--ooO--(_)---Ooo--- 
IBM: Immeasurable Bigheaded Malapert
--oo00oo---

 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Complied into debs please (Python/Emacs packagers take note)

2002-02-23 Thread Roland Mas
Adam Olsen (2002-02-23 15:11:41 +) :

> So on one side you have plain source, 
[...]
>  On the other side you could do it like C,
[...]

> And in the middle you have the current method, which only suffers from
> the minor issues of the .py[co] files not being known to dpkg, and
> taking slightly longer to install.  Compared to the alternatives, I
> think it beats them hands down.

And in the middlest of them all, maybe there could also be a debconf
question asking the user whether he wants the *.py files to be
byte-compiled at install time.  Global question, only asked once, or
package-specific and asked each time, that's an implementation detail.

Roland.
-- 
Roland Mas

Infinity contains more things than you think.  Everything, for a start.
  -- in Witches Abroad (Terry Pratchett)



Re: PyORBit vs. ORBit-Python

2001-01-28 Thread Roland Mas
Roland Mas (2001-01-28 16:25:48 +0100) :

>   Consequently, I'm looking for comments.  Are there PyOrbit users out
> there?  Are there any people depending on it being PyOrbit and not
> ORBit-Python?

[...]

>   If noone raises their hand, I'll probably upload a new python-orbit
> package in a few days.

Should you want to test it beforehand, the package (binary and source)
is available thusly:

deb http://people.debian.org/~lolando/debian binary-i386/
deb-src http://people.debian.org/~lolando/debian source/

>   Please answer on debian-python@lists.debian.org, as I think it's the
> appropriate list.

Roland.
-- 
Roland Mas

Qu'est-ce qui est jaune, qui pèse deux cents kilos et qui chante ?
Un canari.  Belle bête, pas vrai ?



PyORBit vs. ORBit-Python

2001-01-28 Thread Roland Mas
  Hello people,

  This message concerns Python users, and in particular users of the
python-orbit package.

  The python-orbit package currently contains the PyOrbit module, that
is a Python binding for ORBit, the CORBA ORB used e.g. by GNOME.
PyORBit development seems to be somewhat dead.

  On the other hand, there is ORBit-Python, another module with the
same goals.  This one is more advanced, and is still actively
developed upstream.  I do have an interest in ORBit-Python (I am part
of upstream and I use it for work).

  So, what I suggest is this: having successfully gone through the new
maintainer process, I'd like to take over the package, and replace its
contents (PyOrbit) by ORBit-Python.  PyOrbit is version 0.0.2,
ORBit-Python is 0.1.3 (+ CVS changes), so there should be no problem.

  Consequently, I'm looking for comments.  Are there PyOrbit users out
there?  Are there any people depending on it being PyOrbit and not
ORBit-Python?

  If noone raises their hand, I'll probably upload a new python-orbit
package in a few days.

  Please answer on debian-python@lists.debian.org, as I think it's the
appropriate list.

Roland.
-- 
Roland Mas

Luck, like a Russian car, generally only works if you push it.
  -- Regalian, in My Hero (Tom Holt)



Re: mounting zip disks and nfs

2000-01-21 Thread Roland Mas
Philip Lehman <[EMAIL PROTECTED]> writes:

> Is there an automount solution out there that would facilitate this?
> What I have in mind is automatic unmounting of the drive when there is
> no nfs connect and mounting it as soon someone requests it over
> nfs. Any recommendations?

Yeah, like, an auto-mount daemon?  Like, something like AMD?

# apt-get install amd
#

Roland.
-- 
Roland Mas

When I eat a biscuit, it stays eaten!
  -- Arthur Dent, in So Long, and Thanks for All the Fish (Douglas Adams)


Re: Emacs not aware of Japanese fonts?

2000-01-18 Thread Roland Mas
Samuel Fung <[EMAIL PROTECTED]> writes:

> On Mon, Jan 17, 2000 at 11:31:58AM +0100, Roland Mas wrote:
> 
> > I've been trying to type Japanese in Emacs, apparently in vain.
> > 
> >   Except that I can't see any Japanese character on my screen.  Nice
> > little boxes instead, all looking the same, none looking as a Japanese
> > character.  So I guess it's a font problem.
[...]
> 
> On Slink, I can view the Japanese characters in Emacs first by installing
> the package "intlfonts-japanese" and then start Emacs with the parameter
> "-fn fontset-standard". Then inside Emacs, M-x set-language-environment,
> Japanese. That way you should be able to see the Japanese
> characters.

The `-fn fontset-standard' is what I lacked.  Now it works perfectly.

Thanks alot!

Roland.
-- 
Roland Mas

La menace de la baffe pèse plus lourd que la baffe elle-même.
  -- in Sri Raoul le petit yogi (Gaudelette)


Emacs not aware of Japanese fonts?

2000-01-17 Thread Roland Mas
Hi there,

I've been trying to type Japanese in Emacs, apparently in vain.

  The toggle-input-method command works, since I find myself in the
situation where I can start typing phonetically.  I find the same
behaviour as I had way back when I had compiled and installed Emacs on
my Red Hat machine: I can choose the kanji I wish to see instead of
the phonetic transcription I have typed.

  Except that I can't see any Japanese character on my screen.  Nice
little boxes instead, all looking the same, none looking as a Japanese
character.  So I guess it's a font problem.  I have installed
virtually all the font packages I found, apparently without any
effect.  Could this be something I missed with Emacs configuration?
The /usr/share/emacs/20.5/etc/PROBLEMS file says :

(Snip)
* Under X11, some characters appear as hollow boxes.

Each X11 font covers just a fraction of the characters that Emacs
supports.  To display the whole range of Emacs characters requires
many different fonts, collected into a fontset.

If some of the fonts called for in your fontset do not exist on your X
server, then the characters that have no font appear as hollow boxes.
You can remedy the problem by installing additional fonts.

The intlfonts distribution includes a full spectrum of fonts that can
display all the characters Emacs supports.
(Snip)

  Unfortunately, the intlfonts package is removed and no longer
available (dixit dselect).

  Any idea?
-- 
Roland Mas

It would be hard to be deader without special training.
  -- in Theatre of Cruelty (Terry Pratchett)


Re: pointer trails in X?

2000-01-03 Thread Roland Mas
Brian Servis <[EMAIL PROTECTED]> writes:

> Is it possible via some configuration to get the mouse to have a trail
> in X?  It makes it nice to spot the cursor after your eyes have lost
> focus of it.

xeyes is good for you.  I used to have a crontab line reading

0 3 * * * xeyes [arguments I forgot]

For the long coding nights.
-- 
Les francophones m'appellent Roland Mas,
English speakers call me Rowlannd' Mass,
Nihongode hanasu hitoha [Lolando Masu] to iimasu.
Choisissez ! Take your pick ! Erande kudasai !


Re: Territorial Legal Issues and FTP Archives (was Re: Quake

1999-12-28 Thread Roland Mas
[EMAIL PROTECTED] (Onno) writes:

> At 09:09 PM 12/25/99 -0800, Joseph Carter wrote:
> >On Sat, Dec 25, 1999 at 11:14:28PM +0100, Wichert Akkerman wrote:
> >> > I think the right solution is selecting a country with good connectivity
> >> > and less stupid laws. What about canada?
> >> 
> >> pandora is already in a perfect location...
> >
> >Thought we can't upload mp3 encoders to pandora?  Or is that just because
> >some mirrors couldn't handle it?
> 
> Why not? Here in the Netherlands mp3's and mp3 encoders are not
> illigal.

I think it's more a problem with patents and copyright and stuff like
that.  Virtually all MP3 encoders have a bit of code from the
reference encoder (written by the people Fraunhofer Institute), and
the license is quite restrictive as I'm told.

> BTW I can't think of any software that would be illigal here.

Any kind of software violating a copyright...

Roland.
-- 
Roland Mas

S'agirait pas d'atteindre la sublime transcendance du supramental sans
se bouger le fion un minimum... -- in Sri Raoul le petit yogi (Gaudelette)


Re: howto run a process which respawn after death.

1999-11-18 Thread Roland Mas
Felipe Alvarez Harnecker <[EMAIL PROTECTED]> writes:

> Is there a tool for start a proccess and after it dies the process
> respawn ? Just like init does but from the command line.

$ while true ; do process ; done

or

$ (while true ; do process ; done) &

should do the trick.


Re: Linux names (Re: Strange file names)

1999-11-16 Thread Roland Mas
aphro <[EMAIL PROTECTED]> writes:

> I just built 2 machines to test a VPN and i named em kirk & spock :/

If you come to series...

Casimir (first one, 486 - broken at the moment)
Clodomir (P200)
Minimir (Vaio laptop)
Faramir & Boromir (Not mine actually - at work last year)
Cachemir (At work now)

Most of these names will of course speak only to French people (except
maybe Faramir & Boromir).  Casimir was a TV series in the early
1980's, Clodomir was one of Clovis's sons (Clovis was maybe the first
king of France, centuries ago).  Minimir is a washing powder (sold in
small quantities, unlike the Mir Express type).  Cachemir -- well.

Next one?
Stationmir (if I ever buy an Alpha workstation).